Clearpath Insights: Managed Services | Cloud Services | IT Solutions

Lost Your ESXi Root Password? Reset It with Host Profiles!

I’ve run into this situation a couple of times now as a consultant - I go on site, we need to make some changes that require (or would at least benefit from) SSH or console access into an ESXi host, but the root password is unknown for any number of reasons - the old admin who set it left, we forgot, whatever. Rather than rebuild the host, here’s a neat trick with Host Profiles to reset the root password.

Since this is using Host Profiles, this assumes your ESXi host(s) are up, available in vCenter Server, and licensed with vSphere Enterprise Plus. This is only possible because the vpxa user on each ESXi host, added when the ESXi host is connected to vCenter Server, has root privileges.

Contact Clearpath's VMware Licensing and Professional Services Team

Create the Host Profile

1. Right click any host in your inventory (it doesn’t matter which), choose Host Profile, then Create Profile from Host.

create host vmware esxi resized 600


2. Name the Host Profile and give it a description. Click Next.

name host vmware esxi resized 600


3. Click Finish to create the Host Profile.

finish host profile vmware esxi resized 600

Configure the Host Profile

1. Open Host Profiles.

vsphere client vmware esxi host profile resized 600


2. Right-click the Host Profile and choose Edit Profile.

vsphere client vmware esxi edit profile resized 600

3. Expand Security Configuration, choose Administrator password

  • Choose Configure a fixed administrator password, type in the password twice, then click OK.

vsphere client vmware esxi security config resized 600

4. Right-click the Host Profile and choose Enable/Disable Profile Configuration.

vsphere client vmware esxi host profile enable disable resized 600

5. Uncheck everything in the Host Profile configuration except the Security Configuration, click OK.

enable disable profile config vsphere host client resized 600

Apply the Host Profile to the ESXi Host (or vSphere Cluster)

1. Put the ESXi host in question into Maintenance Mode.

vmware esxi host maintenance mode resized 600

2. Right click any host in your inventory, choose Host Profile, then Manage Profile.

vmware esxi host manage profile resized 600

3. Choose the Password_Reset Host Profile, click OK.

vmware esxi host password reset resized 600

Right click any host in your inventory, choose Host Profile, then Apply Profile.

vmware esxi host profile apply resized 600

5. Review the changes to be applied (the administrator password change should be the only one), click Finish.

vmware esxi host profile apply finish resized 600


Log In

1. Now, make sure you can log in with the new password. If the setting has been changed successfully, you should be able to log in with the new password immediately.

vmware esxi host profile login resized 600




Our engineers customize
IT solutions for your business

The best hardware, software and cloud computing solutions are nothing without expert design and implementation.

Our team becomes your team. We take the time to understand your business needs first, and tailor high performance systems specifically for you.

Learn more
Live Chat Support Software