Lenovo BIOS Windows
Management Instrumentation
Interface Deployment Guide for
Desktop
Date:Sep.
2011
Second Edition (Sep. 2011)
© Copyright Lenovo 2011. 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 ...................................................................................................................................................... 5
Password Authentication ................................................................................................................................. 5
Available BIOS setting names ........................................................................................................................ 6
Chapter 3. Typical Usage ....................................................................................................... 11
Listing current BIOS settings ........................................................................................................................ 11
Changing BIOS settings ................................................................................................................................ 11
Changing the boot order ................................................................................................................................ 11
Restoring default settings .............................................................................................................................. 12
Changing an existing hardware password .................................................................................................... 12
Limitations ...................................................................................................................................................... 13
Chapter 4. Security ................................................................................................................ 15
Appendix A. Sample Visual Basic scripts for configuring 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 setting on a remote computer when a Administrator password exists ............................... 21
Set a Administrator password on the local computer when a Administrator password exists ........................ 22
Set a Administrator password on a remote computer when a Administrator password exists ........................ 23
Appendix B. Notices .............................................................................................................. 25
Trademarks ..................................................................................................................................................... 26
@Copyright Lenovo 2011
Preface
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.
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 2011
Chapter 1. Overview
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). The Lenovo BIOS WMI
interface enables IT administrators to make queries on current
BIOS settings, restore settings to their factory defaults, change
single settings, reset or change passwords, 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
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.
®
operating
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 2011
Function
·Flexible BIOS configuration, including the ability to change a
single BIOS setting or all BIOS settings
·Bios password management , including update Administrator
passwords, power-on passwords(POP), hard disk
drive(HDD)passwords
·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 descripted in thi s document is
supported on the following new Thinkcentre products only:
·Thinkcentre M91/M91p
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. Interface Details
@Copyright Lenovo 2011