Lenovo BIOS Windows Management Instrumentation
Interface Deployment Guide for
Workstations (S20/D20/C20)
Date: September 2010
First Edition (September 2010)
© Copyright Lenovo 2010. All rights reserved.
Contents |
|
Preface .................................................................................................................................... |
III |
Chapter 1. Overview ............................................................................................................... |
1 |
Using Windows Management Instrumentation................................................................................................. |
1 |
Key benefits ..................................................................................................................................................... |
1 |
Function................................................................................................................................................... |
2 |
Environment ............................................................................................................................................ |
2 |
Interface................................................................................................................................................... |
2 |
Supported computers ....................................................................................................................................... |
2 |
Chapter 2. Script Classes and Parameter ............................................................................ |
3 |
Configuring BIOS settings.............................................................................................................................. |
3 |
Return types...................................................................................................................................................... |
3 |
Password Authentication................................................................................................................................. |
4 |
Available BIOS setting names ........................................................................................................................ |
4 |
Chapter 3. Typical Usage ....................................................................................................... |
11 |
Listing current BIOS settings......................................................................................................................... |
11 |
Changing BIOS settings ................................................................................................................................. |
11 |
Changing the boot order................................................................................................................................. |
11 |
Restoring default settings............................................................................................................................... |
12 |
Limitations....................................................................................................................................................... |
12 |
Chapter 4. Security................................................................................................................. |
13 |
Appendix A. Sample Visual Basic scripts for configuring BIOS settings .......................... |
15 |
Restore default settings................................................................................................................................... |
15 |
List all BIOS settings on the local computer .................................................................................................. |
16 |
Set a single BIOS setting on the local computer............................................................................................. |
16 |
Set a single BIOS setting on the local computer if a Administration password exists .................................... |
17 |
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 |
I |
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 |
III |
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 |
1 |
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
Thinkstation products only:
·Thinkstation S20/C20/D20
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 |
2 |
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ʺ ∙BaseClass: ʺLenovo_BIOSElementʺ ∙Interface details (see Table 1)
Table 1. Interface Details
Class Name |
Type |
Parameter/Return |
Example |
|
|
|
|
Lenovo_BiosSetting |
Query |
CurrentSetting: ʺItem,Valueʺ |
ʺWakeOnLAN, |
|
|
|
|
Lenovo_SetBiosSetting |
Method |
ʺItem,Value,ʺ |
ʺWakeOnLAN,Disabled,” |
|
|
|
|
Lenovo_SaveBiosSetting |
Method |
ʺPassword,Encoding,KbdLang,ʺ |
ʺpswd,ascii,us,ʺ |
|
|
|
|
Lenovo_DiscardBiosSetting |
Method |
ʺ,ʺ |
ʺ,ʺ |
|
|
|
|
Lenovo_LoadBiosSetting |
Method |
ʺ,ʺ |
ʺ,ʺ |
|
|
|
|
Return types
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 |
3 |