Lenovo ThinkCentre M58 Deployment Manual

Type
Deployment Manual

This manual is also suitable for

The Lenovo ThinkCentre M58p is a versatile and powerful desktop computer designed to enhance your productivity and streamline your workflow. With its robust processing capabilities, it can effortlessly handle demanding applications, multitasking, and data-intensive operations. The M58p excels in office environments, educational institutions, and home offices, providing a reliable and efficient computing experience.

The Lenovo ThinkCentre M58p is a versatile and powerful desktop computer designed to enhance your productivity and streamline your workflow. With its robust processing capabilities, it can effortlessly handle demanding applications, multitasking, and data-intensive operations. The M58p excels in office environments, educational institutions, and home offices, providing a reliable and efficient computing experience.

Lenovo BIOS
Windows
M
a
nag
e
m
e
n
t
Instrumentation
In
t
e
rf
a
c
e
Deployment Guide for
Desktop
Date:
June
2009
FirstEdition (June2009)
©CopyrightLenovo2009.Allrightsreserved.
@Copyright Lenovo 2009 I
Contents
Preface....................................................................................................................................III
Chapter 1. Overview ............................................................................................................... 1
Using Windows Management Instrumentation................................................................................................. 1
Key benefits ..................................................................................................................................................... 1
Function................................................................................................................................................... 2
Environment ............................................................................................................................................ 2
Interface................................................................................................................................................... 2
Supported computers ....................................................................................................................................... 2
Chapter 2. Script Classes and Parameter ............................................................................ 3
Configuring BIOS settings .............................................................................................................................. 3
Return types...................................................................................................................................................... 3
Password Authentication.................................................................................................................................4
Available BIOS setting names ........................................................................................................................ 4
Chapter 3. Typical Usage ........................................................................................................7
Listing current BIOS settings.......................................................................................................................... 7
Changing BIOS settings .................................................................................................................................. 7
Changing the boot order .................................................................................................................................. 7
Restoring default settings ................................................................................................................................ 8
Limitations........................................................................................................................................................ 8
Chapter 4. Security.................................................................................................................. 9
Appendix A. Sample Visual Basic scripts for configuring BIOS settings..........................11
Restore default settings................................................................................................................................... 11
List all BIOS settings on the local computer ..................................................................................................12
Set a single BIOS setting on the local computer............................................................................................. 12
Set a single BIOS setting on the local computer if a Administration password exists.................................... 13
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 III
Preface
Thepurposeofthisguideisto explainhowto modifyBIOS
settingsandbootorderusingWindowsManagement
Instrumentation(WMI)throughtheLenovoclientmanagement
interface.ThisguideisintendedforskilledITadministratorswho
are familiarwithconfiguringBIOSsettingson computersintheir
organizations.
Thisguideis providedinaZIPfilepackagethatcontainsthis
deploymentguideaswellasVisualBasicsamplescriptsto use
whenconfiguringBIOSsettings.
Thisdeploymentguideis developedforIT professionalstoassist
withtheuniquechallengesthat theyencounter.If youhave
suggestionsorcomments,communicatewithyourLenovo
®
authorizedrepresentative.Tolearnmoreaboutthetechnologiesthat
canhelpyoulowerthetotalcostof ownershipandtocheckfor
periodicupdatestothisguide,visitthefollowingWebsite:
www.lenovo.com/support
@Copyright Lenovo 2009 1
Chapter 1. Overview
ITadministratorsarealwayslookingforeasierwaysto manage
clientcomputerBIOSsettings,whichincludehardwaresettings
andbootorder.TheLenovoBIOSWMIinterfaceprovidesa
simplifiedwaytochangethesesettings.Lenovohasdevelopeda
BIOSinterfacethatcanbemanipulatedthroughWindows
ManagementInstrumentation(WMI).TheLenovo
BIOSWMI
interfaceenablesITadministratorstomakequeriesoncurrent
BIOSsettings,restoresettingstotheirfactorydefaults,change
singlesettings,andmodifythebootordereitheratclient
computersorremotely.
Using Windows Management Instrumentation
WMIisprovidedasastandardfeatureinmostWindows
®
operating
systems.Itprovidesa powerfulsetof functions,suchas
querybasedinformationretrievalandeventnotification,which
enablesusersto managebothlocalandremotecomputers.The
LenovoBIOSWMIinterfaceextendsthecapabilitiesof WMIto
allowmanagementofBIOSsettings.
ThefollowingillustrationshowshowWMIcanbeusedtoaccess
LenovoBIOSsettings.
WMIusesWindowsScriptHost(WSH)to interpretscripts.Youcan
writeyourscriptsineitherWindowsVisualBasicScriptingEdition
(VBScript)orJavaScript.
Key benefits
TheLenovoBIOSWMIinterfaceprovidesthefollowingbenefits:
Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 2
Function
·FlexibleBIOSconfiguration,includingtheabilitytochangea
singleBIOSsettingorall BIOSsettings
·NodependencyonaspecificBIOSlevel
Environment
·Remoteorlocalcapabilities
·Supportofunattendedoperations
·Nosoftwareinstallation,includingmanagedobjectformat(MOF),
required
·ReplacesDOSbasedBIOSconfigurationtools
Interface
·Easyto adoptforvariousmanagementservers
·ReplacescurrentSMIinterface
·Commoninterfacefordifferentproducts
Supported computers
BIOSsetupthroughWMIis supportedonthefollowingnew
Thinkcentreproductsonly:
·ThinkcentreM58/M58p
@Copyright Lenovo 2009 3
Chapter 2. Script Classes and Parameter
ThischaptercontainsWMIimplementationdetailsforconfiguring
BIOSsettings.
Configuring BIOS settings
Thefollowinginterfacedetailscanbe usedtoaccessLenovoBIOS
settings.
·Namespace:ʺ\root\WMIʺ
·BaseClass:ʺLenovo_BIOSElementʺ
·Interfacedetails(see Table1)
Table 1. Interface Details
Notes:
1. SeeAppendixA,“SampleVisualBasicscriptsforconfiguring
BIOSsettings,”
onpage11forVisualBasicsamplescripts.
2. See Table4onpage4foralistingofacceptablesettingnames.
Return types
You will receive one of the following return types after making
changestoBIOS
settings:
Table 2. Return Types
ReturnType
Description
Success Operationcompletedsuccessfully.
Not
Supported
Thefeatureisnotsupportedonthissystem.
Invalid
Parameter
Theitemorvalueprovidedis notvalid.
Access
Denied
The change could not be made due to an authentication
problem.If a supervisorpasswordexists, the correctsupervisor
passwordmustbeprovided.
ClassName
T
ype
Paramete
r
/
Return Example
Lenovo_BiosSetting Query CurrentSetting:ʺItem,Valueʺ ʺWakeOnLAN,
Lenovo_SetBiosSetting Method
ʺItem,Value,ʺ
ʺWakeOnLAN,
Disabled,ʺ
Lenovo_SaveBiosSetting
s
Method
ʺPassword,Encoding,KbdLang,ʺʺpswd,ascii,us,ʺ
Lenovo_DiscardBios
Settings
Method
ʺ,ʺ ʺ,ʺ
Lenovo_LoadDefault
Settings
Method
ʺ,ʺ ʺ,ʺ
Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 4
SystemBusy
BIOS changes have already been made that need to be
committed.Rebootthesystemandtryagain

