Wednesday, March 9, 2011

Change the root password of ESXi

You can change the root password of a ESXi 4.1 box by using the local console or by using vSphere CLI.

Below is how you do it via CLI...

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vicfg-user.pl --server yourservername.domain -e user -o modify -l root -p newpassword