Set a Administrator password on the local computer when a Administrator password exists ......24 Set a Administrator password on a remote computer when a Administrator password exists ......25 Appendix B. Notices ......................27 Trademarks ..............................28 @Copyright Lenovo 2012...
The purpose of this guide is to explain how to modify BIOS settings, boot order using Windows Management Instrumentation (WMI) through the Lenovo client-management interface. This guide is intended for skilled IT administrators who are familiar with configuring BIOS settings on computers in their organizations.
IT administrators are always looking for easier ways to manage client computer BIOS settings, which include hardware settings, and the boot order. The Lenovo BIOS WMI interface provides a simplified way to change these settings. Lenovo has developed a BIOS interface that can be manipulated through Windows Management Instrumentation (WMI).
·Replaces current SMI interface ·Common interface for different products Supported computers BIOS setup through WMI descripted in this document is supported on the following new Thinkcentre/Thinkstation products only: ·Thinkcentre M92/M92p/M82 ·Thinkstation E31 Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
Chapter 2. Script Classes and Parameter This chapter contains WMI implementation details for configuring BIOS settings. Configuring BIOS settings The following interface details can be used to access Lenovo BIOS settings. ·Namespace: "\root\WMI" ·Base Class: "Lenovo_BIOSElement" ·Interface details (see Table 1) Table 1.
Page 12
-BIT0=1:User hard disk password is installed -BIT1=1:Master hard disk password is installed Port1HardDiskPasswordStat e:”Value” Port2HardDiskPasswordStat e:”Value” Port3HardDiskPasswordStat e:”Value” Port4HardDiskPasswordStat e:”Value” Port5HardDiskPasswordStat e:”Value” “PasswordType,CurrentPass “pop,oldpop, Lenovo_SetBiosPassword Method word, newpop,ascii,us;” NewPassword,Encoding,Kb Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
Parallel Port Parallel Port IRQ "IRQ7","IRQ5" Address “Enabled”, ”Disabled” USB 3.0 extended Card USB Support "Enabled", "Disabled" USB Legacy Support "Enabled", "Disabled" USB Support Front USB Ports "Enabled", "Disabled" USB Support Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
Page 15
"Enabled", "Disabled" &Front USB Ports SATA Controller "Enabled", "Disabled" SATA SATA Drive 1 "Enabled", "Disabled" Controller SATA SATA Drive 2 "Enabled", "Disabled" Controller SATA SATA Drive 3 "Enabled", "Disabled" Controller SATA SATA Drive 4: eSATA "Enabled", "Disabled" Controller @Copyright Lenovo 2012...
Page 17
Intel(R) SIPP CPU CRID "Enabled", "Disabled" Support Intel(R) SIPP Chipset CRID "Enabled", "Disabled" Support "Power Off", "Power On", "Last After Power Loss State" Enhanced Power Saving "Disabled"," "Enabled" Mode "Better Acoustic ICE Performance Modes Performance" ,"Better Thermal Performance" @Copyright Lenovo 2012...
Page 18
"USB HDD", "USB CDROM" Controller& USB Support SATA Controller& Onboard Automatic Boot Sequence Ethernet Controller& USB Support SATA Controller& Onboard Error Boot Sequence Ethernet Controller& USB Support Boot Mode "Auto", "UEFI", "Legacy" Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
Page 19
Legacy Style means MTM&SN-1 means concatenation of Machine Type with Serial Number (mmmmsssssss) MTM&SN-2 means concatenation of Machine Type/Model and Serial Number (mmmmmmmsssssss) concatenation of "1S", Machine Type/Model and Serial Number 1S-MTM-SN means (1Smmmmmmmsssssss) @Copyright Lenovo 2012...
After making changes to the BIOS settings, you must reboot the computer before the changes will take effect. Changing the boot order To change the boot order, complete the following steps: Determine the current setting for “BootOrder” by using the @Copyright Lenovo 2012...
“Disabled” or with special setting, this item will be hidden and cannot be updated through WMI. Please reference for detail relationship Table 4 between items. @Copyright Lenovo 2012...
Set an impersonation level of ″impersonate″ Set an authentication level of ″pktPrivacy″ See Appendix A, “Sample Visual Basic scripts for configuring BIOS settings,” on page 19 for sample scripts used to implement WMI-based administration scripts that include these parameters for encryption. @Copyright Lenovo 2012...
The scripts in the ZIP file can be used as-is on Windows XP, Windows Vista or Windows 7 to modify BIOS settings on your Lenovo computer. The scripts can be executed on a command prompt using the cscript.exe utility. On Windows Vista, you must run the scripts from an administrator command prompt.
= objWMIService.ExecQuery("Select * from Lenovo_SetBiosSetting") Each objItem in colItems ObjItem.SetBiosSetting strRequest, strReturn Next WScript.Echo strRequest WScript.Echo " SetBiosSetting: " + strReturn If strReturn < > "Success" Then WScript.Quit End If colItems = objWMIService.ExecQuery("Select * from Lenovo_SaveBiosSettings) @Copyright Lenovo 2012...
Use the sample scripts in the ZIP file as templates to set a single BIOS setting on a remote computer. Syntax: cscript.exe SetConfigRemote.vbs [Item] [Value] [Hostname] Example: cscript.exe SetConfigRemote.vbs “Wake Up on LAN” Disabled mattdev-c5 ’ ’ Set specific BIOS Setting Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
Dim colItems If WScript.Arguments.Count < > 3 Then WScript.Echo "SetAdminPassword.vbs [oldpassword] [newpassword] [encoding]" WScript.Quit End If strRequest=“pap,”+WScript.Arguments(0)+","+ WScript.Arguments(1) + ","Wscript.Arguments(2)+”;” strCompter = “LOCALHOST” ‘change as needed objWMIService = GetObject("WinMgmts:" _ Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
Any reference to a Lenovo product, program, or service is not intended to state or imply that only that Lenovo product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any Lenovo intellectual property right may be used instead.