The reg command works pretty well here
REG QUERY KeyName [/v ValueName | /ve] [/s]
KeyName [\Machine\]FullKey
Machine - Name of remote machine, omitting defaults to the current
machine
Only HKLM and HKU are available on remote machines
FullKey - in the form of ROOTKEY\SubKey name
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey - The full name of a registry key under the selected
ROOTKEY
/v query for a specific registry key
ValueName - The name, under the selected Key, to query
if omitted, all values under the Key are queried
/ve query for the default value or empty value name <no name>
/s queries all subkeys and values
Examples:
REG QUERY HKLM\Software\Microsoft\ResKit /v Version
Displays the value of the registry value Version
REG QUERY HKLM\Software\Microsoft\ResKit\Nt\Setup /s
Displays all subkeys and values under the registry key Setup
Joshua Morgan
PH: (864) 250-1350 Ext 133
Fax: (413) 581-4936
[EMAIL PROTECTED]
-----Original Message-----
From: Warren Cundy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 4:11 PM
To: NT 2000 Discussions
Subject: Checking registries remotely
Hi guys,
I'm wondering if anybody has a script that can be used to check the
registries of remote machines. Specifically I'm looking for the existence
of a key, and the value (DWORD) if it does exist. No writes would be
necessary.. are there any tools or sample scripts somebody can point me to?
Thanks.
-Warren
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]
------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]