Lenovo ThinkCentre M92 BIOS Windows Management Instrumentation Interface Deplo - Page 22

Restoring default settings, Changing an existing hardware password

Page 22 highlights

Lenovo_BiosSetting class (see "List all BIOS settings on the local computer" on page 20 and "List all BIOS settings on the remote computer" on page 22for sample scripts). 2. To set a new boot order, use the Lenovo_SetBiosSetting class, then use the Lenovo_SaveBiosSetting class to save the settings (see "Set a single BIOS setting on the local computer" on page 20 and "Set a single BIOS setting on a remote computer" on page 22 for sample scripts). Specify a new boot order by listing the boot devices in order, separated by colons. Devices that are not specified are excluded from the boot order. In the following example, the Network Card drive is the first boot device and SATA drive 1 is the second boot device and so on. Example: Change primary boot sequence, Primary Boot Sequence,Network 1:SATA 1:USB HDD:SATA 2:USB CDROM:USB Key; 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). Changing an existing hardware password To update a password, specify a password type and format the password. The format for password parameters is ″pap,abc,def,ascii,us″ with descriptions in Table 5 (see "Set a Administrator password on the local computer when a Administrator password exists" on page 20 and "Set a Administrator password on a remote computer when a Administrator password exists" on page 21 for sample scripts). Table 5. Password parameters format, changing existing hardware password Parameter Description Possible seletctions Parameter 1 Parameter 2 Password type string Current password string "pap":Administrator password "pop":Power-on password "abc":raw ascii character "1e302e":scancode Parameter 3 Parameter 4 Parameter 5 New password string Password encoding Keyboard Languages "def":raw ascii character "201221":scancode "ascii" "Scancode" ·"us″- English US, English UK, Chinese-Traditional, Danish, Dutch, French-Canadian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Spanish-European, Spanish-Latin American, Swiss, Turkish ·″fr″ - French-European, Belgian ·″gr″ - German, Czech, Slovak, Slovenian Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 14

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36

Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop
14
Lenovo_BiosSetting cla
ss (see “
List all BIOS settings on the local
computer”
on page 20
and “
List all BIOS settings on the remote
computer”
on page 22for sample scripts).
2.
To set a new boot order, use the Lenovo_SetBiosSetting class,
then use the Lenovo_SaveBiosSetting class to save the settings
(see
Set a single BIOS setting on the local
computer”
on page 20
and
Set a single BIOS setting on a remote
computer”
on page 22
for sample scripts). Specify a new boot order by
listing the
boot
devices in order, separated by colons. Devices that are not
specified are excluded from the boot order. In the following
example, the
Network Card
drive is the first boot device and
SATA drive 1 is the second boot device and so on.
Example
: Change primary boot sequence,
Primary Boot Sequence,Network 1:SATA 1:USB HDD:SATA
2:USB CDROM:USB Key;
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).
Changing an existing hardware password
To update a password, specify a password type and format the
password. The format for password parameters is
pap,abc,def,ascii,us
with descriptions
in Table
5 (see
“Set
a Administrator password on the
local computer when a Administrator password
exists”
on page 20 and
“Set
a Administrator password on a remote computer when a
Administrator password
exists”
on page 21 for sample scripts).
Table 5. Password parameters format, changing existing hardware password
Parameter
Description
Possible seletctions
Parameter 1
Password type
string
pap
:Administrator password
pop
:Power-on password
Parameter 2
Current
password
string
abc
:raw ascii character
1e302e
:scancode
Parameter 3
New password
string
def
:raw ascii character
201221
:scancode
Parameter 4
Password
encoding
ascii
Scancode
Parameter 5
Keyboard
Languages
·
“us″
- English US, English UK,
Chinese-Traditional, Danish, Dutch,
French-Canadian, Italian, Japanese,
Korean, Norwegian, Polish,
Portuguese,
Spanish-European, Spanish-Latin
American, Swiss, Turkish
·
″fr″
- French-European, Belgian
·
″gr″
- German, Czech, Slovak,
Slovenian