Is there an effective way to search the registry of a computer using vb script and find a particular key and report out its value? I tried using win32_registryaction but it doesn't seem to find the keys that i am looking for.
won't work for you, you'll have to check security issues (is your code allowed to create ActiveX objects like "Wcript.Shell" and to read from (this branch) of the registry?) or take the trouble and study the WMI documention/examples.
How do I get this to work for a remote computer? I know either the IP address or the computer Name on the network. can i get this info from that computer?
There is at least one simple (?) example in the "The Portable Script Center" (http://www.microsoft.com/technet/scriptcenter) called "Read String and DWORD Registry Values". If this works for you (r local system), you'll have to tackle the problem of accessing other computers. Maybe just putting appropriate names in
strComputer will solve this problem (but I don't really believe it).
ok, I am tring to play around with the StdRegProv methods. But I don't know what to do about the data types. I won't know what type of value the key holds. Therefore I don't know which method to use. How would I be able to tell what method to use? such as getDWORDValue or getStringValue.
How do I echo out the binary values and the multi string values of some registry keys? I can out put DWORD, string, and Expanded Strings fine. I am using the get***Value methods of the StdRegProv.