Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Windows Server 2016 / How to Reset the HP ILO Administrator Password?

May 10, 2023 LinuxVMwareWindows Server 2016

How to Reset the HP ILO Administrator Password?

In this article we will show how to reset the administrator password on the HPE server management board — Integrated Lights-Out (ILO). This guide is based on iLO v4, but it is also applicable to iLO3 and iLO2.

If you have physical access to your HPE server, you can restart your host and press F9 during the server boot to get to the RBSU (BIOS/Platform Configuration) setting menu.

hpe server - enter ILO config menu by pressing F9

Then select System Configuration -> iLO 4 Configuration Utility.

HPE RBSU - iLO 4 Configuration Utility

To manage iLO users, go to User Management.

Manage HPE iLO users from RBSU

Then select Edit/Remove User -> Edit.

The default iLO built-in account name is Administrator (it is case-sensitive).

Select Password and enter a new password.

change HP ILO admin password

Save the changes by pressing F10. The iLO administrator password has been changed. You can now boot your host OS.

The main disadvantages of this HP iLO password reset method are that you have to use the physical server console (go to the server room) and restart your operation system.

However, you can reset the iLO admin password directly from the running operation system. To do it, an official HPE tool is used — hponcfg or HP Online iLO Configuration for Windows (iLO Management Interface Driver must be installed in the operation system running on the HPE server).

Hponcfg allows you to change any iLO settings from the local command prompt on your server without the server restart.

We will show how to reset the HP iLO administrator password from Windows, Linux and VMWare ESXi using hponcfg.

Contents:
  • Reset HP ILO Administrator Password from Windows
  • Set the HPE ILO Password from Linux Using HPONCFG
  • How to Reset HP ILO Password from VMWare ESXi Shell?

Reset HP ILO Administrator Password from Windows

In order to reset the HP iLO administrator password from Windows, download and install the HP Lights-Out Configuration Utility SP70865.exe (if it is not installed yet) for your Windows version.

https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_0e6dd836b4c54fa9b600b4491b
download and install HP Lights-Out Configuration Utility for Microsoft Windows

  1. Run the HP Lights-Out Online Configuration Utility (C:\Program Files\HP\hponcfg\hponcfg_gui.exe) as an administrator;
  2. Go to the User tab. You will see the list of iLO users here. Select Administrator and click View/Modify;
  3. In the next window, check the box Change Password, enter a new iLO administrator password and save the changes. Lights-Out Online Configuration Utility - change admin password
Using the HP Lights-Out Online Configuration Utility, you can also change network settings of your iLO interface (IP address, gateway, netmask), import/export, or reset a configuration.

You can also use the command line tool hponcfg.exe.

You have to save the current iLO configuration to an XML file first:

hponcfg.exe /w current_config.xml

hponcfg.exe - reset hpe ilo password using honcfg.exe tool

Then create a new XML file reset_ilo_admin_password.xml with the following text:

<ribcl VERSION="2.0">
<login USER_LOGIN="Administrator" PASSWORD="password">
<user_INFO MODE="write">
<mod_USER USER_LOGIN="Administrator">
<password value="NewILOPass"/>
</mod_USER>
</user_INFO>
</login>
</ribcl>

To apply the configuration with the new password to iLO, run this command:
hponcfg.exe /f reset_ilo_admin_password.xml /l hplog.txt

Set the HPE ILO Password from Linux Using HPONCFG

In Linux, you have to install the hponcfg as well. You cannot find it in the standard repositories, so you will have to install it manually. It is easier to add a repository with HP tool using the add_repo.sh (http://downloads.linux.hpe.com/SDR/add_repo.sh). The script will automatically detect your Linux version, bitness, etc., and connect the repository you need.

The yum (dnf) package manager is used to install hponcfg in CentOS/RHEL:

# yum install hponcfg -y

In Ubuntu/Debian:

# apt-get install hponcfg

Check if the package is already installed:

# rpm -qf /sbin/hponcfg

Create an XML file with the new iLO administrator password:

# vi reset_ilo_password.xml

<ribcl version=”2.0″>
<login user_login=”Administrator” password=”password”>
<user_info mode=”write”>
<mod_user user_login=”Administrator”>
<password value=”NewHPiloPass1!”>
</password>
</mod_user>
</user_info>
</login>

Then apply the new password to the HPE iLO :

#  hponcfg -f passwd_reset_ilo.xml -l log.txt

Firmware Revision = 2.20 Device type = iLO 4 Driver name = hpilo
Script succeeded

How to Reset HP ILO Password from VMWare ESXi Shell?

To reset the iLO password from VMWare ESXi, you also need the hponcfg tool. If you are using a custom HPE ESXi image, the tool is already installed (/opt/hp/tools/hponcfg).

If you do not have it, download the HPE ESXi Utilities Offline Bundle for your ESXi version:

  • vSphere 7.0 (https://vibsdepot.hpe.com/hpe/may2021/esxi-700-bundles/HPE-Utility-Component_10.5.0-63-signed_component-15745486.zip)
  • vSphere 6.7 (https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX-702d3c7d8c4546a3b27d1458b5)
  • vSphere 6.5 (https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_6be6cedecfee4ffe9f6c808711)

Download and istall HPE ESXi Utilities Offline Bundle for VMWare vSphere

Install the package:

#esxcli software vib install -d /tmp/HPE_bootbank_hponcfg_700.10.5.0.25-7.0.0.15525992.vib

You can add the driver package to your own ESXi image.

Restart your host using this command:

# reload

Create a text file reset_ilo_password.xml (as described above) with the new iLO password and apply it:

# hponcfg -f reset_ilo_password.xml

In a minute, the iLO board will apply your new configuration and you will be able to logon with the new password.

0 comment
1
Facebook Twitter Google + Pinterest
previous post
Using Managed Service Accounts (MSA and gMSA) in Active Directory
next post
How to Set, Copy, Export or Restore NTFS Permissions Using iCACLS?

Related Reading

VMware Workstation: Slow VMs Performance on Windows

February 25, 2025

Send a WhatsApp Message from the CommandLine (Shell)

December 2, 2024

Graylog: Centralized Log Collection and Analysis

October 1, 2024

Get Started with Docker on Windows (WSL2) without...

September 4, 2024

How to Migrate (Import) VMs from VMware ESXi...

July 24, 2024

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMware
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025
  • AD Domain Join: Computer Account Re-use Blocked

    March 11, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Installing an Open Source KMS Server (Vlmcsd) on Linux
  • How to Access VMFS Datastore from Linux, Windows, or ESXi
  • How to Configure MariaDB Master-Master/Slave Replication
  • Using iPerf to Test Network Speed and Bandwidth
  • Moving WSL to Another Drive in Windows
  • KVM: How to Expand or Shrink a Virtual Machine Disk Size?
  • How to Install Microsoft Teams Client on Linux
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top