Цитата: YURETS777
доработай вот это (вр небыло самому доделать)
'________________________________________________
const HKEY_LOCAL_MACHINE = &H80000002
const REG_SZ = 1
const REG_EXPAND_SZ = 2
const REG_BINARY = 3
const REG_DWORD = 4
const REG_MULTI_SZ = 7
strComputer = "."
Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
objReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys
WScript.Echo "Subkeys under " & "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
For Each subkey In arrSubKeys
WScript.Echo subkey
strKeyPath2 = strKeyPath &"\"& subkey
objReg.EnumValues HKEY_LOCAL_MACHINE, strKeyPath2, arrValueNames, arrValueTypes
For I=0 To UBound(arrValueNames)
WScript.Echo "Value Name: " & arrValueNames(I)
Select Case arrValueTypes(I)
Case REG_SZ
WScript.Echo "Data Type: String"
Case REG_EXPAND_SZ
WScript.Echo "Data Type: Expanded String"
Case REG_BINARY
WScript.Echo "Data Type: Binary"
Case REG_DWORD
WScript.Echo "Data Type: DWORD"
Case REG_MULTI_SZ
WScript.Echo "Data Type: Multi String"
End Select
'_________________________________________________