Relevance to match data value in a registry key

(imported topic written by mlgoh91)

How to write relevance to match the data value in the following registry:

HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\AddIns\CheckPRG\Plugin

LoadBehaviour RegDWORD 0x00000002

Thanks

(imported comment written by NoahSalzman)

Run the “Windows Registry Wizard” in the Console and look at the Relevance it creates. You can use the “edit a value” choice (even though you aren’t actually going to edit anything).

Click on the Relevance tab of the Action that the wizard generates to see the syntax.

(imported comment written by mlgoh91)

The following relevance is not working. It will check the data value of current user. Please help

(exists value “LoadBehavior” whose (“2” != it as string as hexadecimal) of key “HKEY_USERS(name of key whose (value “Logon User Name” of key “Explorer” of key “CurrentVersion” of key “Windows” of key “Microsoft” of key “Software” of it as string as lowercase = name of current user as string as lowercase) of key “HKEY_USERS” of registry)\Software\Microsoft\Office\Outlook\AddIns\CheckPRG\Plugin” of native registry)

(imported comment written by BenKus)

You might try the method here:

http://forum.bigfix.com/viewtopic.php?id=1187

exists value “LoadBehavior” whose (“2” != it as string as hexadecimal) of key “Software\Microsoft\Office\Outlook\AddIns\CheckPRG\Plugin” of current user keys (logged on users) of registry

Ben