How to Reset Forgotten VMware ESXi Root Password

step 1: Boot your ESXi server from USB Live CD linux.

website download image boot live cd boot: https://gparted.org/download.php

link download file boot iso: https://downloads.sourceforge.net/gparted/gparted-live-1.5.0-6-amd64.iso

After download file iso , You are burning file iso to usb boot

Now start server EXSI need reset password Root , select boot USB

select 33 for language english

select 0 for Gui boot

Step 2 : use command below process reset password Root vmware EXSI

sudo su

mkdir /boot /temp

mount /dev/sda5 /boot

cd /boot

cp state.tgz /temp

cd /temp

tar -xf state.tgz

tar -xf local.tgz

rm *.tgz

cd etc

vi shadow

“delete key”

cd ..

tar -cf local.tgz etc/

tar -cf state.tgz local.tgz

mv state.tgz /boot

umount /boot

reboot

Step 3: after reboot server , login server with none password root, process set new password for account root EXSI

Leave a Reply

Your email address will not be published. Required fields are marked *

RELATED POST

Using WinSCP with the VMware vCenter Server Appliance VCSA 6 7 8

Connecting to VCSA with WinSCP If you try to connect to the VCSA with WinSCP in a default configuration, you…

VCSA filesystem is out of disk space vcsa 6.5

This week while doing the normal check of the environment I came to run into a warning on the VCSA…

VMWARE VSPHERE – DEPLOY .OVF ERROR:VIM.FAULT.FILENOTFOUND

I recently upgraded my vSphere host from vSphere 5.5 to 7.0. When I tried to deploy one of my .ovf…

Recreating a missing VMware virtual machine disk descriptor file (.vmdk) (1002511)

Details This article provides steps to recreate a lost virtual disk descriptor file (.vmdk). You may need to recreate missing…