How create a report for Registry values

How create a report for Registry values

Hi,
We need to check and and create for for some certain registry values on Desktop Central installed computers.
I think custom query is used for this purpose but I don not know how.

Can some please share a sample query?

Registry:
HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate
Values to be reported: 
AccountDomainID
SusClientID
PingID

Any help would be appreciated.
Thanks in advance.
OktayM

                New to ADSelfService Plus?