Lenovo ThinkCentre M58 Deployment Manual

Lenovo ThinkCentre M58 Deployment Manual

Bios windows management instrumentation interface
Hide thumbs Also See for ThinkCentre M58:

Advertisement

Lenovo BIOS Windows
Management Instrumentation
Interface Deployment Guide for
Desktop
Date: June 2009

Advertisement

Table of Contents
loading

Summary of Contents for Lenovo ThinkCentre M58

  • Page 1 Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop Date: June 2009...
  • Page 2 First Edition (June 2009)   © Copyright Lenovo 2009. All rights reserved. ...
  • Page 3: Table Of Contents

    List all BIOS settings on the remote computer ....................14 Set a single BIOS setting on a remote computer..................... 14 Set a single BIOS setting on a remote computer when a Administrator password exists ....... 15 Appendix B. Notices ......................17 Trademarks ..............................18 @Copyright Lenovo 2009...
  • Page 5: Preface

    Preface The purpose of this guide is to explain how to modify BIOS  settings and 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 2009...
  • Page 7: Chapter 1. Overview

    Chapter 1. Overview IT administrators are always looking for easier ways to manage  client computer BIOS settings, which include hardware settings  and 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, 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 operating  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.    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 2009...
  • Page 8: Function

    Function ·Flexible BIOS configuration, including the ability to change a  single BIOS setting or all BIOS settings ·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 is supported on the following new  Thinkcentre products only:   ·Thinkcentre M58/M58p  Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 9: Chapter 2. Script Classes And Parameter

    You  will  receive  one  of  the  following  return  types  after  making  settings: changes to BIOS    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  Denied problem. If  a supervisor password exists, the  correct supervisor  password must be provided. @Copyright Lenovo 2009...
  • Page 10: Password Authentication

    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  USB Support ʺDisabledʺ,ʺEnabledʺ USB Front PORTS ʺDisabledʺ,ʺEnabledʺ USB Rear PORTS ʺDisabledʺ,ʺEnabledʺ USB1 ʺDisabledʺ,ʺEnabledʺ USB2 ʺDisabledʺ,ʺEnabledʺ USB3 ʺDisabledʺ,ʺEnabledʺ USB4 ʺDisabledʺ,ʺEnabledʺ USB5 ʺDisabledʺ,ʺEnabledʺ USB6 ʺDisabledʺ,ʺEnabledʺ Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 11 ʺC1ʺ,ʺC12ʺ,ʺC123ʺ,ʺC1234ʺ  Y  Execute Disable Bit  ʺEnabledʺ, ʺDisabledʺ  Y  MEBx Reset  ʺDisabledʺ,ʺEnabledʺ  Y  Press <CTRL‐P> to enter MEBx  ʺDisabledʺ,ʺEnabledʺ  Y  Console Type  ʺVT100ʺ,ʺVT100 8bitʺ,ʺPC‐Ansi 7bitʺ,ʺPC  Y  ANSIʺ,ʺVT100+ʺ, ʺVT‐UTF8ʺ,ʺASCIIʺ    Continue C.R. after POST  ʺAutomaticʺ, ʺEnabledʺ, ʺDisabledʺ  Y  After Power Loss  ʺStay Offʺ, ʺLast Stateʺ, ʺPower onʺ  Y  Hard Disk Timeout  ʺDisabledʺ,ʺEnabledʺ  Y  Wake on LAN  ʺDisabledʺ, ʺAutomaticʺ, ʺPrimaryʺ  Y  PCI Modem Ring Detect  ʺDisabledʺ, ʺAutomaticʺ, ʺPrimaryʺ  Y  Serial Port A Ring Detect  ʺDisabledʺ, ʺAutomaticʺ, ʺPrimaryʺ  Y  PCI Wake Up  ʺDisabledʺ, ʺAutomaticʺ, ʺPrimaryʺ  Y  @Copyright Lenovo 2009...
  • Page 12   USB_LS120ʺ,ʺPCI_BEVʺ,ʺPCI_SCSIʺ,ʺAHCI_HD   Dʺ,ʺAHCI_CDʺ,ʺBootable Add‐in Cardsʺ,    ʺNothing Hereʺ,    Automatic Startup Sequence  ʺUN_DEFINEDʺ,ʺIDE_HDDʺ,ʺIDE_CDʺ,ʺUSB_F Y  DCʺ,ʺUSB_HDDʺ,ʺUSB_KEYʺ,ʺUSB_CDROMʺ,ʺ USB_LS120ʺ,ʺPCI_BEVʺ,ʺPCI_SCSIʺ,ʺAHCI_HD Dʺ,ʺAHCI_CDʺ,ʺBootable Add‐in Cardsʺ,  ʺNothing Hereʺ,    Error Startup Sequence  ʺUN_DEFINEDʺ,ʺIDE_HDDʺ,ʺIDE_CDʺ,ʺUSB_F Y  DCʺ,ʺUSB_HDDʺ,ʺUSB_KEYʺ,ʺUSB_CDROMʺ,ʺ USB_LS120ʺ,ʺPCI_BEVʺ,ʺPCI_SCSIʺ,ʺAHCI_HD Dʺ,ʺAHCI_CDʺ,ʺBootable Add‐in Cardsʺ,  ʺNothing Hereʺ,  Manufacturing Startup Sequence  ʺUN_DEFINEDʺ,ʺIDE_HDDʺ,ʺIDE_CDʺ,ʺUSB_F Y  DCʺ,ʺUSB_HDDʺ,ʺUSB_KEYʺ,ʺUSB_CDROMʺ,ʺ USB_LS120ʺ,ʺPCI_BEVʺ,ʺPCI_SCSIʺ,ʺAHCI_HD Dʺ,ʺAHCI_CDʺ,ʺBootable Add‐in Cardsʺ,  ʺNothing Hereʺ,    Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 13: Chapter 3. Typical Usage

    12  and  “Set  a  single  BIOS  setting  on  a  remote  computer” on page 14 for sample scripts).    Note: BIOS settings and values are case sensitive.    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 2009...
  • Page 14: Restoring Default Settings

    CD  drive  0  is  the  first  boot  device  and  hard  disk  drive 0 is the second startup device.  AHCI_CD:AHCI_HDD Restoring default settings To restore default BIOS settings, use the Lenovo_LoadDefaultSettings class,  and  then use  the  Lenovo_SaveBiosSettings  class  to save  the  BIOS  changes  (see sample scripts).  Limitations The following WMI limitations exist for BIOS setup:   ·Password setting and changing are not supported .  Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 15: Chapter 4. Security

    WMI‐based  administration  scripts  to  establish  an  encrypted  remote connection as follows:  1.      Set an impersonation level of ″impersonate″  2.      Set an authentication level of ″pktPrivacy″    See  Appendix  A,  “Sample  Visual  Basic  scripts  for  configuring  BIOS  settings,”  on  page  11  for  sample  scripts  used  to  implement  WMI‐based  administration scripts that include these parameters for encryption. @Copyright Lenovo 2009...
  • Page 17: Appendix A. Sample Visual Basic Scripts For Configuring Bios Settings

    The  Visual  Basic  command  line  scripts  in  the  ZIP  file  are  examples  that you may find helpful when configuring BIOS settings.    The  scripts  in  the  ZIP  file  can  be  used  as‐is  on  Windows  XP  or  Windows  Vista  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 18: 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 19: Set A Single Bios Setting On The Local Computer If A Administration Password Exists

    = 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 WScript.Echo " SetBiosSetting: " + strReturn If strReturn <> "Success" Then WScript.Quit @Copyright Lenovo 2009...
  • Page 20: List All Bios Settings On The Remote Computer

    ObjItem.CurrentSetting, ",")+1,256) WScript.Echo StrItem + " = " + StrValue End If Next Set a single BIOS setting 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] Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 21: Set A Single Bios Setting On A Remote Computer When A Administrator Password Exists

    Set a single BIOS setting on a remote computer when a Administrator password exists Use the sample scripts in the ZIP file as templates to set a single  BIOS setting on a remote computer when a supervisor password  exists.    Syntax:  cscript.exe SetConfigPasswordRemote.vbs [Item] [Value] [Password + Encoding] [Hostname] Example:  cscript.exe SetConfigPasswordRemote.vbs “ Wake on LAN” Disabled pass,ascii,us mattdev-c5 ’ ’ Set specific BIOS Setting @Copyright Lenovo 2009...
  • Page 22 If strReturn < > "Success" Then WScript.Quit End If colItems objWMIService.ExecQuery("Select from Lenovo_SaveBiosSettings") strReturn = "error" Each objItem in colItems ObjItem.SaveBiosSettings WScript.Arguments(2)+",", strReturn Next WScript.Echo strRequest WScript.Echo " SaveBiosSettings: " + strReturn Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...
  • Page 23: Appendix B. Notices

    Lenovo may have patents or pending patent applications  covering subject matter described in this document. The  furnishing of this document does not give you any license to  these patents. You can send license inquiries, in writing, to:    Lenovo  (United  States),  Inc  1009  Think  Place   Building  One   Morrisville,  NC  27560     Attention:  Lenovo  Director  of    Licensing     LENOVO GROUP LTD. PROVIDES THIS PUBLICATION “AS IS”  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR  IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  WARRANTIES OF NON‐INFRINGEMENT, MERCHANTABILITY  OR FITNESS FOR A PARTICULAR PURPOSE. Some jurisdictions  do not allow disclaimer of express or implied warranties in certain  transactions, therefore, this statement may not apply to you.    This information could include technical inaccuracies or  typographical errors. Changes are periodically made to the  information herein; these changes will be incorporated in new ...
  • Page 24: Trademarks

    Any references in this publication to non‐Lenovo Web sites are  provided for convenience only and do not in any manner serve as  an endorsement of those 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.  Trademarks The following terms are trademarks of Lenovo in the  United States, other countries, or both:    Lenovo  the  Lenovo  logo   Thinkcentre   ThinkVantage     Microsoft, Windows, Windows Vista, and Active Directory are  trademarks or registered trademarks of Microsoft Corporation  in the United States, other countries, or both.    Other company, product, or service names may be trademarks or  service marks of others.    Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop...

This manual is also suitable for:

Thinkcentre m58p

Table of Contents