Apri Wordpad . Questo processore di testo crea un documento vuoto . 
 2 
 Copia e incolla il seguente nel documento. Essere sicuri di non aggiungere spazi aggiuntivi . Questo codice WMI carica prima le informazioni del BIOS corrente, quindi viene eseguito l'aggiornamento: 
 
 strComputer = 
 
 objWMI = GetObject ( " . " " Winmgmts : \\ \\ " & strComputer & " \\ root \\ CIMV2 " ) 
 
colItems = objWMI.ExecQuery ( " SELECT * FROM Win32_BIOS " ) per
 Ogni itm In colItems 
 
strBIOSVersion = Join ( itm.BIOSVersion , "," ) per
 WScript.Echo " BIOSVersion : " & strBIOSVersion 
 
 WScript.Echo " BuildNumber : " & itm.BuildNumber 
 
 WScript.Echo SMBIOSBIOSVersion " : "& itm.SMBIOSBIOSVersion 
 
 WScript.Echo " SMBIOSMajorVersion : " & itm.SMBIOSMajorVersion 
 
 WScript.Echo " SMBIOSMinorVersion : " & itm.SMBIOSMinorVersion 
 
 WScript . echo " Versione : " & itm.Version 
 
 Avanti 
 
 const HKEY_LOCAL_MACHINE = & H80000002 
 
 strKeyPath = "SOFTWARE \\ NewKey " 
 
 strComputer = " ". 
 
iValues = array ( & H01 , & Ha2 , & H10 ) per
 OREG = GetObject ( _ 
 
 " winmgmts : { impersonationLevel = impersonate } \\ \\ "& _ 
 
strComputer &" \\ root \\ default : StdRegProv " ) per
 oReg.CreateKey HKEY_LOCAL_MACHINE , strKeyPath 
 
 strKeyPath = " SOFTWARE \\ NewKey " 
 
 BinaryValueName = " Esempio Valore binario " 
 
 oReg.SetBinaryValue HKEY_LOCAL_MACHINE , strKeyPath , _ 
 
 BinaryValueName , iValues 
 3 
 salvare il file come " XXXX.vbs . " Che cosa è il nome (il " XXXX" ) non è importante , basta assicurarsi di aggiungere l'estensione vbs 
 4 
 Selezionare "No" se Wordpad si apre un messaggio che chiede di aggiungere la "txt" . estensione . 
 5 
 Quit Wordpad . 
 6 
 Fare clic sul menu Start del computer. 
 7 
 Tipo " cmd.exe " (senza virgolette ) nella barra di ricerca . 
 8 
 Fare clic su " cmd.exe ". 
 9 
 Tipo " cscript XXXX.vbs " (senza virgolette ) nella finestra che appare. Sostituire " XXXX" con il nome che hai dato il file al punto 3. Questo verrà eseguito l'aggiornamento e riavviare il computer . 
 
              
hardware © www.354353.com