I am trying to write a fixlet that queries the registry and to check if a user is:
a. using Outlook
b. is using POP3 on Outlook
The registry settings for Outlook are located under: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook
Even if I am able to query the registry and look underneath the above hive for “POP3 User” that should validate that the user is using POP.
You can’t query the CurrentUser hive in the Registry from TEM. You have to query HKEY_USERS instead.
I had a similar problem looking for users with DropBox installed.
Here is the code I used to show me the user with DropBox. You should be able to tweak it to find your POP setting. I don’t know what it should look for.
if (exists values "InstallLocation" of keys "Software\Microsoft\Windows\CurrentVersion\Uninstall\Dropbox" of keys of key "HKEY_USERS" of registry) then (values "InstallLocation" of keys "Software\Microsoft\Windows\CurrentVersion\Uninstall\Dropbox" of keys of key "HKEY_USERS" of registry as String) else "N/I"
This code returns the installation path of the DropBox software, and can be modified to find your POP users.