This article mainly introduces the use of VBS script to modify the Lenovo notebook BIOS password implementation code, it is not scientific! Accidentally found some information, like friends can try
It's not science! some information that was accidentally found:
VBS CODE:
Copy Code code as follows:
strComputer = "."
Set objWMIService = GetObject ("winmgmts:" & StrComputer & "Rootwmi")
' Obtain an instance of the class
' using a key property value.
Set objshare = Objwmiservice.get ("Lenovo_setbiospassword.instancename= ' Acpipnp0c141_0 '")
' Obtain an Inparameters object specific
' to the method.
Set Objinparam = Objshare.methods_ ("Setbiospassword"). _
Inparameters.spawninstance_ ()
' Add the input parameters.
Objinparam.properties_. Item ("Parameter") = "Test"
' Execute ' and obtain the return status.
' The Outparameters object in Objoutparams
' is created by the provider.
Set objoutparams = Objwmiservice.execmethod ("Lenovo_setbiospassword.instancename= ' ACPIPNP0C141_0 '", " Setbiospassword ", Objinparam)
' List outparams
WScript.Echo "Out Parameters:"
WScript.Echo "Return:" & Objoutparams.return
Document Download "PDF": montdeployguide
I come from: http://www.enun.net/?p=1497