Check the registry on networked PC with qna relevance?

(imported topic written by RP12)

Is there a way to check the registry on an individual network computer using relevance via qna?

I can check a file version on a network computer (e.g.)

Q: version of file “\NetworkComputer\C$\Program Files\BigFix Enterprise\BES Client\BESClient.exe”

A: 6.0.12.5

But I want to be able to check a simple reg key on a networked computer, somthing like:

exist value of key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess” of registry

I’ve tried different things, but haven’t been able to see the registry of specific PC’s on the network.

I would like to use relevance, it’s much quicker than using regedit to a networked systems.

I’ve looked in this forum, but haven’t able to successfully piece together something and make it work.

Any ideas?

Thanks,

Rick

(imported comment written by brolly3391)

Welcome Rick,

Relevance language is designed to query the local machine’s resources in order to increase the safety of the language. The fact that you can use the relevance debugger or QNA to check a file located on a remote workstation using a URL is a side effect and not by design. If you try that in a fixlet, task, analysis or retrieved property it will fail because the BES Client runs in the system context and usually does not have access to network resources.

My suggestion for what you are attempting to do with the relevance debugger is to copy the QNA folder to a network accessible location, use remote desktop to open a session on the machine you want to check then run QNA in that session to test it locally.

The other method would be to use regedit to connect to the remote machine, export the registry keys then apply the exported .reg file to a test machine that you can run QNA on. I prefer the remote desktop/terminal server method myself.

As a side note, have you ever tried to get regedit to open and automatically connect to a remote computer using a script, command line parameters or other automation? I looked for a method a few months back but never did find a way.

Cheers,

Brolly