Lenovo ThinkCentre M90p BIOS Windows Management Instrumentation Interface Depl - Page 18

Restoring default settings, Changing an existing hardware password, English US

Page 18 highlights

Lenovo_BiosSetting class (see "List all BIOS settings on the local computer" on page 16 and "List all BIOS settings on the remote computer" on page 18for 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 16 and "Set a single BIOS setting on a remote computer" on page 17 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 CD/DVD drive is the first boot device and hard disk drive is the second boot device and so on. Example: Change primary boot sequence, Primary Boot Sequence,CD/DVD Drive:Hard Drive:Network Card:USB Key:USB Floppy:USB Hard Disk 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 Parameter 3 Parameter 4 Parameter 5 Password type string Current password string New password string Password encoding Keyboard "pap":Administrator password "pop":Power-on password "uhdp0": User password of HDD0 "mhdp0":Master pasword of HDD0 "uhdp1":User password of HDD1 "mhdp1":Master password of HDD1 "uhdp2":User password of HDD2 "mhdp2":Mater password of HDD2 "uhdp3":User password of HDD3 "mhdp3":Master password of HDD3 "uhdp4":User password of HDD4 "mhdp4":Master password of HDD4 "uhdp5":User password of HDD5 "mhdp5":Master password of HDD5 "abc":raw ascii character "1e302e":scancode "def":raw ascii character "201221":scancode "ascii" "Scancode" ·"us″- English US, English UK, Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop 10

  • 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

Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Desktop
10
Lenovo_BiosSetting class (see “List all BIOS settings on the local
computer” on page 16 and “List all BIOS settings on the remote
computer” on page 18for 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 16
and “Set a single BIOS setting on a remote computer” on page 17
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 CD/DVD drive is the first boot device and hard
disk drive is the second boot device and so on.
Example
: Change primary boot sequence,
Primary Boot Sequence,CD/DVD Drive:Hard Drive:Network
Card:USB Key:USB Floppy:USB Hard Disk
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
“uhdp0”: User password of HDD0
“mhdp0”:Master pasword of HDD0
“uhdp1”:User password of HDD1
“mhdp1”:Master password of HDD1
“uhdp2”:User password of HDD2
“mhdp2”:Mater password of HDD2
“uhdp3”:User password of HDD3
“mhdp3”:Master password of HDD3
“uhdp4”:User password of HDD4
“mhdp4”:Master password of HDD4
“uhdp5”:User password of HDD5
“mhdp5”:Master password of HDD5
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
·
“us
- English US, English UK,