Posts Tagged ‘ESXi 7’

Hancock’s VMware Half Hour – ESXi Password Recovery Toolkit 4.0 !

Monday, November 16th, 2026

If you don’t want to read the blog the tech preview video is here

 

The original ESXi Password Recovery Toolkit project, first announced in March 2026

The beginnings of a rather long project! This was my original announcement back in March 2026.

This has been a considerably longer project than I originally anticipated!

You might reasonably ask why I decided to develop an ESXi password recovery utility in the first place. Well, there’s a rather significant gap in the VMware vSphere Hypervisor (ESXi) product: **there is no officially supported root password reset facility in ESXi 7.x, 8.x or 9.x.**

If you lose or forget the root password, the officially supported recovery approach is to reinstall ESXi. Broadcom documents the available recovery methods in its knowledge base article:

[Methods to recover the ESXi host root password]

For those of us who have been around VMware for a while, this isn’t an entirely new problem.

Many moons ago (25 years, in fact!), there were bootable utilities available that could help reset passwords on ESX/ESXi installations. Unfortunately, those utilities were no longer maintained or developed. More recently, changes to ESXi, including the introduction of configuration encryption, have made password recovery considerably more complicated.

There are still various documents and guides scattered across the internet describing parts of the recovery process, but finding a reliable, repeatable solution that works across multiple ESXi releases is another matter entirely.

Why did I develop the toolkit?

The original motivation came from a specific client requirement. They needed to recover the root passwords on several ESXi hosts. For reasons I won’t go into here, reinstalling the hosts, as recommended by Broadcom, simply wasn’t an option.

Within a month, we received another request for exactly the same functionality.

That was the catalyst for the original project and the reason I started developing the ESXi Password Recovery Toolkit.

The initial version, which I deliberately held back from release, was a fairly straightforward Bash script. It relied on a VMware ESXi installer ISO to perform the recovery process.

However, as the project developed, I started to have reservations about continuing to rely on proprietary VMware/Broadcom binaries and components.

Recent developments surrounding VMware’s VDDK (Virtual Disk Development Kit), including the wider discussion around its availability and Broadcom’s approach to third-party integration, reinforced my thinking. I wanted something that was more self-contained, relied on open-source components and didn’t depend on VMware/Broadcom binaries to do its job.

A complete re-engineering – Version 4.0

Over recent months, I’ve therefore taken a completely different approach.

Rather than simply updating the original Bash script, I’ve effectively started again.

**Hancock’s VMware Half Hour – ESXi Password Recovery Toolkit 4.0 has been completely re-engineered.**

The new toolkit uses a Debian-based Live bootable CD-ROM environment and has been rewritten to use open-source utilities and modules.

This is a significant departure from the original implementation. It provides a much more self-contained recovery environment without the dependency on VMware installer media.

I’ve also spent considerable time testing the new implementation across multiple generations of VMware hypervisor:

– VMware ESXi 7.x
– VMware ESXi 8.x
– VMware ESX/ESXi 9.x

This hasn’t been a case of simply getting a script to execute. The important part has been validating the complete recovery process across different releases and builds.

What started as a relatively small utility to address a couple of client requirements has evolved into a much larger engineering project.

And that’s the story behind version 4.0. More details on the toolkit, its development and the testing results will follow.

Part 27: HOW TO: Migrate VMware vCenter Server 7.0 in an enabled EVC VMware vSphere 7.0 Cluster of ESXi 7.0 hosts using “Andy’s Towers of Hanoi solution”

Sunday, September 29th, 2024

In this video, I will show you “Andy’s Towers of Hanoi solution to  Migrating VMware vCenter Server 7.0” – HOW TO: Migrate VMware vCenter Server 7.0 in an enabled EVC VMware vSphere 7.0 Cluster of ESXi 7.0 hosts.

This video builds and continues on the theme in this series  Part 22: HOW TO: Add VMware vSphere Hypervisor ESXi 7.0 Hosts to VMware vSphere vCenter Server 7.0. and Part 25: HOW TO: Add a Synology NAS providing NFS Storge to VMware vSphere Hypervisor ESXi 7.0.

The reason I call this the Andy’s Towers of Hanoi solution is that the Towers of Hanoi is a puzzle game, and a logical approach is required in a certain order to solve it. This is very similar to the puzzle or headache, when you have older and new CPU generation VMware vSphere Hypervisors Hosts (ESXi hosts), and vCenter Server is currently hosted on a new CPU host (with newer CPU), and you want to combine all these hosts in a Cluster using an EVC baseline.

Like the individual blocks of the Towers of Hanoi puzzle, represents a procedure or function in the process to migrate the vCenter Server.

In this tutorial and example in this Lab, this is complicated in the virtual machine vCenter Server 7.0 are also hosted on shared storage which is also hosted on the Dell PowerEdge R730, which we want to add to a Cluster of Dell PowerEdge R720. This example represents adding a new CPU generation host “Haswell” to older CPU generation hosts “Sandy Bridge” in the same Cluster.

In Summary

1. Storage vMotion all virtual machines from shared storage to local storage on the Dell PowerEdge R730.
2. Power off the virtual machine Synology NAS
3. Enable EVC “Sandy Bridge” Per VM EVC for Synology NAS.
4. Power on virtual machine Synology NAS.
5. Storage vMotion all virtual machines from local storage on the  Dell PowerEdge R730 to Shared storage on the Synology NAS.
6. Power off DNS virtual machine.
7. Cold Migrate to Cluster. Power on DNS virtual machine.
8. Power off vCenter Server 7.0 virtual machine.
9. Unregister from vCenter Server 7.0  host (Dell PowerEdge R730).
10. Register vCenter Server 7.0  on new host (Dell PowerEdge R720)/
11. Power on vCenter Server 7.0 on new host (Dell PowerEdge R720).
12. Login to vCenter Server 7.0.
13. Drag and Drop Dell Power Edge R730 into Cluster.
14. Done.

Enhanced vMotion Compatibility (EVC) Explained