Lenovo ThinkCentre M91p Deployment Manual

Lenovo ThinkCentre M91p Deployment Manual

Bios windows management instrumentation interface deployment guide
Hide thumbs Also See for ThinkCentre M91p:

Advertisement

Lenovo BIOS Windows
Management Instrumentation
Interface Deployment Guide for
Desktop
Date:Sep. 2011

Advertisement

Table of Contents
loading

Summary of Contents for Lenovo ThinkCentre M91p

  • Page 1 Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop Date:Sep. 2011...
  • Page 3 Second Edition (Sep. 2011) © Copyright Lenovo 2011. All rights reserved.
  • Page 5: Table Of Contents

    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...
  • Page 7: 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.
  • Page 9: 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).
  • Page 10: Function

    ·Replaces current SMI interface ·Common interface for different products Supported computers BIOS setup through WMI descripted in this document is supported on the following new Thinkcentre products only: ·Thinkcentre M91/M91p Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 11: Chapter 2. Script Classes And Parameter

    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.
  • Page 12 -BIT0=1:User hard disk password is installed -BIT1=1:Master hard disk password is installed Port1HardDiskPasswordStat e:”Value” Port2HardDiskPasswordStat e:”Value” Port3HardDiskPasswordStat e:”Value” Port4HardDiskPasswordStat e:”Value” Port5HardDiskPasswordStat e:”Value” “PasswordType,CurrentPass “pop,oldpop, Lenovo_SetBiosPassword Method word, newpop,ascii,us;” NewPassword,Encoding,Kb Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 13: Return Types

    ·″us″ - English US, English, Parameter 3 Keyboard languages French-Canadian, Italian, Japanese, (valid only if encoding is ″ascii″) Korean, Norwegian, Polish, Portuguese, Spanish-European, Spanish-Latin American, Swiss, Turkish ·″fr″ - French-European, Belgian ·″gr″ - German, Czech, Slovak, Slovenian @Copyright Lenovo 2011...
  • Page 14: Available Bios Setting Names

    USB Port 5 "Enabled","Disabled" &Rear USB Ports USB Support USB Port 6 "Enabled","Disabled" &Rear USB Ports USB Support USB Port 7 "Enabled","Disabled" &Rear USB Ports USB Port 8 "Enabled","Disabled" USB Support Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 15 Intel (R)Virtualization "Disabled","Enabled" Technology Intel (R) VT-d "Disabled","Enabled" Virtualization Technology Intel (R) Virtualization "Disabled","Enabled" Technology or VT-d C State Support "C1","C1C3","C1C3C6" Turbo Mode "Disabled","Enabled" Onboard Intel(R) Manageability "Disabled","Enabled" Ethernet Control Controller Onboard Intel(R) Manageability "Disabled","Enabled" Ethernet Reset Controller @Copyright Lenovo 2011...
  • Page 16 "Floppy Drive", "Hard Drive", Controller& "CD/DVD Drive", "Network Card", Onboard Primary Boot Sequence "USB Floppy", "USB Hard Disk", Ethernet "USB CD/DVD", "USB Key" Controller& USB Support SATA Controller& Automatic Boot Sequence Onboard Ethernet Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 17 Legacy Style means MTM&SN-1 means concatenation of Machine Type with Serial Number (mmmmsssssss) MTM&SN-2 means concatenation of Machine Type/Model and Serial Number (mmmmmmmsssssss) concatenation of "1S", Machine Type/Model and Serial Number 1S-MTM-SN means (1Smmmmmmmsssssss) @Copyright Lenovo 2011...
  • Page 19: Chapter 3. Typical Usage

    After making changes to the BIOS settings, you must reboot the computer before the changes will take effect. Changing the boot order To change the boot order, complete the following steps: Determine the current setting for “BootOrder” by using the @Copyright Lenovo 2011...
  • Page 20: Restoring Default Settings

    “abc”:raw ascii character Parameter 2 password “1e302e”:scancode string “def”:raw ascii character New password Parameter 3 “201221”:scancode string “ascii” Password Parameter 4 “Scancode” encoding Parameter 5 “us″- English US, English UK, · Keyboard Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 21: Limitations

    Disabled or with special setting, this item will be hidden and can not be updated through WMI. Please reference for detail relationship Table 4 between items. @Copyright Lenovo 2011...
  • Page 23: Chapter 4. Security

    Set an impersonation level of ″impersonate″ Set an authentication level of ″pktPrivacy″ See Appendix A, “Sample Visual Basic scripts for configuring BIOS settings,” on page 15 for sample scripts used to implement WMI-based administration scripts that include these parameters for encryption. @Copyright Lenovo 2011...
  • 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, you must run the scripts from an administrator command prompt.
  • Page 26: List All Bios Settings On The Local Computer

    = "LOCALHOST" ‟ Change as needed. objWMIService = GetObject("WinMgmts:"_ &"{ImpersonationLevel=Impersonate}!\\" & strComputer _ &"\root\wmi") colItems = objWMIService.ExecQuery("Select * from Lenovo_SetBiosSetting") Each objItem in colItems ObjItem.SetBiosSetting strRequest, strReturn Next WScript.Echo strRequest Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 27: Set A Single Bios Setting On The Local Computer If A Administrator Password Exists

    = objWMIService.ExecQuery("Select * from Lenovo_SetBiosSetting") Each objItem in colItems ObjItem.SetBiosSetting strRequest, strReturn Next WScript.Echo strRequest WScript.Echo " SetBiosSetting: " + strReturn If strReturn < > "Success" Then WScript.Quit End If colItems = objWMIService.ExecQuery("Select * from Lenovo_SaveBiosSettings) @Copyright Lenovo 2011...
  • Page 28: List All Bios Settings On A 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 “Wake Up on LAN” Disabled mattdev-c5 ‟ ‟ Set specific BIOS Setting Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 29: Set A Single Bios Setting On A Remote Computer When A Administrator Password Exists

    [Value] [Password+Encoding] [Hostname] Example: cscript.exe SetConfigPasswordRemote.vbs “Wake Up on LAN” Disabled “pass,ascii,us” mattdev-c5 ‟ ‟ Set specific BIOS Setting ‟ Error Resume Next Dim colItems If WScript.Arguments.Count < > 4 Then WScript.Echo "SetConfigPasswordRemote.vbs [Item] [value] [password+encoding] [hostname]" WScript.Quit @Copyright Lenovo 2011...
  • Page 30: Set A Administrator Password On The Local Computer When A Administrator Password Exists

    Dim colItems If WScript.Arguments.Count < > 3 Then WScript.Echo "SetAdminPassword.vbs [oldpassword] [newpassword] [encoding]" WScript.Quit End If strRequest=“pap,”+WScript.Arguments(0)+","+ WScript.Arguments(1) + ","Wscript.Arguments(2)+”;” strCompter = “LOCALHOST” „change as needed objWMIService = GetObject("WinMgmts:" _ Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 31: Set A Administrator Password On A Remote Computer When A Administrator Password Exists

    = Wscript.Arguments(3) „change as needed objWMIService = GetObject("WinMgmts:" _ &"{ImpersonationLevel=Impersonate," _ &"authenticationLevel=pktPrivacy}!\\" _ & strComputer & "\root\wmi") colItems objWMIService.ExecQuery("Select from Lenovo_SetBiosPassword") strReturn = “error” Each objItem in colItems ObjItem.SetBiosPassword strRequest, strReturn Next WScript.Echo strRequest WScript.Echo " SetBiosPassword: " + strReturn @Copyright Lenovo 2011...
  • Page 33: Appendix B. Notices

    Any reference to a 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 34: Trademarks

    Web sites. The materials at those Web sites are not part of the materials for this Lenovo product, and use of those Web sites is at your own risk.

This manual is also suitable for:

Thinkcentre m91Thinkcentre m81

Table of Contents