Solved

ESXi 5.1 root password reset

Posted on 2014-04-23
3
7,675 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
3 Comments
 
LVL 1

Author Comment

by:CCtech
Comment Utility
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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
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
Comment Utility
Andrew if I do a reinstall and preserve vmfs will the networking config remain intact for the local vswitch1?
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now