Resetting a Dell iDRAC password from inside vSphere ESXi

I’m guessing you landed here because you’ve got a Dell server with an iDRAC module you no longer have access to?  If your server is running an operating system that has a compatible racadm package available for it though, all is not lost if you don’t want to take a trip to the data center.  You’ll be able to reset the root password for your DRAC from within the host OS, or even the entire controller if you need to.  Unfortunately, the tools might require a reboot of that OS, so you may not be able to avoid an outage if you can’t otherwise go to the data center to reset the DRAC via physical buttons (which don’t require host OS interruption).

In my case, I had one DRAC9 on a server with ESXi 6.5 and one on ESXi 6.7.  The package you want to download from Dell is called Dell EMC iDRAC Tools.  The link specific to ESXi is:

The same package is used for both 6.5 and 6.7.  My example commands were from the 9.3.0 release where 9.4.0 is now current (April 2020).  Enable SSH on your ESXi host and either SCP the file in, or place it on a remote volume the host has access to.  You’ll want to un-tar/uncompress it:

[root@esx:~] tar zxvf DellEMC-iDRACTools-Web-ESXi.VIB-9.3.0-3379_A00.tar.gz

To install the package, you MUST use the full path to the appropriate install file; if you do not use the full path, you’ll get a weird error like this:

skipping ((‘zip:/var/log/vmware/’, ”, “Error extracting index.xml from /var/log/vmware/ [Errno 2] No such file or directory: ‘/var/log/vmware/'”))
url = zip:/var/log/vmware/
Please refer to the log file for more details.

With the correct full path, it works:

[root@esx:~] esxcli software vib install -d /iDRACTools/racadm/ESXi65/Racadm-Dell-EMC-Web-9.3.0-33
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: Dell_bootbank_racadm_9.3.0.ESXi650-3379
VIBs Removed:
VIBs Skipped:

Ugh, the dreaded “Reboot Required: true” – so I reboot.  On 6.7, that did not occur:

[root@esx:/tmp] esxcli software vib install -d /tmp/iDRACTools/racadm/ESXi67/

Installation Result
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed: Dell_bootbank_racadm_9.3.0.ESXi670-3379
VIBs Removed:
VIBs Skipped:

Finally, if you’re upgrading ESXi, you’ll need to remove the old package and install the new one (shown above), as they’re version specific (6.5 vs 6.7).  That looks like the following:

[root@esx:~] esxcli software vib remove --vibname=racadm
Removal Result
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed:
VIBs Removed: Dell_bootbank_racadm_9.3.0.ESXi650-3379
VIBs Skipped:


So, now that we have the tools installed, here’s some handy commands:

  • racadm help – spits out the available commands; you can then chain them on after help to get more info on each command
  • racadm getsysinfo – this one spits out all the info about the DRAC, such as network settings, firmware version, service tag, etc
  • Resetting the root password:
    [root@esx:~] racadm set iDRAC.Users.2.Password NewPassword123
    Object value modified successfully


The definitive list can be found in the iDRAC 9 4.xx documentation group:

specifically, the “iDRAC9 Version RACADM CLI Guide”, but the version may change from time to time.  That guide is at:


3 Replies to “Resetting a Dell iDRAC password from inside vSphere ESXi”

  1. JeremyP

    Great post! But maybe it’s good the emphasize the fact that ESXi 6.5 needs a reboot after installing. This procedure saved my day, so a big thumbs up from my behalf!

  2. Michiel Brandenburg

    I used the following command to check if needed VIB required a reboot
    esxcli software sources vib get –depot=/tmp/

    It showed that it did not require a reboot so it might have been fixed


Leave a Reply

Your email address will not be published. Required fields are marked *