Description : Ce script VBS permet, en modifiant les valeurs en gras, de créer 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.CreateKey HKEY_LOCAL_MACHINE,strKeyPath
Proposer un script
|
Notre avis :

Votre avis :

Réactions : 0
Votants : 32
Visites : 19030
|