Please note: This website includes an accessibility system. Press Control-F11 to adjust the website to the visually impaired who are using a screen reader; Press Control-F10 to open an accessibility menu.

How to set or change the UEFI Admin password using Lenovo XClarity Essentials Windows OneCLI

Set or Change UEFI Admin Password with Lenovo XClarity Essentials Windows OneCLI

Set or Change UEFI Admin Password with Lenovo XClarity Essentials Windows OneCLI

Description

This article introduces the procedure used to set or change the UEFI Admin password using Lenovo XClarity Essentials (LXCE) Windows OneCLI.

Prerequisites

Before proceeding with the steps in the article it is advised to have completed the following prerequisites:

Solution

The command set out below can be used to either set the UEFI Admin password or change an existing password. The old UEFI Admin password is not required, so this procedure can be used if the password has been forgotten.

Note: Be sure to change the username, password, and IP address fields following --bmc to the appropriate values for your server(s)
Screenshot from the Lenovo Docs link listed in the below(Additional Resources) section:
new

An example output is shown below. This article will use an IP address of 10.10.0.81 and the default username and password. The UEFI Admin password will be set to “Abcd1234”.

c:\onecli270>onecli config set IMM.UefiAdminPassword "Abcd1234" --bmc USERID:PASSW0RD@10.10.0.81
Lenovo XClarity Essentials OneCLI lxce_onecli01p-2.7.0
(C) Lenovo 2013-2019 All Rights Reserved
OneCLI License Agreement and OneCLI Legal Information can be found at the following location:
"c:\onecli270\Lic"
Invoking SET command ...
Connected to BMC at IP address 10.10.0.81 by IPMI
IMM.UefiAdminPassword=******
Success.

Additional Information

Document ID:HT509852
Original Publish Date:01/22/2020
Last Modified Date:09/24/2024