Set a Administrator password on the local computer when a Administrator password exists ......20 Set a Administrator password on a remote computer when a Administrator password exists ......21 Appendix B. Notices ......................23 Trademarks ..............................24 @Copyright Lenovo 2010...
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 products only: ·Thinkcentre M90/M90p 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...
USB Port 6 "Disabled","Enabled" &Rear USB Ports USB Support USB Port 7 "Disabled","Enabled" &Rear USB Ports USB Support USB Port 8 "Disabled","Enabled" &Rear USB Ports EHCI Controller 1 "Disabled","Enabled" USB Support Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
Page 15
"Disabled","Enabled" Intel(R) AMT Control "Disabled","Enabled" Intel(R) AMT Reset "Disabled","Enabled" Press <CTRL-P> to enter "Disabled","Enabled" MEBx "VT100","VT100-8bit","PC-ANSI-7bit","P Console Type C-ANSI","VT100+", "VT-UTF8","ASCII" Continue C.R. after POST "On","Off" After Power Loss "Power Off","Power On","Last State" Wake Up on LAN "Primary","Automatic","Disabled" @Copyright Lenovo 2010...
Page 16
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) Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
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 2010...
Disabled or with special setting, this item will be hidden and can not be updated through WMI. Please reference for detail relationship Table 4 between items. @Copyright Lenovo 2010...
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 15 for sample scripts used to implement WMI-based administration scripts that include these parameters for encryption. @Copyright Lenovo 2010...
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 2010...
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.