Reporting on the value of a registry key?

(imported topic written by cmorreale91)

how can i create a report to tell me which machines have which value

HKLM\SOFTWARE\Pointsec Mobile Tech\Pointsec for PC\EncryptionState\1

HKLM\SOFTWARE\Pointsec Mobile Tech\Pointsec for PC\EncryptionState\0

thanks in advance

(imported comment written by SystemAdmin)

Hey Cmorreale,

First you must make a property to return those values from the client. If you don’t have one already, you can use something like this:

if name of operating system contains 
"Win" then 

if exists key 
"HKLM\SOFTWARE\Pointsec Mobile Tech\Pointsec for PC\EncryptionState\1" of registry AND exists key 
"HKLM\SOFTWARE\Pointsec Mobile Tech\Pointsec for PC\EncryptionState\0" of registry then 
"Both Keys" 

else 

if exists key 
"HKLM\SOFTWARE\Pointsec Mobile Tech\Pointsec for PC\EncryptionState\1" of registry then 
"Key 1" 

else 

if exists key 
"HKLM\SOFTWARE\Pointsec Mobile Tech\Pointsec for PC\EncryptionState\0" of registry then 
"Key 0" 

else 
"Neither Keys" 

else 
"Non-Windows Machine"

Then, in web reports, go to the “custom” tab and select the “Single Retrieved Property Status” option. Select the property you made for this, and web reports will make a custom report for you.

-Zak