I'm trying to reset the administrator@vsphere.local password but it fails every time...
I'm using this document : VMware KB: Cannot change the administrator@vsphere.local password after upgrading from vCenter Serve...
But everytime I try it fails with code 9100:
Here is my log:
==================
Please select:
0. exit
1. Test LDAP connectivity
2. Force start replication cycle
3. Reset account password
4. Set log level and mask
5. Set vmdir state
==================
3
Account DN: cd=administrator,cn=users,dc=vsphere,dc=local
VmDirForceResetPassword failed (9100)
Anyone know how to fix this ??
Thread moved to vCenter community
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Try running command as su.
vGeek: Reset administrator@vsphere.local account password on vCenter appliance
Forgot to mention that we aren't running the appliance.
So I can't run the command as "su".
Could it be a version related issue ?
vCenter Server = v5.5.0.39885 (vCenter is running on Windows Server 2012)
PowerCLI = v5.5.0.6296
just run
su -
it will ask for password and you will be in superuser mode. they you can try the command
As mentioned above, I'm not using the appliance.
I'm working from an elevated prompt on a Windows 2012 server that doesn't have a "su" user .
So, running the task as "su" isn't an option.
Had the same issue today, the solution is simpler than it looks at the beginning. Made following two mistakes :
1. The first attempt was wrong, because there were spaces left after the commas (cn=administrator,"space"cn=users...)
Account DN: cn=administrator, cn=users, dc=vsphere, dc=local
VmDirForceResetPassword failed (9100)
2. The second attempt was wrong, because there was entered "cd=administrator" instead of "cn=administrator" :
Account DN: cd=administrator,cn=users,dc=vsphere,dc=local
VmDirForceResetPassword failed (9100)
When entering the correct words without spaces, everything ran fine :
Account DN: cn=administrator,cn=users,dc=vSphere,dc=local
New password is -
...
Hi Everyone,
I have done the same in windows based vCenter 6.0 U2
I have logged in vcenter machine as local administrator and done the remaining tasks as you have mentioned. the issue got resolved. Try the same.
Same issue here, finally just did a full reinstall. vCenter 6.5 has some major account management issues. It was a fresh install and the password I submitted simply didn't work. And of course the password reset procedure doesn't work either.
You need to run the tool as an Local administrator