Lenovo BIOS Windows
Management Instrumentation
Interface Deployment Guide for
Desktop
Date: July 5, 2012
First Edition (July 2012)
© Copyriget Lenovo 2012. 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 ...................................................................................................... 13
Listing current BIOS settings ........................................................................................................................ 13
Changing BIOS settings ................................................................................................................................ 13
Changing the boot order ................................................................................................................................ 13
Restoring default settings .............................................................................................................................. 14
Changing an existing hardware password .................................................................................................... 14
Limitations ...................................................................................................................................................... 15
Chapter 4. Security ................................................................................................................ 17
Appendix A. Sample Visual Basic scripts for configuring BIOS settings ......................... 19
Restore default settings ................................................................................................................................... 19
List all BIOS settings on the local computer .................................................................................................. 20
Set a single BIOS setting on the local computer ............................................................................................. 20
Set a single BIOS setting on the local computer if a Administrator password exists ...................................... 21
List all BIOS settings on a remote computer .................................................................................................. 22
Set a single BIOS setting on a remote computer ............................................................................................. 22
Set a single BIOS setting on a remote computer when a Administrator password exists ............................... 23
Set a Administrator password on the local computer when a Administrator password exists ........................ 24
Set a Administrator password on a remote computer when a Administrator password exists ........................ 25
Appendix B. Notices .............................................................................................................. 27
Trademarks ..................................................................................................................................................... 28
@Copyright Lenovo 2012
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 2012
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 2012
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 i n thi s document is
supported on the following new Thinkcentre/Thinkstation
products only:
·Thinkcentre M92/M92p/M82
·Thinkstation E31
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 2012