BIOS Windows Management Instrumentation Interface Deployment Guide
Page 5
...BIOS settings 17 Restore default settings ...17 List all BIOS settings on the local computer 18 Set a single BIOS setting on the local computer 18 Set a single BIOS setting on the local computer if a Administrator password exists 19 List all BIOS... settings on a remote computer 20 Set a single BIOS setting on a remote computer 20 Set a single BIOS... Typical Usage ...11 Listing current BIOS settings...11 Changing BIOS settings ...11 Changing the boot ...
...BIOS settings 17 Restore default settings ...17 List all BIOS settings on the local computer 18 Set a single BIOS setting on the local computer 18 Set a single BIOS setting on the local computer if a Administrator password exists 19 List all BIOS... settings on a remote computer 20 Set a single BIOS setting on a remote computer 20 Set a single BIOS... Typical Usage ...11 Listing current BIOS settings...11 Changing BIOS settings ...11 Changing the boot ...
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 7
...periodic updates to this guide, visit the following Web site: www.lenovo.com/support @Copyright Lenovo 2011 III If you lower the total cost of this deployment guide as well as Visual Basic sample scripts to use when configuring BIOS settings. To learn more about the technologies that can help you ... the unique challenges that they encounter. Preface The purpose of ownership and to check for skilled IT administrators who are familiar with configuring BIOS settings on computers in a ZIP file package that contains this guide is developed for IT professionals to assist with your...
...periodic updates to this guide, visit the following Web site: www.lenovo.com/support @Copyright Lenovo 2011 III If you lower the total cost of this deployment guide as well as Visual Basic sample scripts to use when configuring BIOS settings. To learn more about the technologies that can help you ... the unique challenges that they encounter. Preface The purpose of ownership and to check for skilled IT administrators who are familiar with configuring BIOS settings on computers in a ZIP file package that contains this guide is developed for IT professionals to assist with your...
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 9
... management of functions, such as a standard feature in either at client computers or remotely. The following benefits: @Copyright Lenovo 2011 1 The Lenovo BIOS WMI interface provides a simplified way to interpret scripts. WMI uses Windows Script host (WSH) to change passwords, and ...modify the boot order either Windows Visual Basic Scripting Edition (VBScript) or JavaScript. The Lenovo BIOS WMI interface enables IT administrators to make queries on current BIOS settings, restore settings to manage both local and remote computers. You can be manipulated through Windows...
... management of functions, such as a standard feature in either at client computers or remotely. The following benefits: @Copyright Lenovo 2011 1 The Lenovo BIOS WMI interface provides a simplified way to interpret scripts. WMI uses Windows Script host (WSH) to change passwords, and ...modify the boot order either Windows Visual Basic Scripting Edition (VBScript) or JavaScript. The Lenovo BIOS WMI interface enables IT administrators to make queries on current BIOS settings, restore settings to manage both local and remote computers. You can be manipulated through Windows...
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 10
... ·Replaces DOS-based BIOS configuration tools Interface ·Easy to adopt for various management servers ·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 M91/M91p Lenovo BIOS Windows Management Instrumentation Interface Deployment...
... ·Replaces DOS-based BIOS configuration tools Interface ·Easy to adopt for various management servers ·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 M91/M91p Lenovo BIOS Windows Management Instrumentation Interface Deployment...
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 11
Interface Details @Copyright Lenovo 2011 3 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.
Interface Details @Copyright Lenovo 2011 3 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.
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 12
... SuportedKeyboard:7 SupportedEncodings:3 Port0HardDiskPasswordS tate:00 Port1HardDiskPasswordS tate:00 Port2HardDiskPasswordS tate:00 Port3HardDiskPasswordS tate:00 Port4HardDiskPasswordS tate:00 Port5HardDiskPasswordS tate:00 "pop,oldpop, newpop,ascii,us;" Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 4
... SuportedKeyboard:7 SupportedEncodings:3 Port0HardDiskPasswordS tate:00 Port1HardDiskPasswordS tate:00 Port2HardDiskPasswordS tate:00 Port3HardDiskPasswordS tate:00 Port4HardDiskPasswordS tate:00 Port5HardDiskPasswordS tate:00 "pop,oldpop, newpop,ascii,us;" Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 4
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 13
... need to be committed. Table 3. raw ascii character ·"1e302e" - German, Czech, Slovak, Slovenian @Copyright Lenovo 2011 5 Access Denied The change any BIOS settings. English US, English, French-Canadian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Spanish-European, Spanish-...Password Authentication If an Administrator password is already set, you can change could not be provided. System Busy BIOS changes have already been made due to BIOS settings: Table 2. dLang;" Notes: 1. Not Supported The feature is ″ascii″) ·"...
... need to be committed. Table 3. raw ascii character ·"1e302e" - German, Czech, Slovak, Slovenian @Copyright Lenovo 2011 5 Access Denied The change any BIOS settings. English US, English, French-Canadian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Spanish-European, Spanish-...Password Authentication If an Administrator password is already set, you can change could not be provided. System Busy BIOS changes have already been made due to BIOS settings: Table 2. dLang;" Notes: 1. Not Supported The feature is ″ascii″) ·"...
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 14
... and values are not changed even if the "load default" is requested. List of certain hardware features. Settings might vary on the presence of available BIOS settings Item Name Option Value Related item Serial Port1 Address Serial Port2 Address Parallel Port Address Parallel Port Mode EPP Version ECP Mode DMA Channel... &Rear USB Ports USB Support &Rear USB Ports USB Support &Rear USB Ports USB Support &Rear USB Ports USB Support &Rear USB Ports USB Support Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 6 Table 4.
... and values are not changed even if the "load default" is requested. List of certain hardware features. Settings might vary on the presence of available BIOS settings Item Name Option Value Related item Serial Port1 Address Serial Port2 Address Parallel Port Address Parallel Port Mode EPP Version ECP Mode DMA Channel... &Rear USB Ports USB Support &Rear USB Ports USB Support &Rear USB Ports USB Support &Rear USB Ports USB Support &Rear USB Ports USB Support Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 6 Table 4.
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 16
...", "USB Hard Disk", "USB CD/DVD", "USB Key" Automatic Boot Sequence N N N TXT TXT PAP N SATA Controller& Onboard Ethernet Controller& USB Support SATA Controller& Onboard Ethernet Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 8
...", "USB Hard Disk", "USB CD/DVD", "USB Key" Automatic Boot Sequence N N N TXT TXT PAP N SATA Controller& Onboard Ethernet Controller& USB Support SATA Controller& Onboard Ethernet Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 8
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 19
... Lenovo 2011 11 Note: See Table 4 on page 18 for sample scripts). Change the BIOS setting to the desired value using the Lenovo_SetBiosSetting class, then use the Lenovo_SaveBiosSetting class to as the startup sequence) ·Load default BIOS settings Listing current BIOS ... a particular setting. 3. Changing the boot order To change a BIOS setting, complete the following steps: 1. Note: BIOS settings and values are case sensitive. Identify the value to the BIOS settings, you can configure BIOS settings in the following steps: 1. Chapter 3. Typical Usage Through...
... Lenovo 2011 11 Note: See Table 4 on page 18 for sample scripts). Change the BIOS setting to the desired value using the Lenovo_SetBiosSetting class, then use the Lenovo_SaveBiosSetting class to as the startup sequence) ·Load default BIOS settings Listing current BIOS ... a particular setting. 3. Changing the boot order To change a BIOS setting, complete the following steps: 1. Note: BIOS settings and values are case sensitive. Identify the value to the BIOS settings, you can configure BIOS settings in the following steps: 1. Chapter 3. Typical Usage Through...
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 20
... Boot Sequence,CD/DVD Drive:Hard Drive:Network Card:USB Key:USB Floppy:USB Hard Disk Restoring default settings To restore default BIOS settings, use the Lenovo_LoadDefaultSettings class, and then use the Lenovo_SaveBiosSetting class to save the settings (see sample scripts). Table 5. ... The format for Desktop 12 Devices that are not specified are excluded from the boot order. English US, English UK, Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for password parameters is the second boot device and so on password "uhdp0": User password ...
... Boot Sequence,CD/DVD Drive:Hard Drive:Network Card:USB Key:USB Floppy:USB Hard Disk Restoring default settings To restore default BIOS settings, use the Lenovo_LoadDefaultSettings class, and then use the Lenovo_SaveBiosSetting class to save the settings (see sample scripts). Table 5. ... The format for Desktop 12 Devices that are not specified are excluded from the boot order. English US, English UK, Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for password parameters is the second boot device and so on password "uhdp0": User password ...
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 21
...this item will be hidden and can only be updated or cleared. ·When user try to change these settings, you want to batch update BIOS settings, make sure that the related item of them. ·A password cannot be changed simutaneously during one power cycle. Limitations Languages Chinese-Traditional,...American, Swiss, Turkish ·″fr″ - German, Czech, Slovak, Slovenian The following WMI limitations exist for detail relationship between items. @Copyright Lenovo 2011 13 Passwords can not be updated through WMI. French-European, Belgian ·″gr″ -
...this item will be hidden and can only be updated or cleared. ·When user try to change these settings, you want to batch update BIOS settings, make sure that the related item of them. ·A password cannot be changed simutaneously during one power cycle. Limitations Languages Chinese-Traditional,...American, Swiss, Turkish ·″fr″ - German, Czech, Slovak, Slovenian The following WMI limitations exist for detail relationship between items. @Copyright Lenovo 2011 13 Passwords can not be updated through WMI. French-European, Belgian ·″gr″ -
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 23
Set an impersonation level of ″pktPrivacy″ See Appendix A, "Sample Visual Basic scripts for configuring BIOS settings," on page 15 for sample scripts used to establish an encrypted remote connection as follows: 1. You can enhance security by default. Chapter 4. Set an ... over the network in clear text by modifying WMI-based administration scripts to implement WMI-based administration scripts that include these parameters for encryption. @Copyright Lenovo 2011 15
Set an impersonation level of ″pktPrivacy″ See Appendix A, "Sample Visual Basic scripts for configuring BIOS settings," on page 15 for sample scripts used to establish an encrypted remote connection as follows: 1. You can enhance security by default. Chapter 4. Set an ... over the network in clear text by modifying WMI-based administration scripts to implement WMI-based administration scripts that include these parameters for encryption. @Copyright Lenovo 2011 15
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 25
Appendix A. The scripts can be executed on your Lenovo computer. Syntax: cscript.exe LoadDefaults.vbs Example: cscript.exe LoadDefaults.vbs ‟ ‟ Load default BIOS settings ‟ On Error Resume Next Dim colItems strComputer = "LOCALHOST" „Change as -is treated as...in colItems ObjItem.SaveBiosSettings ";", strReturn Next WScript.Echo " SaveBiosSettings: " + strReturn @Copyright Lenovo 2011 17 To copy and paste scripts, use the scripts in the ZIP file are for configuring BIOS settings The Visual Basic command line scripts in the ZIP file. Pay attention to that...
Appendix A. The scripts can be executed on your Lenovo computer. Syntax: cscript.exe LoadDefaults.vbs Example: cscript.exe LoadDefaults.vbs ‟ ‟ Load default BIOS settings ‟ On Error Resume Next Dim colItems strComputer = "LOCALHOST" „Change as -is treated as...in colItems ObjItem.SaveBiosSettings ";", strReturn Next WScript.Echo " SaveBiosSettings: " + strReturn @Copyright Lenovo 2011 17 To copy and paste scripts, use the scripts in the ZIP file are for configuring BIOS settings The Visual Basic command line scripts in the ZIP file. Pay attention to that...
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 26
... = Mid(ObjItem.CurrentSetting,InStr( ObjItem.CurrentSetting, ",")-1) WScript.Echo StrItem + " = " + StrValue End If Next Set a single BIOS setting on the local computer Use the sample scripts in colItems ObjItem.SetBiosSetting strRequest, strReturn Next WScript.Echo strRequest Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 18 Syntax: cscript.exe ListAll.vbs Example: cscript...
... = Mid(ObjItem.CurrentSetting,InStr( ObjItem.CurrentSetting, ",")-1) WScript.Echo StrItem + " = " + StrValue End If Next Set a single BIOS setting on the local computer Use the sample scripts in colItems ObjItem.SetBiosSetting strRequest, strReturn Next WScript.Echo strRequest Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 18 Syntax: cscript.exe ListAll.vbs Example: cscript...
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 27
...Lenovo_SaveBiosSettings) strReturn = "error" For Each objItem in colItems ObjItem.SaveBiosSettings ";", strReturn Next WScript.Echo strRequest WScript.Echo " SaveBiosSettings: " + strReturn Set a single BIOS setting on the local computer. Syntax: cscript.exe SetConfigPassword.vbs [Item] [Value] [Password+Encoding] Example: cscript.exe SetConfigPassword.vbs "Wake Up on LAN"... objWMIService = GetObject("WinMgmts:"_ &"{ImpersonationLevel=Impersonate}!\\" & strComputer _ &"\root\wmi") Set colItems = objWMIService.ExecQuery("Select * from Lenovo_SaveBiosSettings) @Copyright Lenovo 2011 19
...Lenovo_SaveBiosSettings) strReturn = "error" For Each objItem in colItems ObjItem.SaveBiosSettings ";", strReturn Next WScript.Echo strRequest WScript.Echo " SaveBiosSettings: " + strReturn Set a single BIOS setting on the local computer. Syntax: cscript.exe SetConfigPassword.vbs [Item] [Value] [Password+Encoding] Example: cscript.exe SetConfigPassword.vbs "Wake Up on LAN"... objWMIService = GetObject("WinMgmts:"_ &"{ImpersonationLevel=Impersonate}!\\" & strComputer _ &"\root\wmi") Set colItems = objWMIService.ExecQuery("Select * from Lenovo_SaveBiosSettings) @Copyright Lenovo 2011 19
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 28
...vbs mattdev-c5 ‟ ‟ List all BIOS settings ‟ On Error Resume Next Dim colItems...If Next Set a single BIOS setting on a remote computer Use the sample scripts in the ZIP file as templates to list all BIOS settings on a remote computer ...Use the sample scripts in the ZIP file as templates to set a single BIOS setting on ...Arguments(2)+";", strReturn Next WScript.Echo strRequest WScript.Echo " SaveBiosSettings: " + strReturn List all BIOS settings and values on a remote computer. Syntax: cscript.exe SetConfigRemote.vbs [Item] ...
...vbs mattdev-c5 ‟ ‟ List all BIOS settings ‟ On Error Resume Next Dim colItems...If Next Set a single BIOS setting on a remote computer Use the sample scripts in the ZIP file as templates to list all BIOS settings on a remote computer ...Use the sample scripts in the ZIP file as templates to set a single BIOS setting on ...Arguments(2)+";", strReturn Next WScript.Echo strRequest WScript.Echo " SaveBiosSettings: " + strReturn List all BIOS settings and values on a remote computer. Syntax: cscript.exe SetConfigRemote.vbs [Item] ...
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 29
...= "error" For Each objItem in colItems ObjItem.SaveBiosSettings ";", Next strReturn WScript.Echo strRequest WScript.Echo " SaveBiosSettings: " + strReturn Set a single BIOS setting on a remote computer when a Administrator password exists Use the sample scripts in the ZIP file as templates to set a single... BIOS setting on LAN" Disabled "pass,ascii,us" mattdev-c5 ‟ ‟ Set specific BIOS Setting ‟ On Error Resume Next Dim colItems If WScript.Arguments.Count < > 4 Then WScript...
...= "error" For Each objItem in colItems ObjItem.SaveBiosSettings ";", Next strReturn WScript.Echo strRequest WScript.Echo " SaveBiosSettings: " + strReturn Set a single BIOS setting on a remote computer when a Administrator password exists Use the sample scripts in the ZIP file as templates to set a single... BIOS setting on LAN" Disabled "pass,ascii,us" mattdev-c5 ‟ ‟ Set specific BIOS Setting ‟ On Error Resume Next Dim colItems If WScript.Arguments.Count < > 4 Then WScript...
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 30
...("Select * from Lenovo_SaveBiosSettings") strReturn = "error" For Each objItem in the ZIP file as needed Set objWMIService = GetObject("WinMgmts:" _ Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 22 Note: You cannot set a single BIOS setting on the local computer when a Administrator password exists Use the sample scripts in colItems ObjItem.SaveBiosSettings Wscript...
...("Select * from Lenovo_SaveBiosSettings") strReturn = "error" For Each objItem in the ZIP file as needed Set objWMIService = GetObject("WinMgmts:" _ Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 22 Note: You cannot set a single BIOS setting on the local computer when a Administrator password exists Use the sample scripts in colItems ObjItem.SaveBiosSettings Wscript...
BIOS Windows Management Instrumentation Interface Deployment Guide
Page 31
... in colItems ObjItem.SetBiosPassword strRequest, strReturn Next WScript.Echo strRequest WScript.Echo " SetBiosPassword: " + strReturn Set a Administrator password on a remote computer. Note: You cannot set a single BIOS setting on a remote computer when a Administrator password exists Use the sample scripts in colItems ObjItem.SetBiosPassword strRequest, strReturn Next WScript.Echo strRequest WScript.Echo " SetBiosPassword...
... in colItems ObjItem.SetBiosPassword strRequest, strReturn Next WScript.Echo strRequest WScript.Echo " SetBiosPassword: " + strReturn Set a Administrator password on a remote computer. Note: You cannot set a single BIOS setting on a remote computer when a Administrator password exists Use the sample scripts in colItems ObjItem.SetBiosPassword strRequest, strReturn Next WScript.Echo strRequest WScript.Echo " SetBiosPassword...