Skip to content
Menu
  • CloudThesis-Home
  • Cloud Management
    • VMware Cloud
    • VCF (VMware Cloud Foundation)
    • vRO
    • vRA
    • vRealize Log Insight
    • vCloud Director
    • Hybrid Cloud Extension (HCX)
    • vCloud
    • Cloud on AWS
  • VMware
    • vCenter
    • vSphere
      • Generic vSphere Commands
    • ESXi
    • VMware vRealize Suite Lifecycle Manager –8 Deployment Guide
    • VMware Site Recovery Manager (SRM)
    • vRealize Network Insight
    • VMware Horizon
  • Power CLI
    • PowerCLI Snippets
  • NSX
  • vSAN
    • vSAN 7
  • Nutanix
  • VOIP
  • Microsoft
    • Azure Cloud
    • Microsoft Windows Server
    • Hypervisor
    • Create Azure VMs (Portal)
    • Create Azure VMs – PowerShell
  • Author
  • Contact

How to reset ESXi Root Password by using Host Profile (vSphere Web Client & vSphere client )

Posted on February 12, 2019

Before proceed  ,need to know the prerequisites of reset ESXi root password using VMware Host Profile .

 

1.  ESXi host must have network reachability also manageable via  vCenter Server .
2.  ESXi host should be configured with vSphere Enterprise Plus license .

What is Host Profile ?

Host profile is nothing but a blueprint of configuration settings that you can apply to an ESXi host to change its configuration.

There are two way where you may create the Host profile  :

  1. vSphere Web Client.
  2. vSphere client .

 

A)   vSphere Web Client :

Need to Login to vCenter by using  Web Client. Then Click on Host Profile icon on the home page . Click “Extracted Profile from a host” to extract a profile from ESXi host with the known root password.

How-to-reset-ESXi-root-Password-using-Host-Profiles_1

 

Then select the host  from which you want to extract the settings . Click Next.

How-to-reset-ESXi-root-Password-using-Host-Profiles_2

 

Provide the name and description for the host profile it helps you to identify the purpose of this profile.Eg.. root password .

How-to-reset-ESXi-root-Password-using-Host-Profiles_4

 

When  host profile is created need to  choose the Host profile and  Right-click the Host profile  -> Click Edit Settings 

How-to-reset-ESXi-root-Password-using-Host-Profiles_5

 

Search  Root in the search box.  Select the “Fixed Password Configuration” under Password and specify the standard root password which you want to apply to the ESXi host with forgot root password.

How-to-reset-ESXi-root-Password-using-Host-Profiles_6

 

Make sure need to Deselect all other configuration like Networking Configuration, General System settings, advanced configuration, Storage configuration, etc. of the host profile except  Security > User Configuration > root. Click Finish.

How-to-reset-ESXi-root-Password-using-Host-Profiles_7

 

Under the Actions menu there is Attach/Detach Hosts to attach the ESXi host to apply this host profile to reset the root password or you can click on the below-highlighted symbol to attach or detach host to this host profile.

How-to-reset-ESXi-root-Password-using-Host-Profiles_8

 

Then you need to select the host and click on Attach . Click Finish.

How-to-reset-ESXi-root-Password-using-Host-Profiles_9

 

When the host attached in Host profile need to check the host profile compliance ,     for that need to select the created Host profile -> Monitor -> Compliance tab.   Click on the below highlighted symbol  to check the host profile compliance or Click Check Host profile Compliance under Actions menu.

How-to-reset-ESXi-root-Password-using-Host-Profiles_10

 

Note: Must need to remediate/compliance the  host which is showing as  “Not Complaint” . If not it displays the description as ” Password in profile does not match that on the host for root”. 

How-to-reset-ESXi-root-Password-using-Host-Profiles_11

 

Then click on Finish to start the remediation of the ESXi host based on the attached Host Profile.

How-to-reset-ESXi-root-Password-using-Host-Profiles_12

 

Once host remediation is completed, You will see the ESXi host is  “Complaint” with the attached Host profile.

How-to-reset-ESXi-root-Password-using-Host-Profiles_13

 

Then you see have reset the ESXi root password and able to login .

 

B)  vSphere client .

Need to Login to vCenter by using  vSphere client  . Now need to right click any host in your inventory then choose Host Profile, then Create Profile from Host.

1

 

Provide the Name of Host Profile (Relevant to task Eg. Root password or Password reset ) with description. Click Next.

2

 

Now Click  Finish to create the Host Profile.

3

 

Next is Configure the Host Profile .

1. Open Host Profiles.

4

 

Then Right-click on Host Profile and choose Edit Profile.

5

 

Now Expand Security Configuration and choose the Administrator password

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

6

 

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

8

 

Make sureuUncheck everything in the Host Profile configuration except the Security Configuration, click OK.

7

 

Now Apply the Host Profile to the ESXi Host .

1. Put the ESXi host  into Maintenance Mode.

9

 

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

10.jpg

 

Now have to choose the Password_Reset Host Profile, click OK.

11

 

Now right click on any host in your inventory then choose Host Profile,  Apply Profile.

12

 

Now need to validate the changes to be applied , click Finish.

13

 

Log In

Now you have to make sure , it will log in with the new password or not .For that you can use PuTTY and try with new password .

14
Thanks hope you like it.

Rajiv Pandey.

 

 

 

 

Leave a Reply Cancel reply

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

Search Topic

Categories

  • Azure Cloud
  • Cloud Management
  • Cloud on AWS
  • Create Azure VMs – PowerShell
  • Create Azure VMs (Portal)
  • ESXi
  • Generic vSphere Commands
  • Hybrid Cloud Extension (HCX)
  • Hypervisor
  • Microsoft
  • Microsoft Azure Cloud and Services
  • Microsoft Windows Server
  • NSX
  • Nutanix
  • Power CLI
  • PowerCLI Snippets
  • vCenter
  • VCF (VMware Cloud Foundation)
  • vCloud
  • vCloud Director
  • VMware
  • VMware Cloud
  • VMware Horizon
  • VMware Site Recovery Manager (SRM)
  • VMware vRealize Suite Lifecycle Manager – 8.0
  • vRA
  • vRealize Log Insight
  • vRealize Network Insight
  • vRO
  • vSAN
  • vSAN 7
  • vSphere
  • Windows Servers
©2025 | WordPress Theme by Superbthemes.com