Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.