Password Authentication
If an Administratorpasswordis alreadyset, you must specify that
administratorpasswordbeforeyoucanchangeanyBIOSsettings.
The format for password parameters isʺabc,ascii,usʺ with
descriptionsin Table3.
Table 3. Password parameters format, password authentication
Parameter
Description
Possibleselections
Parameter1 Currentpassword
·“abc”‐rawasciicharacter
·“1e302e”scancode
Parameter2 Passwordencoding
·“ascii”
·“scancode”
Parameter3 Keyboard languages
(valid only if encoding is ascii)
·us ‐ EnglishUS,English,
FrenchCanadian,Italian,Japanese,
Korean,Norwegian,Polish,
Portuguese,
SpanishEuropean,SpanishLatin
American,Swiss,Turkish
·fr ‐ FrenchEuropean,Belgian
·gr ‐ German,Czech,Slovak,Slovenian
Available BIOS setting names
SomeBIOSsettingsaredependentonthepresenceof certain
hardwarefeatures.Settingsmightvaryondifferentcomputers.
Notes:
1. BIOSsettingsandvaluesarecasesensitive.
2. Thesecurityrelatedoptionsarenotchangedevenif the
“loaddefault”isrequested.
Table 4. List of available BIOS settings
Itemname
Selectionname
Load
USBSupport ʺDisabledʺ,ʺEnabledʺ Y
USBFrontPORTS ʺDisabledʺ,ʺEnabledʺ Y
USBRearPORTS ʺDisabledʺ,ʺEnabledʺ Y
USB1 ʺDisabledʺ,ʺEnabledʺ Y
USB2 ʺDisabledʺ,ʺEnabledʺ Y
USB3 ʺDisabledʺ,ʺEnabledʺ Y
USB4 ʺDisabledʺ,ʺEnabledʺ Y
USB5 ʺDisabledʺ,ʺEnabledʺ Y
USB6 ʺDisabledʺ,ʺEnabledʺ Y
@Copyright Lenovo 2009 5
USB7
ʺDisabledʺ,ʺEnabledʺ Y
USB8 ʺDisabledʺ,ʺEnabledʺ Y
SelectActiveVideo ʺIGDʺ,ʺPEGʺ,ʺPCIʺ,ʺAutoʺ Y
PreAllocatedMemorySizeʺ32MBʺ,ʺ64MBʺ,ʺ128MBʺ Y
TotalGraphicsMemoryʺNULLʺ,ʺ128MBʺ,ʺ256MBʺ,ʺMaxDVMTʺ Y
PAVPConfigurationʺDisabledʺ,ʺEnabledʺ Y
ExternalSATAPortʺDisabledʺ,ʺEnabledʺ Y
SerialATAʺDisabledʺ,ʺEnabledʺ Y
NativeModeoperation:ʺAutomaticʺ,ʺSerialATAʺ Y
EnableRAIDSupportʺDisabledʺ,ʺEnabledʺ Y
EnableAHCISupportʺDisabledʺ,ʺEnabledʺ Y
HardDiskPreDelay:ʺDisabledʺ,ʺ3Secondsʺ,ʺ6Secondsʺ,ʺ12
Secondsʺ,ʺ15Secondsʺ,ʺ21Secondsʺ,ʺ30
Secondsʺ
Y
AudioSupportʺDisabledʺ,ʺEnabledʺ Y
OnboardGBELANʺDisabledʺ,ʺEnabledʺ Y
BootAgentʺDisableʺ,ʺPXEʺ,ʺSMCʺ Y
PlugandPlayOperatingSystemʺNoʺ,ʺYesʺ Y
LegacyFreeʺDisabledʺ,ʺEnabledʺ Y
PCIParityʺDisabledʺ,ʺEnabledʺ Y
CoreMultiProcessingʺDisabledʺ,ʺEnabledʺ Y
ProcessorPowerManagement
ʺDisabledʺ,ʺGV1/GV3Onlyʺ,ʺCStatesOnlyʺ,
ʺEnabledʺ
Y
CStatesupportedʺC1ʺ,ʺC12ʺ,ʺC123ʺ,ʺC1234ʺ Y
ExecuteDisableBitʺEnabledʺ,ʺDisabledʺ Y
MEBxResetʺDisabledʺ,ʺEnabledʺ Y
Press<CTRLP>toenterMEBxʺDisabledʺ,ʺEnabledʺ Y
ConsoleType
ʺVT100ʺ,ʺVT1008bitʺ,ʺPCAnsi7bitʺ,ʺPC
ANSIʺ,ʺVT100+ʺ,ʺVTUTF8ʺ,ʺASCIIʺ
Y
ContinueC.R.afterPOSTʺAutomaticʺ,ʺEnabledʺ,ʺDisabledʺ Y
AfterPowerLossʺStayOffʺ,ʺLastStateʺ,ʺPoweronʺ Y
HardDiskTimeoutʺDisabledʺ,ʺEnabledʺ Y
WakeonLANʺDisabledʺ,ʺAutomaticʺ,ʺPrimaryʺ Y
PCIModemRingDetectʺDisabledʺ,ʺAutomaticʺ,ʺPrimaryʺ Y
SerialPortARingDetectʺDisabledʺ,ʺAutomaticʺ,ʺPrimaryʺ Y
PCIWakeUpʺDisabledʺ,ʺAutomaticʺ,ʺPrimaryʺ Y
Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 6
PrimaryStartupSequence
ʺUN_DEFINEDʺ,ʺIDE_HDDʺ,ʺIDE_CDʺ,ʺUSB_F
DCʺ,ʺUSB_HDDʺ,ʺUSB_KEYʺ,ʺUSB_CDROMʺ,ʺ
USB_LS120ʺ,ʺPCI_BEVʺ,ʺPCI_SCSIʺ,ʺAHCI_HD
Dʺ,ʺAHCI_CDʺ,ʺBootableAddinCardsʺ,
ʺNothingHereʺ,
Y
AutomaticStartupSequenceʺUN_DEFINEDʺ,ʺIDE_HDDʺ,ʺIDE_CDʺ,ʺUSB_F
DCʺ,ʺUSB_HDDʺ,ʺUSB_KEYʺ,ʺUSB_CDROMʺ,ʺ
USB_LS120ʺ,ʺPCI_BEVʺ,ʺPCI_SCSIʺ,ʺAHCI_HD
Dʺ,ʺAHCI_CDʺ,ʺBootableAddinCardsʺ,
ʺNothingHereʺ,
Y
ErrorStartupSequenceʺUN_DEFINEDʺ,ʺIDE_HDDʺ,ʺIDE_CDʺ,ʺUSB_F
DCʺ,ʺUSB_HDDʺ,ʺUSB_KEYʺ,ʺUSB_CDROMʺ,ʺ
USB_LS120ʺ,ʺPCI_BEVʺ,ʺPCI_SCSIʺ,ʺAHCI_HD
Dʺ,ʺAHCI_CDʺ,ʺBootableAddinCardsʺ,
ʺNothingHereʺ,
Y
ManufacturingStartupSequenceʺUN_DEFINEDʺ,ʺIDE_HDDʺ,ʺIDE_CDʺ,ʺUSB_F
DCʺ,ʺUSB_HDDʺ,ʺUSB_KEYʺ,ʺUSB_CDROMʺ,ʺ
USB_LS120ʺ,ʺPCI_BEVʺ,ʺPCI_SCSIʺ,ʺAHCI_HD
Dʺ,ʺAHCI_CDʺ,ʺBootableAddinCardsʺ,
ʺNothingHereʺ,
Y
@Copyright Lenovo 2009 7
Chapter 3. Typical Usage
Through WMI, you can configure BIOS settings in the
followingways:
·ListBIOSsettings
·ChangeBIOSsettings
·Changethebootorder(sometimesreferredtoasthestartup
sequence)
·LoaddefaultBIOSsettings
Listing current BIOS settings
For a list of all available BIOS settings that can be changed
throughWMIon aspecific computer,usethe
Lenovo_BiosSetting class (see “List all BIOS settings on the
localcomputer”onpage12and“ListallBIOSsettingsonthe
remotecomputer”onpage14forsamplescripts).
SeeTable4onpage4foralistofavailableBIOSsettings.
Changing BIOS settings
TochangeaBIOSsetting,completethefollowingsteps:
1.Identify the BIOS setting you want to change using the
Lenovo_BiosSetting class (see “List all BIOS settings on the local
computer” on page 12 and “List all BIOS settings on the remote
computer”onpage14forsamplescripts).
2.Identifythevaluetowhichthesettingwillbechanged.
Note: See Table 4 on page 4 for a list of available values for a
particularsetting.
3.Change the BIOS setting to the desired value using the
Lenovo_SetBiosSetting class, then use the Lenovo_SaveBiosSetting
classto save the settings (see“Set a singleBIOS setting on thelocal
computer” on page 12 and “Set a single BIOS setting on a remote
computer”onpage14forsamplescripts).
Note:BIOSsettingsandvaluesarecasesensitive.
After making changes to the BIOS settings, you must reboot the
computerbeforethechangeswilltakeeffect.
Changing the boot order
Tochangethebootorder,completethefollowingsteps:
1. Determine the current setting for “BootOrder” by using the
Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 8
Lenovo_BiosSettingclass (see“ListallBIOSsettings onthelocal
computer”on page 12 and“List all BIOSsettingson theremote
computer”onpage14forsamplescripts).
2. To set a new boot order, use the Lenovo_SetBiosSetting class,
then use the Lenovo_SaveBiosSetting class to save the settings
(see“SetasingleBIOSsettingonthelocalcomputer”onpage12
and“SetasingleBIOSsettingonaremotecomputer”onpage14
for sample scripts).Specify a new boot order by
listingthe
boot
devices in order, separated by colons. 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
drive0 is thesecondstartupdevice.
AHCI_CD:AHCI_HDD
Restoring default settings
TorestoredefaultBIOSsettings,usetheLenovo_LoadDefaultSettingsclass,
and then use the Lenovo_SaveBiosSettings class to save the BIOS changes
(seesamplescripts).
Limitations
ThefollowingWMIlimitationsexistforBIOSsetup:
·Passwordsettingandchangingarenotsupported.
@Copyright Lenovo 2009 9
Chapter 4. Security
WMIbasedadministrationscriptsoperatingoveraremoteconnectionsend
dataoverthenetworkincleartextbydefault.Youcanenhancesecurityby
modifying WMIbased administration scripts to establish an encrypted
remoteconnectionasfollows:
1.Setanimpersonationlevelof″impersonate″
2.Setanauthenticationlevelof″pktPrivacy
″
See Appendix A, “Sample Visual Basic scripts for configuring BIOS
settings,” on page 11 for sample scripts used to implement WMIbased
administrationscriptsthatincludetheseparametersforencryption.
@Copyright Lenovo 2009 11
Appendix A. Sample Visual Basic scripts for
configuring BIOS settings
The Visual Basic command line scripts in the ZIP file are examples
thatyoumayfindhelpfulwhenconfiguringBIOSsettings.
The scripts in the ZIP file can be used asis 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.exeutility.OnWindowsVista,youmust runthescripts from
anadministratorcommandprompt.
Note: The scripts in this appendix are for reference only. To copy
andpastescripts,usethe scriptsintheZIPfile.
Restore default settings
UsetheexamplescriptsintheZIPfileastemplatestorestoredefault
settingsonthe localcomputer.
Syntax:
cscript.exe LoadDefaults.vbs
Example:
cscript.exe LoadDefaults.vbs
’ Load default BIOS settings
On Error Resume Next
Dim colItems
strComputer = “LOCALHOST” ‘Change as needed
Set objWMIService = GetObject(“WinMgmts:” _
&"{ImpersonationLevel=Impersonate}!\\" & strComputer _
&"\root\wmi")
Set colItems = objWMIService.ExecQuery("Select * from
Lenovo_LoadDefaultSettings")
strReturn = "error"
For Each objItem in colItems
ObjItem.LoadDefaultSettings ",", strReturn
Next
WScript.Echo " LoadDefaultSettings: " + strReturn
If strReturn < > "Success" Then
WScript.Quit
End If
Set colItems = objWMIService.ExecQuery("Select * from
Lenovo_SaveBiosSettings")
strReturn = "error"
For Each objItem in colItems
ObjItem.SaveBiosSettings ",", strReturn
Next
WScript.Echo " SaveBiosSettings: " + strReturn
Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 12
List all BIOS settings on the local computer
Usethesamplescriptsinthe ZIPfileas templatestolistall
BIOSsettingsandvalueson thelocalcomputer.
Syntax:
cscript.exe ListAll.vbs
Example:
cscript.exe ListAll.vbs
’ List all BIOS settings
On Error Resume Next
Dim colItems
strComputer = "LOCALHOST" Change as needed.
Set objWMIService = GetObject("WinMgmts:" _
&"{ImpersonationLevel=Impersonate}!\\" & strComputer _
&"\root\wmi")
Set colItems = objWMIService.ExecQuery("Select * from
Lenovo_BiosSetting")
For Each objItem in colItems
If Len(objItem.CurrentSetting) > 0 Then
Setting = ObjItem.CurrentSetting
StrItem = Left(ObjItem.CurrentSetting,InStr(
ObjItem.CurrentSetting, “,”)-1)
StrValue = Mid(ObjItem.CurrentSetting,InStr(
ObjItem.CurrentSetting, “,”)-1)
WScript.Echo StrItem + " = " + StrValue
End If
Next
Set a single BIOS setting on the local computer
Usethesamplescriptsinthe ZIPfileas templatestoseta single
BIOSsettingonthelocalcomputer.
Syntax
: cscript.exe SetConfig.vbs [Item] [Value]
Example
: cscript.exe SetConfig.vbs “Wake on LAN” Disabled
’ Set specific BIOS Setting
On Error Resume Next
Dim colItems
If WScript.Arguments.Count < > 2 Then
WScript.Echo "SetConfig.vbs [setting] [value]"
WScript.Quit
End If
strRequest = WScript.Arguments(0) + "," + WScript.Arguments(1) +
","
strComputer = "LOCALHOST" Change as needed.
Set objWMIService = GetObject("WinMgmts:"_
&"{ImpersonationLevel=Impersonate}!\\" & strComputer _
&"\root\wmi")
Set colItems = objWMIService.ExecQuery("Select * from
Lenovo_SetBiosSetting")
For Each objItem in colItems
ObjItem.SetBiosSetting strRequest, strReturn
Next
WScript.Echo strRequest
@Copyright Lenovo 2009 13
WScript.Echo " SetBiosSetting: " + strReturn
If strReturn < > "Success" Then
WScript.Quit
End If
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
Administration password exists
Usethesamplescriptsinthe ZIPfileas templatestoseta single
BIOSsettingonthelocalcomputerif asupervisorpassword
exists.
Syntax
: cscript.exe SetConfigPassword.vbs [Item] [Value]
[Password + Encoding]
Example
: cscript.exe SetConfigPassword.vbs “Wake on LAN”
Disabled pass,ascii,us
’ Set specific BIOS Setting
On Error Resume Next
Dim colItems
If WScript.Arguments.Count < > 3 Then
WScript.Echo "SetConfigPassword.vbs [setting] [value]
[password + encoding]"
WScript.Quit
End If
strRequest = WScript.Arguments(0) + "," + WScript.Arguments(1) +
","
strComputer = "LOCALHOST" ’ Change as needed.
objWMISevice = GetObject("WinMgmts:" _
&"{ImpersonationLevel=Impersonate}!\\" & strComputer _
&"\root\wmi")
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
Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 14
End If
Set colItems = objWMIService.ExecQuery("Select * from
Lenovo_SaveBiosSettings")
strReturn = "error"
For Each objItem in colItems
ObjItem.SaveBiosSettings WScript.Arguments(2) + ",",
strReturn
Next
WScript.Echo strRequest
WScript.Echo " SaveBiosSettings: " + strReturn
List all BIOS settings on the remote computer
Use the sample scripts in the ZIP file as templates to list all
BIOSsettingsandvalueson aremotecomputer.
Syntax:
cscript.exe
ListAllRemote.vbs [Hostname]
Example:
cscript.exe
ListAllRemote.vbs mattdev-c5
’ List all BIOS settings
On Error Resume Next
Dim colItems
If WScript.Arguments.Count <> 1 Then
WScript.Echo"ListAllRemote.vbs [hostname]"
WScript.Quit
End If
strComputer = WScript.Arguments(0)
Set objWMIService = GetObject("WinMgmts:" _
&"{ImpersonationLevel=Impersonate," _
&"authenticationLevel=pktPrivacy}!\\" _
& strComputer & "\root\wmi")
Set colItems = objWMIService.ExecQuery("Select * from
Lenovo_BiosSetting")
For Each objItem in colItems
If Len(objItem.CurrentSetting) > 0 Then
Setting = ObjItem.CurrentSetting
StrItem = Left(ObjItem.CurrentSetting, InStr(
ObjItem.CurrentSetting, ",")-1
StrValue = Mid(ObjItem.CurrentSetting, InStr(
ObjItem.CurrentSetting,
",")+1
256
WScript.Echo StrItem + " = " + StrValue
End If
Next
Set a single BIOS setting on a remote computer
Usethesamplescriptsinthe ZIPfileas templatestoseta single
BIOSsettingonaremotecomputer.
Syntax:
cscript.exe
SetConfigRemote.vbs [Item] [Value]
[Hostname]
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24

Lenovo ThinkCentre M58 Deployment Manual

Type
Deployment Manual
This manual is also suitable for

The Lenovo ThinkCentre M58p is a versatile and powerful desktop computer designed to enhance your productivity and streamline your workflow. With its robust processing capabilities, it can effortlessly handle demanding applications, multitasking, and data-intensive operations. The M58p excels in office environments, educational institutions, and home offices, providing a reliable and efficient computing experience.

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI