Functions
v Flexible BIOS configuration, including the ability to change a single BIOS setting
or all BIOS settings
v BIOS password management, including updating supervisor passwords,
power-on passwords, and hard disk drive (HDD) passwords
v No dependency on a specific BIOS level
Environment
v Remote or local capabilities
v Support of unattended operations
v No software installation, including managed object format (MOF), required
v Replaces DOS-based BIOS configuration tools
Interface
v Easy to adopt for various management servers
v Replaces current SMI interface
v Common interface for different products
Supported computers
BIOS setup through WMI is supported on the following new ThinkPad products
only:
v R400
v R500
v T400
v T500
v W500
v W510
v W700
v W700ds
v W701
v X200
v X200s
v X200 Tablet
v X301
v T400s
v X201
v X201s
v T410
v T410s
v T510
2 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide
Chapter 2. Script classes and parameters
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.
v Namespace: ″\root\WMI″
v Base Class: ″Lenovo_BIOSElement″
v Interface details (see Table 1)
Table 1. Interface Details
Class Name Type Parameter / Return Example
Lenovo_BiosSetting Query CurrentSetting: ″Item,Value″ ″WakeOnLAN,Enable″
Lenovo_SetBiosSetting Method ″Item,Value,Password,Encoding, ″WakeOnLAN,Disable,pswd,
KbdLang;″ ascii,us;″
Lenovo_SaveBios Method ″Password,Encoding,KbdLang;″ ″pswd,ascii,us;″
Settings
Lenovo_DiscardBios Method ″Password,Encoding,KbdLang;″ ″pswd,ascii,us;″
Settings
Lenovo_LoadDefault Method ″Password,Encoding,KbdLang;″ ″pswd,ascii,us;″
Settings
Lenovo_SetBios Method ″PasswordType,CurrentPassword, ″pop,oldpop,newpop,ascii,us;”
Password NewPassword, Encoding,KbdLang;″
Notes:
1. See Appendix A, “Sample Visual Basic scripts for configuring BIOS settings,”
on page 23 for Visual Basic sample scripts.
2. See Appendix B, “Sample PowerShell scripts for remote BIOS management,” on
page 31 for PowerShell sample scripts.
3. See Table 4 on page 4 for a listing of acceptable setting names.
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 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 problem. If a
Denied supervisor password exists, the correct supervisor password must be
provided.
© Copyright Lenovo 2008 3
Table 2. Return Types (continued)
Return Type Description
System Busy BIOS changes have already been made that need to be committed. Reboot
the system and try again
Password Authentication
If a supervisor password is already set, you must specify that supervisor password
before you can change any BIOS settings.
The format for password parameters is ″abc,ascii,us″ with descriptions in Table 3.
Table 3. Password parameters format, password authentication
Parameter Description Possible selections
Parameter 1 Current password v “abc” - raw ascii character
v “1e302e” - scancode
Parameter 2 Password encoding v “ascii”
v “scancode”
Parameter 3 Keyboard languages v ″us″ - English US, English UK,
(valid only if encoding is ″ascii″) Chinese-Traditional, Danish, Dutch,
French-Canadian, Italian, Japanese, Korean,
Norwegian, Polish, Portuguese,
Spanish-European, Spanish-Latin American,
Swiss, Turkish
v ″fr″ - French-European, Belgian
v ″gr″ - German, Czech, Slovak, Slovenian
Available BIOS setting names
Some BIOS settings are dependent on the presence of certain hardware features.
Settings might vary on different computers.
Notes:
1. BIOS settings and values are case sensitive.
2. 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 default? Supported products
WakeOnLAN “Enable”, ”Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s
WakeOnLAN ″Enable″, ″Disable″, N X201, X201s, T410,
″ACOnly″, T410s, T510, W510
″ACandBattery″
4 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide
Table 4. List of available BIOS settings (continued)
Item name Selection name Load default? Supported products
FlashOverLAN “Enable”, ”Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
EthernetLANOptionROM “Enable”, ”Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
HarddriveDMA “Enable”, ”Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
WirelessLANAndWiMAXRadios “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
SerialPort “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet
SerialPortIO “3F8”, “2F8”, “3E8”, Y R400, R500, T400, T500,
“2E8” W500, X200, X200s,
X200 Tablet
SerialPortIRQ “3”, “4”, “5”, “7” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet
ParallelPort “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet
ParallelPortMode ″OutputOnly″, Y R400, R500, T400, T500,
″BiDirectional″, ″ECP″ W500, X200, X200s,
X200 Tablet
ParallelPortIO “378”, “278”, “3BC” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet
ParallelPortIRQ “5”, “7” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet
ParallelPortDMA ″0”, “1”, “3” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet
Chapter 2. Script classes and parameters 5
Table 4. List of available BIOS settings (continued)
Item name Selection name Load default? Supported products
PCIINTA “Disable”, “Auto Y R400, R500, T400, T500,
Select”, “3”, “4”, “5”, W500, X200, X200s,
“6”, “7”, “9”, “10”, “11” X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
PCIINTB “Disable”, “Auto Y R400, R500, T400, T500,
Select”, “3”, “4”, “5”, W500, X200, X200s,
“6”, “7”, “9”, “10”, “11” X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
PCIINTC “Disable”, “Auto Y R400, R500, T400, T500,
Select”, “3”, “4”, “5”, W500, X200, X200s,
“6”, “7”, “9”, “10”, “11” X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
PCIINTD “Disable”, “Auto Y R400, R500, T400, T500,
Select”, “3”, “4”, “5”, W500, X200, X200s,
“6”, “7”, “9”, “10”, “11” X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
PCIINTE “Disable”, “Auto Y R400, R500, T400, T500,
Select”, “3”, “4”, “5”, W500, X200, X200s,
“6”, “7”, “9”, “10”, “11” X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
PCIINTF “Disable”, “Auto Y R400, R500, T400, T500,
Select”, “3”, “4”, “5”, W500, X200, X200s,
“6”, “7”, “9”, “10”, “11” X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
PCIINTG “Disable”, “Auto Y R400, R500, T400, T500,
Select”, “3”, “4”, “5”, W500, X200, X200s,
“6”, “7”, “9”, “10”, “11” X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
6 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide
Table 4. List of available BIOS settings (continued)
Item name Selection name Load default? Supported products
PCIINTH “Disable”, “Auto Y R400, R500, T400, T500,
Select”, “3”, “4”, “5”, W500, X200, X200s,
“6”, “7”, “9”, “10”, “11” X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
USBBIOSSupport “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
AlwaysOnUSB “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
AlwaysOnUSBMode ″Blackberry″, Y T400s
″iPodiPhone″,
″OtherUSBDevices″
AlwaysOnUSBMode ″Blackberry″, Y X201, X201s, T410,
″iPodiPhone″, T410s, T510, W510
″OtherUSBDevices″,
″Automatic″
TrackPoint “Disable”, “Automatic” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
FnCtrlKeySwap ″Disable″, ″Automatic″ Y X201, X201s, T410,
T410s, T510, W510
TouchPad “Disable”, “Automatic” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
FnKeyLock “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
Chapter 2. Script classes and parameters 7
Table 4. List of available BIOS settings (continued)
Item name Selection name Load default? Supported products
ThinkPadNumLock “Independent”, Y R400, R500, T400, T500,
“Synchronized” W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
PowerOnNumLock “Auto”, “On”, “Off” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
PrimaryVideo “PCIExpress”, Y R400, R500, T400, T500,
“Internal” W500, X200, X200s,
X200 Tablet, W700,
W701, W700ds
BootDisplayDevice “LCD”, “VGA”, Y R400, R500, T400, T500,
“DisplayPort”, ”DVI” W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s
BootDisplayDevice “LCD”, “VGA”, Yq X201, X201s, T410,
″Digital″, T410s, T510, W510
″Digital1onDock″,
″Digital2onDock″
GraphicsDevice ″IntegratedGfx″, Y R400, R500, T400, T500,
″DiscreteGfx″, W500, X200, X200s,
″SwitchableGfx″ X200 Tablet, X201,
X201s, T410, T410s,
T510, W510
OsDetectionForSwitchableGraphics Enable”, ”Disable Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X201,
X201s, T410, T410s,
T510, W510
TimerWakeWithBattery “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
SpeedStep “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
8 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide
Table 4. List of available BIOS settings (continued)
Item name Selection name Load default? Supported products
SpeedStepModeAC “MaximumPerformance”, Y R400, R500, T400, T500,
“BatteryOptimized”, W500, X200, X200s,
“MaximumBattery”, X200 Tablet, X301,
“Automatic” W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
SpeedStepModeBattery “MaximumPerformance”, Y R400, R500, T400, T500,
“BatteryOptimized”, W500, X200, X200s,
“MaximumBattery”, X200 Tablet, X301,
“Automatic” W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
AdaptiveThermalManagementAC “MaximizePerformance”, Y R400, R500, T400, T500,
“Balanced” W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
AdaptiveThermalManagementBattery “MaximizePerformance”, Y R400, R500, T400, T500,
“Balanced” W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
CDRomSpeed “High”, “Normal”, Y R400, R500, T400, T500,
“Silent” W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
CPUPowerManagement “Disable”, ”Automatic” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
PCIPowerManagement “Disable”, ”Automatic” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
Chapter 2. Script classes and parameters 9
Table 4. List of available BIOS settings (continued)
Item name Selection name Load default? Supported products
PCIExpressPowerManagement ″Disable″, ″Automatic″ Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
PowerControlBeep “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
LowBatteryAlarm “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
PasswordBeep “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
KeyboardBeep “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
ExtendedMemoryTest “Enable”, ”Disable” Y R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
SATAControllerMode ″Compatibility″, Y R400, R500, T400, T500,
″AHCI″ W500, X200, X200s,
X200 Tablet, X301,
T400s, X201, X201s,
T410, T410s, T510,
W510
SATAControllerMode ″Compatibility″, Y W700, W700ds
″AHCI″, ″RAID″
10 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide
Table 4. List of available BIOS settings (continued)
Item name Selection name Load default? Supported products
CoreMultiProcessing “Enable”, ”Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
HyperThreadingTechnology “Enable”, ”Disable” Y X201, X201s, T410,
T410s, T510, W510
VirtualizationTechnology “Enable”, ”Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
VTdFeature “Enable”, ”Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
AMTControl “Enable”, “Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
IDERForNormalBoot ″Hidden″, ″NotHidden″ N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s
LegacyDevicesOnMiniDock “Enable”, “Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet
HardwarePasswordManager “Enable”, “Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
Passphrase “Enable”, ”Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
Chapter 2. Script classes and parameters 11
Table 4. List of available BIOS settings (continued)
Item name Selection name Load default? Supported products
LockBIOSSetting “Enable”, ”Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
MinimumPasswordLength “Disable”, “4”, “5”, “6”, N R400, R500, T400, T500,
“7”, “8”, “9”, “10”, W500, X200, X200s,
“11”, “12” X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
BIOSPasswordAtUnattendedBoot “Enable”, ”Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
FingerprintPredesktopAuthentication “Enable”, ”Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
FingerprintReaderPriority “External”, N R400, R500, T400, T500,
“InternalOnly” W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
FingerprintSecurityMode “Normal”, “High” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
FingerprintPasswordAuthentication “Enable”, ”Disable” N R400, R500, T400, T500,
W500, X200, X200s,
X200 Tablet, X301,
W700, W701, W700ds,
T400s, X201, X201s,
T410, T410s, T510,
W510
12 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide