Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Registry FilesContent of List Registry Files.vbsMD5 Hash: F0D568B874BBD2A61E937B18EB100C02 |
||
' Description: Uses WMI to list all the registry file and locations under HKLM\System\CurrentControlSet\Control\Hivelist.
Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ strComputer & "\root\default:StdRegProv") strKeyPath = "System\CurrentControlSet\Control\hivelist" oReg.EnumValues HKEY_LOCAL_MACHINE, strKeyPath,_ arrValueNames, arrValueTypes For i=0 To UBound(arrValueNames) StdOut.WriteLine "File Name: " & arrValueNames(i) & " -- " oReg.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath, _ arrValueNames(i),strValue Wscript.Echo "Location: " & strValue Wscript.Echo Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |