Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Delete a Registry KeyContent of Delete a Registry Key.vbsMD5 Hash: 0298BEDF36B0DF4D681F10FBF5A3E5DD |
||
' Description: Uses WMI to delete the registry key HKLM\SOFTWARE\System Admin Scripting Guide.
Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ strComputer & "\root\default:StdRegProv") strKeyPath = "SOFTWARE\System Admin Scripting Guide" oReg.DeleteKey HKEY_LOCAL_MACHINE, strKeyPath | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |