Search for registry key on multiple PCs in a domain

B

bwojasinski

I am trying to scan multiple PCs to see if they have the registry key
set for Exchange 2003 Cached mode. Can anybody suggest a good tool for
this?

Thanks
 
T

Tomasz Onyszko

I am trying to scan multiple PCs to see if they have the registry key
set for Exchange 2003 Cached mode. Can anybody suggest a good tool for
this?

cmd.exe + reg.exe should be suitable.
 
H

Herb Martin

I am trying to scan multiple PCs to see if they have the registry key
set for Exchange 2003 Cached mode. Can anybody suggest a good tool for
this?


If the key question is "MULTIPLE PCs" then perhaps
the PSTools from SysInternals.com will help (remote
execute from a list of machines), OR you can just run
the commands from within a Startup script, that sends
the OUTPUT (perhaps through simple redirection) to
a known server-share-file location.

PSTools are here:
www.sysinternals.com/Utilities/PsTools.html

Something like this can be used from a batch file:

reg.exe SWITCHES 1>\\Server\Share\Reg%computername%.txt 2>&1

[Notice that such redirection of BOTH error and standard output
requires the precise ORDER of the redirection (>) commands.]

SWITCHES would be your actual directions to the reg command.

You might use a 1>>FileName to APPEND into a file, and you
might also add in addtional commands like sticking an echo of
%date% and %time% to timestamp the entry if you think this
will help you.
 
T

Tomasz Onyszko

Herb said:
reg.exe SWITCHES 1>\\Server\Share\Reg%computername%.txt 2>&1
With reg.exe You can query remote computer registry directly without
using psexec.exe
 
H

Herb Martin

Tomasz Onyszko said:
With reg.exe You can query remote computer registry directly without using
psexec.exe

Cool. [Obviously I didn't know that, thanks]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top