VMware vSphere

 View Only
  • 1.  I forget my VMware ESXi root password how to reset my password

    Posted Oct 09, 2014 06:34 AM

    I forget my VMware ESXi root password how to reset my password



  • 2.  RE: I forget my VMware ESXi root password how to reset my password

    Posted Oct 09, 2014 07:51 AM

    It depends. If it's a standalone ESXi host, you'll need to reinstall ESXi (with preserving the VMFS datastore of course). In case of an ESXi host that's managed by vCenter Server, this issue can be solved by adding the ESXi host to the AD domain, and then connecting to the ESXi host directly with a user who is member of the "ESX Admins" AD group.

    André



  • 3.  RE: I forget my VMware ESXi root password how to reset my password

    Posted Oct 09, 2014 08:05 AM

    Thank you for quick response.
    I have standalone host and I forget root password. can you share steps to how to take machines backup then I will reinstall.

    Thanks



  • 4.  RE: I forget my VMware ESXi root password how to reset my password

    Posted Oct 09, 2014 08:14 AM

    How do you backup your VMs today? Some options are to export the VM's using the OVF format, using e.g. VM Explorer - Free, ...

    Although a backup is highly recommended, reinstalling the host shouldn't harm the VMs. The installation should detect the VMFS datastore(s) and present a selection from which you will choose "Install ESXi, preserve VMFS datastore". Once reinstalled, you need to configure the ESXi host's settings (e.g. networking, time server, ...) and then add the VM's back to the inventory, by right clicking each VM's .vmx file in the Datasore Browser.

    André



  • 5.  RE: I forget my VMware ESXi root password how to reset my password

    Posted Oct 09, 2014 08:20 AM

    IIRC, esxi-partitions are of fat16 (or fat32?) types, so you can boot any linux live-cd, mount esxi-partition (there are many, so pick the right one!), and remove password-hash for root from /etc/shadow by any text-editor (vi, nano, etc.). But the only VMware-recommended way is to re-install ESXi...



  • 6.  RE: I forget my VMware ESXi root password how to reset my password

    Posted Oct 09, 2014 02:48 PM

    Hello, it is worth download vCSA trial version, add the host to vcenter and then use host profile to reset your profile. Lost Your ESXi Root Password? Reset It with Host Profiles!



  • 7.  RE: I forget my VMware ESXi root password how to reset my password

    Posted Oct 09, 2014 05:30 PM

    you're basically correct, and this is a valid option with Enterprise Plus licenses, but think about it. Which user/password is required to add the host to vCenter Server? :smileywink:

    André



  • 8.  RE: I forget my VMware ESXi root password how to reset my password

    Posted Oct 09, 2014 05:48 PM

    a.p. Thank you for catching that...basically shot myself in the foot.