Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Via CMD I would like to find out remotely the registry entries for a folder in the registry.

For example.

If I could send a request to a computer to tell me what the keys, d-words, values, etc are in a registry folder...

HKSoftware -> blah blah -> blah blah -> PRIVATE APPLICATION -> SUB FOLDER IN PRIVATE APPLICATION -> Registry Keys in that folder

I hope this question makes sense. Much like another question I asked this is for about 150 machines and was hoping to be able to gather this info quickly.

(These are Windows Boxes)

Thank you.

share|improve this question
I know I can remote access the registry and drill down each time to each computer. I am more looking for a cmd script, etc that can return the info. Thanks. – Patrick Dec 15 '11 at 16:07
up vote 1 down vote accepted

reg query "\\servername\hklm\SOFTWARE\privateapp" /s

just a start

share|improve this answer
Works like a charm! Thank you! Only thing I noticed is you need two \\ before the server name: reg query "\\servername\hklm\SOFTWARE\privateapp" /s – Patrick Dec 16 '11 at 15:16
yea forgot that I need to escape the backslash – tony roth Dec 16 '11 at 16:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.