Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Registry key correspondence 1

Status
Not open for further replies.

svar

Programmer
Aug 12, 2001
349
GR
am new to Windows-I just need to figure out some stuff for work
I need to make a correspondence table of registry keys, e.g.

Processors->HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\SYSTEM\ CENTRAL_PROCESSOR\0...n \ProcessorNameString

which will tell us each processor on the machine, e.g. PIII at 1000

Now I was told you can also find out from the registry:

-the RAM
-Manufacturer(e.g. Dell)
-Free disk space
-PC name
-User name(s)
-Installed SW
-Patches+Hotfixes
-Recent changes
Any idea where these are in the registry?


 
?? how is that goingto solve things? I am using a perl module(and it works), but all scripts boil down to knowing
what keys hold the info you want, right?(unless you are not going to get the infor from the registry)
 
Ok, but I never used VBscript before- in fact I don't know anything about it. From what I can read/guess, it is reading
object attributes from the Registry and other sources?
Is that right? What are the other sources that are inaccessible from the Registry, if any?
Do I need anything special to run this and see what it gives?
 
I'm not a programmer only IT Administrator so to answer your question about how objects and attributes are handled in vb script I don't know and as long as it works that's all I'm concerned with. It can read entries from the registry using regread method. I use it to configure everything on the network including installing software etc.

A program I use for network inventory in Winventory which also uses vb script.
If you need to find out more on vbscript you could post that question in the vb script form.
You dont need anthing special to run it jsut add it to notepad, I use Notepad++ and save as a .vbs file.
Then the machine you are running it on needs to have Windows Scripting Host installed, most do, if not you can download it from here (XP version)
Hope this helps
 
Ok, thanks, I just got a task to check remotely a few thousands PCs for policy compliance, so whatever I do must be doable remotely. Don't know what these machines have on them
-expect they run windows-mostly XP, I guess. I never used
Windows in the past, so I need to learn a few things very quickly. From what I read thus far most, if not all of the info I need to check can be found in the registry.
Not sure if I add an exe that it would be listed in the registry, maybe you can suggest another place to ask?
 
Have you investigated using Spiceworks?


It has the capability to grab all of the information that you are looking for, it's free, and can be installed on an old pc that you have lying around.

Chris
IT Manager
Houston, Texas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top