VBS 스 크 립 트 를 이용 하여 노트북 BIOS 비밀 번 호 를 연상 시 키 는 코드 공 유 를 수정 합 니 다.

이 건 과학적 이지 않 아!무의식중에 찾 은 자료:Lenovo_SetBiosPassword_1vbs 코드:
 
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\WMI")
' Obtain an instance of the the class
' using a key property value.
Set objShare = objWMIService.Get("Lenovo_SetBiosPassword.InstanceName='ACPI\PNP0C14\1_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 the method and obtain the return status.
' The OutParameters object in objOutParams
' is created by the provider.
Set objOutParams = objWMIService.ExecMethod("Lenovo_SetBiosPassword.InstanceName='ACPI\PNP0C14\1_0'", "SetBiosPassword", objInParam)

' List OutParams
Wscript.Echo "Out Parameters: "
Wscript.echo "Return: " & objOutParams.Return
Lenovo_SetBiosPassword_2문서 다운로드[PDF]:montdeployguide본인:http://www.enun.net/?p=1497

좋은 웹페이지 즐겨찾기