Changing ESXi Passwords via Host Profiles

I recently had an issue where I couldnt get into one of my ESXi Servers as I did not know the Password. I could get into vCenter and so forced a reset of all root user password via Host Profiles.

In vCenter, select Home > Host Profiles

1

Select Extract profile from a host..

2

Select one of your Hosts

3

Give the Host Profile a name – I used reset-esxi-root-password

4

Now, select the Host Profile, select Actions and Edit Settings..

5

Select your Profile and click Next

To Change Root Password, the only section that needs to be selected is: Security and Services > Security Settings > Security > User Configuration > root

6

Select Fixed password configuration from the Password dropdown

Enter and Confirm Password > Click Finish

7

Ensure the Profile is selected and click Actions > Attach Hosts and Clusters

8

Select relevant Hosts or Clusters and use Attach to move them across

9

Select Finish on the Customize Hosts screen

Select Actions > Check Host Profile Compliance

10

We can see we have 2 Hosts in Non-Compliance

11

Go to Actions > Remidiate

12

Select the Hosts you want to remediate and click Next (This is my lab so I can do these at the same time)

13

Select Pre-Check Remediation

14

15

16

I have Reboot hosts which require it ticked and select Finish

17

I can now log into my ESXI Hosts with the new Password

18

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s