Chapter 2. Script Classes and Parameter
ThischaptercontainsWMIimplementationdetailsforconfiguring
BIOSsettings.
Configuring BIOS settings
ThefollowinginterfacedetailscanbeusedtoaccessLenovoBIOS
settings.
∙Namespace:ʺ\root\WMIʺ
∙BaseClass:ʺLenovo_BIOSElementʺ
∙Interfacedetails(seeTable1)
Table 1. Interface Details
ClassName Type Parameter/Return Example
Lenovo_BiosSetting Query CurrentSetting:ʺItem,Valueʺ ʺWakeOnLAN,
Lenovo_SetBiosSetting Method ʺItem,Value,ʺ ʺWakeOnLAN,Disabled,”
Lenovo_SaveBiosSetting Method ʺPassword,Encoding,KbdLang,ʺ
ʺpswd,ascii,us,ʺ
Lenovo_DiscardBiosSetting Method ʺ,ʺ
ʺ,ʺ
Lenovo_LoadBiosSetting Method ʺ,ʺ
ʺ,ʺ
Return types
Youwill receiveoneof thefollowingreturntypes aftermakingchangesto
BIOSsettings:
Table 2. Return Types
ReturnType Description
Success Operationcompletedsuccessfully.
NotSupported Thefeatureisnotsupportedonthissystem.
InvalidParameter Theitemorvalueprovidedisnotvalid.
AccessDenied
Thechangecouldnotbemadeduetoanauthenticationproblem.
Ifasupervisorpasswordexists,thecorrectsupervisorpassword
mustbeprovided.
System Busy BIOS changes have already been made that neet to be
committed. Reboot the system and try again.
@Copyright Lenovo 2010 3