List all BIOS settings on the remote computer ....................14 Set a single BIOS setting on a remote computer..................... 14 Set a single BIOS setting on a remote computer when a Administrator password exists ....... 15 Appendix B. Notices ......................17 Trademarks ..............................18 @Copyright Lenovo 2009...
Preface The purpose of this guide is to explain how to modify BIOS settings and 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. This guide is provided in a ZIP file package that contains this deployment guide as well as Visual Basic sample scripts to use when configuring BIOS settings. This deployment guide is developed for IT professionals to assist with the unique challenges that they encounter. If you have ® suggestions or comments, communicate with your Lenovo authorized representative. To learn more about the technologies that can help you lower the total cost of ownership and to check for periodic updates to this guide, visit the following Web site: www.lenovo.com/support @Copyright Lenovo 2009...
Chapter 1. Overview IT administrators are always looking for easier ways to manage client computer BIOS settings, which include hardware settings and 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). The Lenovo BIOS WMI interface enables IT administrators to make queries on current BIOS settings, restore settings to their factory defaults, change single settings, and modify the boot order either at client computers or remotely. Using Windows Management Instrumentation ® WMI is provided as a standard feature in most Windows operating systems. It provides a powerful set of functions, such as query‐based information retrieval and event notification, which enables users to manage both local and remote computers. The Lenovo BIOS WMI interface extends the capabilities of WMI to allow management of BIOS settings. The following illustration shows how WMI can be used to access Lenovo BIOS settings. WMI uses Windows Script Host (WSH) to interpret scripts. You can write your scripts in either Windows Visual Basic Scripting Edition (VBScript) or JavaScript. Key benefits The Lenovo BIOS WMI interface provides the following benefits: @Copyright Lenovo 2009...
Function ·Flexible BIOS configuration, including the ability to change a single BIOS setting or all BIOS settings ·No dependency on a specific BIOS level Environment ·Remote or local capabilities ·Support of unattended operations ·No software installation, including managed object format (MOF), required ·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 is supported on the following new Thinkcentre products only: ·Thinkcentre M58/M58p Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
You will receive one of the following return types after making settings: changes to BIOS Table 2. Return Types Return Type Description Success Operation completed successfully. Not The feature is not supported on this system. Supported Invalid The item or value provided is not valid. Parameter Access The change could not be made due to an authentication Denied problem. If a supervisor password exists, the correct supervisor password must be provided. @Copyright Lenovo 2009...
The security‐related options are not changed even if the “load default” is requested. Table 4. List of available BIOS settings Item name Selection name Load USB Support ʺDisabledʺ,ʺEnabledʺ USB Front PORTS ʺDisabledʺ,ʺEnabledʺ USB Rear PORTS ʺDisabledʺ,ʺEnabledʺ USB1 ʺDisabledʺ,ʺEnabledʺ USB2 ʺDisabledʺ,ʺEnabledʺ USB3 ʺDisabledʺ,ʺEnabledʺ USB4 ʺDisabledʺ,ʺEnabledʺ USB5 ʺDisabledʺ,ʺEnabledʺ USB6 ʺDisabledʺ,ʺEnabledʺ Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
Page 11
ʺC1ʺ,ʺC12ʺ,ʺC123ʺ,ʺC1234ʺ Y Execute Disable Bit ʺEnabledʺ, ʺDisabledʺ Y MEBx Reset ʺDisabledʺ,ʺEnabledʺ Y Press <CTRL‐P> to enter MEBx ʺDisabledʺ,ʺEnabledʺ Y Console Type ʺVT100ʺ,ʺVT100 8bitʺ,ʺPC‐Ansi 7bitʺ,ʺPC Y ANSIʺ,ʺVT100+ʺ, ʺVT‐UTF8ʺ,ʺASCIIʺ Continue C.R. after POST ʺAutomaticʺ, ʺEnabledʺ, ʺDisabledʺ Y After Power Loss ʺStay Offʺ, ʺLast Stateʺ, ʺPower onʺ Y Hard Disk Timeout ʺDisabledʺ,ʺEnabledʺ Y Wake on LAN ʺDisabledʺ, ʺAutomaticʺ, ʺPrimaryʺ Y PCI Modem Ring Detect ʺDisabledʺ, ʺAutomaticʺ, ʺPrimaryʺ Y Serial Port A Ring Detect ʺDisabledʺ, ʺAutomaticʺ, ʺPrimaryʺ Y PCI Wake Up ʺDisabledʺ, ʺAutomaticʺ, ʺPrimaryʺ Y @Copyright Lenovo 2009...
12 and “Set a single BIOS setting on a remote computer” on page 14 for sample scripts). Note: BIOS settings and values are case sensitive. 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 2009...
CD drive 0 is the first boot device and hard disk drive 0 is the second startup device. AHCI_CD:AHCI_HDD Restoring default settings To restore default BIOS settings, use the Lenovo_LoadDefaultSettings class, and then use the Lenovo_SaveBiosSettings class to save the BIOS changes (see sample scripts). Limitations The following WMI limitations exist for BIOS setup: ·Password setting and changing are not supported . Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
WMI‐based administration scripts to establish an encrypted remote connection as follows: 1. Set an impersonation level of ″impersonate″ 2. Set an authentication level of ″pktPrivacy″ See Appendix A, “Sample Visual Basic scripts for configuring BIOS settings,” on page 11 for sample scripts used to implement WMI‐based administration scripts that include these parameters for encryption. @Copyright Lenovo 2009...
The Visual Basic command line scripts in the ZIP file are examples that you may find helpful when configuring BIOS settings. The scripts in the ZIP file can be used as‐is on Windows XP or Windows Vista 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. ...
ObjItem.CurrentSetting, ",")+1,256) WScript.Echo StrItem + " = " + StrValue End If Next Set a single BIOS setting on a remote computer 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] Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
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 a remote computer when a supervisor password exists. Syntax: cscript.exe SetConfigPasswordRemote.vbs [Item] [Value] [Password + Encoding] [Hostname] Example: cscript.exe SetConfigPasswordRemote.vbs “ Wake on LAN” Disabled pass,ascii,us mattdev-c5 ’ ’ Set specific BIOS Setting @Copyright Lenovo 2009...
Page 22
If strReturn < > "Success" Then WScript.Quit End If colItems objWMIService.ExecQuery("Select from Lenovo_SaveBiosSettings") strReturn = "error" Each objItem in colItems ObjItem.SaveBiosSettings WScript.Arguments(2)+",", strReturn Next WScript.Echo strRequest WScript.Echo " SaveBiosSettings: " + strReturn Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
Lenovo may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to: Lenovo (United States), Inc 1009 Think Place Building One Morrisville, NC 27560 Attention: Lenovo Director of Licensing LENOVO GROUP LTD. PROVIDES THIS PUBLICATION “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON‐INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some jurisdictions do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new ...
Any references in this publication to non‐Lenovo Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this Lenovo product, and use of those Web sites is at your own risk. Trademarks The following terms are trademarks of Lenovo in the United States, other countries, or both: Lenovo the Lenovo logo Thinkcentre ThinkVantage Microsoft, Windows, Windows Vista, and Active Directory are trademarks or registered trademarks of Microsoft Corporation in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others. Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...