Today I will show you how to reset/recover the vCenter Local Admin account Password
In my case we need to recover the password of User ID administrator@vsphere.local
Note: This procedure is valid for VCSA 6.x and 7.x
Steps:
- Login to VCSA as a root
- Run /usr/lib/vmware-vmdir/bin/vdcadmintool
- Select 3 to reset the account password
- When prompted for the Account UPN, enter: User@vSphere_Domain_Name.local (Example: Administrator@vsphere.local)
Note: VCSA will generate a random password for the account provided. Please take note of that password.
Note: If your vSphere Domain name is customized, provide the customized domain name.
- Log in to vCenter UI as administrator@vsphere.local using a new generated password.
- Go to the top-right side where the username is displayed
- From the drop-down menu select Change Password
- Change password to desire one.
- Now you fully recover the password.
Note: If vdcadmintool fails to execute, please verify the size of the file. It should not be '0 kb' in size. If size is 0 KB, copy the file from another vCenter with similar build. Contact VMware Support if you don't have any other environments to copy the file.
VCSA Tools Path Location /usr/lib/vmware-vmdir/bin/
Windows Path Location of vdcadmintool.exe is located at C:\Program Files\VMware\vCenter Server\vmdird\
VMware KB Reference: https://kb.vmware.com/s/article/2146224
Comentarios