Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1212
  • Last Modified:

recover lost root password for vmware ESXi 5.0

how to recover root password for vmware ESXi 5.0
0
leganti
Asked:
leganti
1 Solution
 
Chris HIT DirectorCommented:
No need to.  Just re-install and re-mount the datastores.  The VM data will not be lossed if the machines are powered down correctly.  Make sure to write down the configurations for the guests and don't format any of the drives which datastores are on.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You cannot recover the password.

Make sure you try uppercase and lowercase, just in case you had cap locks on at the time!

the official way is to re-install.

http://kb.vmware.com/kb/1317898

but these "hacks" work also for 5.1.

http://www.bock.nu/blog/reset-root-password-vmware-esxi-4.1

http://www.vm-help.com/esx/esx3i/Reset_root_password.php

http://www.youtube.com/watch?v=CoL43UBpVyI

it's quicker and easier to re-install ESXi 5.1.


see my EE Article

HOW TO: Install and Configure VMware vSphere Hypervisor 5.1 (ESXi 5.1)

in our tests, it takes approx 5mins to reinstall!

A re-install will PRESERVE ANY VMFS with your VMs, and then just Right Click the VMX on the Datastore and ADD TO INVENTORY.

Most hacks will take longer than the install!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now