to overwrite the existing setting with :
"Settings"=hex:28,00,00,00,ff,ff,ff,ff,03,00,00,00,03,00,00,00,6b,00,00,00,22,\
00,00,00,00,00,00,00,de,03,00,00,00,05,00,00,00,04,00,00
I don't know how to do this... i came up with :
Option Explicit
On Error Resume Next
'Const HKCU = &H80000001 'HKEY_CURRENT_USER
strComputer = "."
Set StdOut = WScript.StdOut
'load the registry
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")
Open in new window