Score:0

How to reset VMware ESXi 6.7 root password

eg flag

Is there a way to reset the forgotten Root password on ESXi host 6.7? We are not able to login on ESXi DCUI and Web Portal. It's our production ESXi and we don't want to reinstall ESXi. Please help us to fix that issue without losing any VMs.

Thanks

Score:1
in flag

From this manual you can see and follow these steps:

  1. Shutdown and Reboot your VMware ESX Server
  2. Press “a” to modify the kernel arguments
  3. Enter single user mode
  4. Change the root password
  5. Reboot the ESX Server
  6. Verify the new password

Once the system reboots, verify that the new root password works

Score:0
ma flag

There is an easier way to do this if you have the license to use host profiles. I believe it requires the enterprise license,

https://kb.vmware.com/s/article/68079

1. Login to the vCenter WebClient
2. Go to Home and then choose Host Profiles from Operations and Policies Section.
3. Choose > Extract profile from a host.
4. In the Extract Host Profile menu wizard > Select the host you want to update the password for.
5. Name the Host Profile and click Next and then Finish to complete the capture of the host profile template.
 - The new host profile should appear on the Host Profile Objects Field.

6. Right Click the new Host Profile or using the Actions menu choose > Edit Settings
7. In the 'Edit Host Profile' Wizard. Uncheck all boxes.
8. Then using the search filter search for > root
9. Highlight and then select the check box for > root
10. A configurable window will display the root User configuration.
11. At the Password subsection, choose > Fixed password configuration
12. Here you will fill in the new password and confirm it before proceeding.
13. Double check that all other non applicable boxes have no check marks and proceed to Finish .
14. Once the Task Completes highlight the new host profile and from the 'Actions' drop down menu choose > Attach Detach Hosts and Clusters > then Select the host in the wizard.
15. From the Action Menu select Check Host Compliance.
16.  From the Action Menu select Remediate
17. Then Check Host Compliance.
18. Remove the Host Profile from the Host.

- At this time the host password should be successfully upgraded.
Romeo Ninov avatar
in flag
This involve usage of vCenter. Are you sure the OP have it, use it?
mikey1996 avatar
ma flag
I am assuming he does because he mentioned its their production ESXi.
Romeo Ninov avatar
in flag
ESXi is just a hypervisor and do not imply nor require vCenter. Good practice is to ask OP if he/she use it before answer.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.