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.

link|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
feedback

1 Answer

up vote 1 down vote accepted

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

just a start

link|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
feedback

Your Answer

 
or
required, but never shown

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