国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > VBScript > 正文

利用VBS腳本修改聯(lián)想筆記本BIOS密碼的代碼分享

2020-07-26 11:48:12
字體:
供稿:網(wǎng)友

這不科學(xué)!無意中找到的一些資料:

Lenovo_SetBiosPassword_1
vbs 代碼:

復(fù)制代碼 代碼如下:

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

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 黄山市| 高清| 师宗县| 赤峰市| 固始县| 九龙坡区| 陆良县| 安塞县| 永川市| 潼关县| 余干县| 永宁县| 镇赉县| 牡丹江市| 宿州市| 汝阳县| 会理县| 清流县| 南阳市| 乌兰浩特市| 安乡县| 师宗县| 阳原县| 崇阳县| 建水县| 高碑店市| 姚安县| 洪雅县| 黔东| 西乌珠穆沁旗| 福贡县| 廉江市| 蒙自县| 蓬溪县| 河池市| 沙洋县| 新干县| 桃江县| 红安县| 茶陵县| 渝北区|