Description : Ce script VBS permet de supprimer une clé de registre.
Script :
Const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "." Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv") strKeyPath = "SOFTWARE\Test" oReg.DeleteKey HKEY_LOCAL_MACHINE, strKeyPath
Proposer un script
|
Notre avis :

Votre avis :

Réactions : 0
Votants : 13
Visites : 21186
|