Outlook Cached Mode via Hardware Inventory

We're in the midst of a project to get all users into Outlook Cached mode.  We're using two methods to confirm this process, one is to look for a specific Group Policy being applied successfully (http://www.myitforum.com/articles/8/view.asp?id=11254) and checking the value of HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\UserNameHere\13dbb0c8aa05101a9bb000aa002fc45a\00036601, which, according to http://www.howto-outlook.com/howto/cachedmoderegkey.htm, contains information about cached or not cached.

Attached are 2 files, one is a vbscript you would run on a recurring basis, only when a user is logged in, with user rights, to read the contents of that registry key for the user and transfer the information to the HKLM part of the registry which SMS Hardware Inventory can pick up.  The other file is the mof edit you would add to sms_def.mof and/or mini.mof/configuration.mof (depending upon your version of SMS/ConfigMgr and whether or not you use a mini)

A couple of caveats to be aware of.  In the howto-outlook.com article, they mention that the enabled value is  84 01 00 00.  That is the HEX value of the registry key.  SMS reports on the Decimal value of the registry key, so in Resource Explorer you will see 132,1,0,0    If you happen to come across some great article explaining all of the possible values for this key, and what they mean, please remember to change hex to dec values (Run Calculator, view Scientific, if you've never done hex to dec conversions before).

Caveat #2:  Although in my environment the majority of computers reporting back show either 132,1,0,0 (Cached mode on) or 4,0,0,0 (not cached), there are a total of 19 different values reported back.  Read the howto-outlook.com article for the reasons why.

Other notes: the script pulls back 4 pieces of information:  The value of the registry key, the name of the default Outlook Profile from which that value was taken, the currently logged in username, and the time the script ran to gather that information.

PS: If you DO happen to know what all of the values of that key mean, please share!

Attachment: OutlookCached.zip
Published Tuesday, February 12, 2008 12:33 PM by skissinger

Comments

# re: Outlook Cached Mode via Hardware Inventory

Long ago someone asked for similar info at Wells.  I set software inventory to give me *.ost in Documents & settings so that I could see who was in cached mode this way.  I think it worked fine, but it was long ago and can't remember for sure.

Tuesday, February 26, 2008 3:32 PM by bmason505