Link to home
Start Free TrialLog in
Avatar of Cool Guy
Cool GuyFlag for Saudi Arabia

asked on

recover lost root password for vmware ESXi 5.0

how to recover root password for vmware ESXi 5.0
Avatar of Chris H
Chris H
Flag of United States of America image

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.
ASKER CERTIFIED SOLUTION
Avatar of binumicrosoft
binumicrosoft
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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!