Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 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

Reset Root Password in VMware ESXi

October 12, 2023

How to Increase Size of Disk Partition in...

October 5, 2023

How to Use Ansible to Manage Windows Machines

September 25, 2023

Redirect HTTP to HTTPS in IIS (Windows Server)

September 7, 2023

Add an Additional Domain Controller to an Existing...

September 6, 2023

Leave a Comment Cancel Reply

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

  • How to Connect VPN Before Windows Logon

    November 14, 2023
  • Removing Azure Arc Setup Feature on Windows Server 2022

    November 9, 2023
  • Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

    November 7, 2023
  • Send Emails with Microsoft Graph API and PowerShell

    November 6, 2023
  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • 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
  • Installing an Open Source KMS Server (Vlmcsd) on Linux
  • How to Mount Google Drive or OneDrive in Linux?
  • KVM: How to Expand or Shrink a Virtual Machine Disk Size?
  • Adding VLAN Interface in CentOS/Fedora/RHEL
Footer Logo

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


Back To Top