Lenovo ThinkStation C20 Deployment Manual

Bios windows management instrumentation interface deployment guide
Hide thumbs Also See for ThinkStation C20:

Advertisement

Lenovo BIOS Windows
Management Instrumentation
Interface Deployment Guide for
Workstations (S20/D20/C20)
Date: September 2010

Advertisement

Table of Contents
loading

Summary of Contents for Lenovo ThinkStation C20

  • Page 1 Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Workstations (S20/D20/C20) Date: September 2010...
  • Page 2 First Edition (September 2010)   © Copyright Lenovo 2010.  All rights reserved. ...
  • Page 3: Table Of Contents

    List all BIOS settings on the remote computer ....................18 Set a single BIOS setting on a remote computer..................... 18 Set a single BIOS setting on a remote computer when a Administrator password exists ....... 19 Appendix B. Notices ......................22 Trademarks ..............................23 @Copyright Lenovo 2010...
  • 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 2010...
  • 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 2010...
  • Page 8: Function

    ·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  Thinkstation products  only:   S20/C20/D20  ·Thinkstation Thinkstation S20 requires BIOS version 60KT40A or later Thinkstation C20/C20x/D20 requires BIOS version 61KT44A or later Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Workstations...
  • Page 9: Chapter 2. Script Classes And Parameter

    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 Supported   The feature is not supported on this system.  InvalidParameter   The item or value provided is not valid.  The change could not be made due to an authentication problem.   Access Denied   If a supervisor password exists, the correct supervisor password  must be provided.  System Busy BIOS changes have already been made that neet to be committed. Reboot the system and try again. @Copyright Lenovo 2010...
  • Page 10: Password Authentication

    "3F8", "2F8", "3E8", "2E8" "Serial B Interrupt" "IRQ3", "IRQ4" "USB Support" “Disabled”, “Enabled” "USB Front Ports" “Disabled”, “Enabled” "USB Card Reader" “Disabled”, “Enabled” “Serial ATA” “Disabled”, “Enabled "Native Mode Operation" "Automatic", "Serial ATA" Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Workstations...
  • Page 11 "Stay Off", "Last State", "Power On" "EuP lot 6" “Disabled”, “Enabled” "Wake on LAN" "Disabled", "Automatic", "Primary" "PCI Wake Up" "Disabled", "Automatic", "Primary" "PCI Modem Ring Detect" "Disabled", "Automatic", "Primary" "Serial Port A Ring Detect" "Disabled", "Automatic", "Primary" @Copyright Lenovo 2010...
  • Page 12 "PCI BEV 1", "PCI LAN 1", "PCI BEV 2", "PCI BEV 3", "PCI BEV 4", "PCI SCSI", "SCSI 0", "SCSI 1", "SCSI 2", "SCSI 3", "SCSI 4", "SCSI 5", "Nothing Here" Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Workstations...
  • Page 13 "Stay Off", "Last State", "Power On" "EuP lot 6" “Disabled”, “Enabled” "Wake on LAN" "Disabled", "Automatic", "Primary" "PCI Wake Up" "Disabled", "Automatic", "Primary" "PCI Modem Ring Detect" "Disabled", "Automatic", "Primary" "Serial Port A Ring Detect" "Disabled", "Automatic", "Primary" @Copyright Lenovo 2010...
  • Page 14 "PCI BEV 1", "PCI LAN 1", "PCI BEV 2", "PCI BEV 3", "PCI BEV 4", "PCI SCSI", "SCSI 0", "SCSI 1", "SCSI 2", "SCSI 3", "SCSI 4", "SCSI 5", "Nothing Here" Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Workstations...
  • Page 15 "Stay Off", "Last State", "Power On" "EuP lot 6" “Disabled”, “Enabled” "Wake on LAN" "Disabled", "Automatic", "Primary" "PCI Wake Up" "Disabled", "Automatic", "Primary" "PCI Modem Ring Detect" "Disabled", "Automatic", "Primary" "Serial Port A Ring Detect" "Disabled", "Automatic", "Primary" @Copyright Lenovo 2010...
  • Page 16 "PCI BEV 1", "PCI LAN 1", "PCI BEV 2", "PCI BEV 3", "PCI BEV 4", "PCI SCSI", "SCSI 0", "SCSI 1", "SCSI 2", "SCSI 3", "SCSI 4", "SCSI 5", "Nothing Here" Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Workstations...
  • Page 17: 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 Startup Sequence To change the startup sequqence, complete the  foll\ owing steps:   Determine the current setting for "StartupSequence" by using   @Copyright Lenovo 2010...
  • Page 18: 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 Workstations...
  • Page 19: 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 2010...
  • Page 21: 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   script 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 22: 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 Workstations...
  • Page 23: 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 2010...
  • Page 24: 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 Workstations...
  • Page 25: 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 2010...
  • Page 26 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 Workstations...
  • Page 27: 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 28: 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   Thinkstation   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 Workstations...

This manual is also suitable for:

Thinkstation c20xThinkstation d20Thinkstation s20

Table of Contents