Solved

ESXi 5.1 root password reset

Posted on 2014-04-23
3
7,996 Views
Last Modified: 2015-08-14
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
Comment
Question by:CCtech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Author Comment

by:CCtech
ID: 40019030
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
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 40019074
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
 
LVL 2

Expert Comment

by:piedthepiper
ID: 40929498
Andrew if I do a reinstall and preserve vmfs will the networking config remain intact for the local vswitch1?
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question