• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8204
  • Last Modified:

ESXi 5.1 root password reset

Hello experts,

     We aquired a new client some time ago, and they already had in place an ESXi 5.1 host running only one virtual server 2008 R2 VM. The problem is, we do not have the root password to access the host. We have no way of managing this host or VM since we can not log in to it via console or vsphere client. The company also does not have the password and has no way of retrieving it.

    How can we go about gaining access to this host? I know there is no way to simply reset the root password, but I'm trying to figure out our options. I was wondering if we upgraded from 5.1 to 5.5 if we would be given the option to change the root password, but I'm not sure if this is even possible without being able to log in to the host first. I have Google'd around and not found a solution so I'm hoping someone here may have an idea? Thanks in advance.
0
CCtech
Asked:
CCtech
1 Solution
 
CCtechAuthor Commented:
Also, if it helps, we do have admin access to the server, so maybe somehow a VtoV migration to an external storage, then reinstall ESXi, then migrate the VM back, if possible?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Okay, you have a few options:-

Method 1. Reset the root password, see here:-

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

the above method does work for ESXi 5.1, however it is time consuming.

Official VMware KB Article - which is actually re-install, see Method 2.


Method 2. Re-install ESXi 5.1 or 5.5.

This is the ONLY VMware supported method of password recovery, well it's not password recovery, because you will be re-installing, and selecting a new password.

The installer will detect the current VMFS partition, and Ask do you want to Preserve the VMFS partition, this is where the VMs are stored, so the Answer is YES!

Once re-installed, re-connect using vSphere Client, Browse Datastore, search for the folder, select the VMX File, Right Click it and Select Add to Inventory, Start VM and your done.

some EE Articles I've written



Method 3. Login to existing VM, using RDP install VMware vCenter Converter Standalone 5.5 on the VM, and create a V2V.

some EE Articles I've written



Any questions, please ask, but please remember I'm on GMT (UK Time!)
0
 
piedthepiperCommented:
Andrew if I do a reinstall and preserve vmfs will the networking config remain intact for the local vswitch1?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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