If I have a registry pathing of:
HKEY_LOCAL_MACHINE\SOFTWARE\INTERSTAR\XFILES\CONFIG MANAGER\SYSTEM\COMPANIES
How would I go about listing all the records under that path/directory and access the DWORDs, REG_SZs and data?
thanks in advance
If I have a registry pathing of:
HKEY_LOCAL_MACHINE\SOFTWARE\INTERSTAR\XFILES\CONFIG MANAGER\SYSTEM\COMPANIES
How would I go about listing all the records under that path/directory and access the DWORDs, REG_SZs and data?
thanks in advance
One option would be to use WMI:
Const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
strComputer & "\root\default:StdRegProv")
strKeyPath = "SYSTEM\CurrentControlSet\Services"
oReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys
For Each subkey In arrSubKeys
Wscript.Echo subkey
Next
You will find more useful registry scripts here: http://www.activexperts.com/activmonitor/windowsmanagement/scripts/operatingsystem/registry/