List all BIOS settings on the remote computer ....................18 Set a single BIOS setting on a remote computer..................... 18 Set a single BIOS setting on a remote computer when a Administrator password exists ....... 19 Appendix B. Notices ......................22 Trademarks ..............................23 @Copyright Lenovo 2010...
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 2010...
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 2010...
·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 Thinkstation products only: S20/C20/D20 ·Thinkstation Thinkstation S20 requires BIOS version 60KT40A or later Thinkstation C20/C20x/D20 requires BIOS version 61KT44A or later Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Workstations...
You will receive one of the following return types after making changes to BIOS settings: Table 2. Return Types Return Type Description Success Operation completed successfully. Not Supported The feature is not supported on this system. InvalidParameter The item or value provided is not valid. The change could not be made due to an authentication problem. Access Denied If a supervisor password exists, the correct supervisor password must be provided. System Busy BIOS changes have already been made that neet to be committed. Reboot the system and try again. @Copyright Lenovo 2010...
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 Startup Sequence To change the startup sequqence, complete the foll\ owing steps: Determine the current setting for "StartupSequence" by using @Copyright Lenovo 2010...
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 Workstations...
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 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 script can be executed on a command prompt using the cscript.exe utility. On Windows Vista and Windows 7, 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 Workstations...
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 2010...
Page 26
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 Workstations...
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 Thinkstation 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 Workstations...