If you have an Exchange environment, this is a must-have. A lot of troubleshooting steps begin with disabling Outlook Cache Mode. There are also some Outlook addons that play well with Cache Mode. This script can be used with Inventory Solution to report Cache Mode status for all profiles on a computer.
Just drop this in your Inventory Solution, and call it from the command line in your Inventory Solution Package. It will create the .nsi file on its own, and it's designed to run under the SYSTEM account so you won't have any issues with lack of writing files to the hard drive (as it needs to create the .nsi on the express\inventory directory). The script parses the directory, gives the Outlook profile, and an "on" for cache mode on, and "off" for cache mode off. Easy? You bet. Try it out!
This subject just came up today. However with Outlook 2010 and Windows 7 things have changed. The data in HKEY_Users \Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles \13dbb0c8aa05101a0bb000aa002fc45a no longer contains the info. In fact from what I can tell the key under Profiles is different for every computer.
Has anyone figured out how to get a custom inventory for cached exchange mode for Outlook 2010 on Windows 7.
Thanks in advance for any input.
You will need to change the extension to be .vbs, as the file is actually a VB script. Then save the file in the same folder as your Inventory package on the Notification Server %ProgramFiles%\Altiris\Notification Server\NSCap\Bin\Win32\x86\Inventory Solution. Finally edit the ini file associated with your Inventory scan, AexInvSolnAdm2.ini or which ever one it is, to include the line CacheModeStatus.vbs before the line aexnsinvcollector.exe