hit counter script
Lenovo ThinkPad T400 Deployment Manual

Lenovo ThinkPad T400 Deployment Manual

Bios setup using windows management instrumentation deployment guide
Hide thumbs Also See for ThinkPad T400:

Advertisement

Lenovo BIOS Setup using Windows
Management Instrumentation Deployment
Guide

Advertisement

Table of Contents
loading

Summary of Contents for Lenovo ThinkPad T400

  • Page 1 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 3 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 4 Note: Before using the information in this document, read Appendix C “Notices” on page 29. Sixth Edition (August 2012) © Copyright Lenovo 2008, 2012. LIMITED AND RESTRICTED RIGHTS NOTICE: If data or software is delivered pursuant a General Services Administration...
  • Page 5: Table Of Contents

    Appendix C. Notices..29 Trademarks ....Chapter 4. Security ..15 © Copyright Lenovo 2008, 2012...
  • Page 6 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 7: Preface

    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: http://www.lenovo.com/support...
  • Page 8 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 9: Chapter 1. Overview

    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.
  • Page 10: Environment

    • T420, T420i, T420s, T420si, T520, T520i, W520, X220, X220i, X220 Tablet, X220i Tablet • X1 • T430, T430s, T430si, T530, W530 • X230, X230i, X230 Tablet • L430, L530 • T430u • X1 Carbon Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 11: Chapter 2. Script Classes And Parameters

    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. • Namespace: "\root\WMI" • Base Class: "Lenovo_BIOSElement" • Interface details (see Table 1 “Interface Details” on page 3 ) Table 1.
  • Page 12: Password Authentication

    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. Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 13 The numbers listed in the Supported products column in Table 4 “List of available BIOS settings” on page 5 mean the following: 1 - R400, R500, T400, T500, W500, X200, X200s, X200 Tablet 2 - X301 3 - W700, W700ds, W701 4 - T400s 5 - X201, X201s, T410, T410s, T510, W510 6 - T420, T420i, T420s, T420si, T520, T520i, W520, X220, X220i, X220 Tablet, X220i Tablet...
  • Page 14 “Independent”, 1, 2, 3, 4, 5, 6, 7 “Synchronized” PowerOnNumLock “Auto”, “On”, “Off” 1, 2, 3, 4, 5, 6, 7 KeyboardIllumination “ThinkLightOnly”, 8, 9 “BacklightOnly”, “Both” PrimaryVideo “PCIExpress”, 1, 3 “Internal” Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 15 Table 4. List of available BIOS settings (continued) Item name Selection name Load default? Supported products BootDisplayDevice “LCD”, “VGA”, 1, 2, 3, 4 “DisplayPort”, “DVI” “LCD”, “VGA”, “Digital”, 5, 6, 7, 8, 9, 10, 11, 12 “Digital1onDock”, “Digital2onDock” “LCD”, “Digital” GraphicsDevice “IntegratedGfx”, 1, 5, 6, 7, 8...
  • Page 16 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, SecurityChip “Disable” 11, 12 PhysicalPresenceForTpmProvision “Enable”, “Disable” 8, 9, 10, 11, 12 Note: It is not supported to set this feature to “Disable” because of security reason. Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 17 Table 4. List of available BIOS settings (continued) Item name Selection name Load default? Supported products PhysicalPresenceForTpmClear “Enable”, “Disable” 8, 9, 10, 11, 12 Note: It is not supported to set this feature to “Disable” because of security reason. TXTFeature “Enable”, “Disable”...
  • Page 18 NetworkBoot “HDD0”, “HDD1”, 6, 7, 8, 9, 10, 11 “HDD2”, “HDD3”, “HDD4”, “PCILAN”, “ATAPICD0”, “ATAPICD1”, “ATAPICD2”, “USBFDD”, “USBCD”, “USBHDD”, ”OtherHDD”, “OtherCD” BootOrderLock “Enable”, “Disable” 6, 7, 8, 9, 10, 11, 12 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 19 Table 4. List of available BIOS settings (continued) Item name Selection name Load default? Supported products RapidBoot “Normal”, “Diagnostics”, “Rapid” ReserveMemoryForUEFIBootManager “Enable”, “Disable” DuplicityCfg “Enable”, “Disable” Chapter 2 Script classes and parameters...
  • Page 20 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 21: Chapter 3. Typical Usage

    Devices that are not specified are excluded from the boot order. In the following example, the CD drive 0 is the first boot device and hard disk drive 0 is the second startup device. ATAPICD0:HDD0 © Copyright Lenovo 2008, 2012...
  • Page 22: Restoring Default Settings

    (HDP). If you want to change BIOS settings and POP or HDP, you must reboot the system after changing one of them. • A password cannot be set using this method when one does not already exist. Passwords can only be updated or cleared. Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 23: Chapter 4. Security

    2. Set an authentication level of "pktPrivacy" See Appendix A “Sample Visual Basic scripts for configuring BIOS settings” on page 17 for sample scripts used to implement WMI-based administration scripts that include these parameters for encryption. © Copyright Lenovo 2008, 2012...
  • Page 24 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 25: Appendix A. Sample Visual Basic Scripts For Configuring Bios Settings

    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 scripts 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.
  • Page 26: Set A Single Bios Setting On The Local Computer

    Set colItems = objWMIService.ExecQuery("Select * from Lenovo_SetBiosSetting") For Each objItem in colItems ObjItem.SetBiosSetting strRequest, strReturn Next WScript.Echo strRequest WScript.Echo " SetBiosSetting: " + strReturn If strReturn <> "Success" Then WScript.Quit End If Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 27: Set A Single Bios Setting On The Local Computer If A Supervisor Password Exists

    Set colItems = objWMIService.ExecQuery("Select * from Lenovo_SaveBiosSettings") strReturn = "error" For Each objItem in colItems ObjItem.SaveBiosSettings ";", strReturn Next WScript.Echo strRequest WScript.Echo " SaveBiosSettings: " + strReturn Set a single BIOS setting on the local computer if a supervisor password exists Use the sample scripts in the ZIP file as templates to set a single BIOS setting on the local computer if a supervisor password exists.
  • Page 28: List All Bios Settings On The 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]Example: cscript.exe SetConfigRemote.vbs WakeOnLAN Disable mattdev-c5 ' Set specific BIOS Setting On Error Resume Next Dim colItems If WScript.Arguments.Count <> 3 Then Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 29: Set A Single Bios Setting On A Remote Computer When A Supervisor Password Exists

    WScript.Echo "SetConfigRemote.vbs [setting] [value] [hostname]" WScript.Quit End If strRequest = WScript.Arguments(0) + "," + WScript.Arguments(1) + ";" strComputer = WScript.Arguments(2) Set objWMIService = GetObject("WinMgmts:" _ &"{ImpersonationLevel=Impersonate," _ &"authenticationLevel=pktPrivacy}!\\" _ & strComputer & "\root\wmi") Set colItems = objWMIService.ExecQuery("Select * from Lenovo_SetBiosSetting") For Each objItem in colItems ObjItem.SetBiosSetting strRequest, strReturn Next...
  • Page 30: Set A Supervisor Password On The Local Computer When A Supervisor Password Exists

    Example: cscript.exe SetSupervisorPassword.vbs oldpass newpass ascii,us ' Update Admnistrator Password On Error Resume Next Dim colItems If WScript.Arguments.Count <> 3 Then WScript.Echo "SetSupervisorPassword.vbs [old Password] [new Password] [encoding]" WScript.Quit End If Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 31: Set A Supervisor Password On A Remote Computer When A Supervisor Password Exists

    strRequest = "pap," + WScript.Arguments(0) + "," + WScript.Arguments(1) + "," + WScript.Arguments(2) + ";" strComputer = "LOCALHOST" ' Change as needed. Set objWMIService = GetObject("WinMgmts:" _ &"{ImpersonationLevel=Impersonate}!\\" & strComputer & "\root\wmi") Set colItems = objWMIService.ExecQuery("Select * from Lenovo_SetBiosPassword") strReturn = "error" For Each objItem in colItems ObjItem.SetBiosPassword strRequest, strReturn Next...
  • Page 32 Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 33: Appendix B. Sample Powershell Scripts For Remote Bios Management

    PCIINTB = 11 PCIINTC = 11 PCIINTD = 11 PCIINTE = 11 PCIINTF = 11 PCIINTG = 11 PCIINTH = 11 USBBIOSSupport = Enable AlwaysOnUSB = Disable TrackPoint = Automatic TouchPad = Automatic FnKeyLock = Disable © Copyright Lenovo 2008, 2012...
  • Page 34: Show A Particular Bios Setting

    Show a particular BIOS setting Use the sample scripts in the ZIP file as templates to display the current value of a specified setting. Replace "AlwaysOnUSB" with the name of the setting to be queried. Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 35: Setting A Bios Setting

    <Command> gwmi -class Lenovo_BiosSetting -namespace root\wmi | Where-Object {$_.CurrentSetting.split(",",[StringSplitOptions]::RemoveEmptyEntries) -eq "AlwaysOnUSB"} | Format-List CurrentSetting Remote computer: <Command> gwmi -class Lenovo_BiosSetting -namespace root\wmi -ComputerName test-pc -credential (get-credential) | Where-Object {$_.CurrentSetting.split(",",[StringSplitOptions] ::RemoveEmptyEntries) -eq "AlwaysOnUSB"} | Format-List CurrentSetting <Sample output> PS C:\> gwmi -class Lenovo_BiosSetting -namespace root\wmi -ComputerName test-pc -credential (get-credential) | Where-Object {$_.CurrentSetting.split(",", [StringSplitOptions]::RemoveEmptyEntries) -eq "AlwaysOnUSB"} | Format-List CurrentSetting...
  • Page 36 IsInstance : True PS C:\> Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide...
  • Page 37: Appendix C. Notices

    Lenovo representative for information on the products and services currently available in your area. Any reference to an Lenovo product, program, or service is not intended to state or imply that only that Lenovo product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any Lenovo intellectual property right may be used instead.
  • Page 38: Trademarks

    Trademarks The following terms are trademarks of Lenovo in the United States, other countries, or both: Lenovo The Lenovo logo ThinkPad ThinkVantage Microsoft, Windows, Windows Vista, Windows 7, and Active Directory are trademarks of the Microsoft group of companies. Other company, product, or service names may be trademarks or service marks of others.

Table of Contents