HomeVirtualizationHow to Reset Lost Root Password in VCSA

How to Reset Lost Root Password in VCSA

In this article, we will show you how to reset lost root password in VCSA if we have forgotten the existing root password for a VMware vCenter Server Appliance 7.0.2, the one I have installed in my VMware Workstation. To reset the root password of VCSA, there will be downtime required. Reboot the vCenter server. I am running the vCenter server V 7. It is working on PHOTON OS Version 3.0. After restarting VCSA, once the below splash screen appears, press the e button on the keyboard.

Note: This article is definite for the VMware vCenter Server Appliance 7.0 and won’t work for earlier versions. Follow these steps at your own risk, and always back up the VCSA before applying any changes. Read this article to find out how to reset root password vCenter.

Reset Lost Root Password in VCSA

How to reset the forgotten root password in VMware vCenter Appliance 7
First, you need to take a backup or snapshot of your VMware vCenter Server Appliance. Please do not ignore this step.
Reboot your vCenter Server Appliance
Click on the action menu, select Power, and then select Reset.

VMware vCenter server appliance

After rebooting the VCSA Photon OS, hit the e key to enter the GNU GRUB Edit Menu.

Photon version 3.0

Find the line that starts with the word Linux.
Enter the below command at the end of the line after a space.

rw init=/bin/bash

Press F10 to reboot.

Setting the boot options in GRUB

Type passswd to reset the root password.

passwd

Enter a new root password and confirm the password. You will see the password successfully updated.
You can unmount the file system by using the umount command

Umount /

Select the Power option again and select Reset.

Reset lost root password in VCSA

Click yes

Restarting virtual machine warning

Press F2.

VMware vCenter Appliance Management

Type a new VCSA password and press enter.

VMware authentication required

How to Reset vCenter Root Password

If you are working on VMware vCenter server 7.0 and above, this is another quickest way of changing the VCSA root password of the root user, if you already know it without downtime using the VAMI portal.
Launch the vCenter VAMI portal using the 5480 port. Use your [email protected] username and credentials to log in.
Click on the Actions tab on the menu, and from the drop-down list, click on Change Root Password.

vCenter server management

Type the old password and then a new password. Click save

Reset VCSA root password
Jamil
Jamilhttp://jamiltech.com
A Professional Technology Blog Writer | An energetic professional with more than 20+ years of rich experience in Technology, Planning, Designing, Installation, and Networking.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments

what is cryptocurrency and bitcoin on How to Backup and Restore IIS Configuration
경기광주출장안마 on How to Backup and Restore IIS Configuration
영등포출장마사지 on How to Backup and Restore IIS Configuration
Twalsu light mirror for vanity on How to Backup and Restore IIS Configuration
fitspresso analysis on How to Reset Microsoft 365 Password
historical landmarks tours for history buffs on How to Add Hyper-V Server Altaro VM Backup
9780443186882 PDF download on How to Migrate Active Directory 2012 to 2022
Shaik Mohammad Jaheer on How to Enable Night Light on Windows 11