VMware Cloud Community
Morevalar
Contributor
Contributor

Help! Can not reset administrator password.

Hello. Can anybody help me, please. When i`m resetting passoword for administrator@vsphere.local in my Vsphere 6, i get such error:

"VmDirForceResetPassword failed (5)"

What am i doing wrong?

For resetting `ve used KB manual: VMware KB: Unlocking and resetting the VMware vCenter Single Sign-On administrator password

Please help.

13 Replies
sakthivelramali
Enthusiast
Enthusiast

Hello

Please try below steps

For the vCenter Server:

  1. Log in to the vCenter Server with a domain administrator account. If vCenter Single Sign-On is installed separate from the vCenter Server, log into the vCenter Single Sign-On server.
  2. Open an elevated command prompt. For more information
  3. Navigate to the vmdird directory with this command:
    c:\>cd Program Files\VMware\Infrastructure\VMware\CIS\vmdird
  4. Open the vdcadmintool service tool with this command:
    c:\Program Files\VMware\Infrastructure\VMware\CIS\vmdird>vdcadmintool.exe
    This console loads:

    ===============================
    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
    ===============================
  5. Press 3 to enter the Reset account password option.
  6. When prompted for the Account DN, enter:
    cn=administrator,cn=users,dc=vSphere,dc=local
  7. A new password is generated. Use this password to log into the administrator@vSphere.local account.
Thanks Sakthivel R
0 Kudos
Morevalar
Contributor
Contributor

This is fo vSphere 5. I`ve got 6. And i need to enter ACCOUNT UPN.

But when i do I`ve get this error: "VmDirForceResetPassword failed (5)"

0 Kudos
cwdgomez
Contributor
Contributor

I have the same exact issue also. I need help ASAP!!!!!!

0 Kudos
7POD
Contributor
Contributor

hi had the same problem.

I logged in with the local administrator and ran the Cmd as admin and after that it worked. hopes it helps.

C:\Program Files\VMware\vCenter Server\vmdird\vdcadmintool.exe

Chears

Kisan_VMware
Enthusiast
Enthusiast

Hi,

Follow the step to reset to reset administrator pwd, hope this will help.

  1. Open command prompt as administrator on the SSO 5.5 server
  2. cd /d “C:\Program Files\VMware\Infrastructure\VMware\CIS\vmdird”
  3. vdcadmintool.exe
  4. Press 3 to enter the username
  5. Type: cn=Administrator,cn=users,dc=vSphere,dc=local
  6. Hit enter
  7. New password is displayed on screen
  8. Press 0 to exit

Pretty easy eh?

SSOPW

You can get to the same utility on the VCSA by logging in with root at the console and launching the following command:

/usr/lib/vmware-vmdir/bin/vdcadmintool

Follow the same process listed above to generate a new password.

0 Kudos
bmorrisj
Contributor
Contributor

I'm having the same issue; and I paid attention to OP's posts. This is Vcenter 6.0 where it aks for UPN, not DN.

0 Kudos
sagarmaru
Enthusiast
Enthusiast

hi , i had the same problem.

0 Kudos
lizreal
Contributor
Contributor

I'm running vCenter on Windows 2008, this suggestion worked for me.

0 Kudos
bkmemeo
Contributor
Contributor

The UNIX interface asks for an "account UPN", here's the default:

account UPN : Administrator@vSphere.local

0 Kudos
bkmemeo
Contributor
Contributor

The UNIX interface asks for an "account UPN", here's the default:

account UPN : Administrator@vSphere.local

0 Kudos
bkmemeo
Contributor
Contributor

The UNIX interface asks for an "account UPN", here's the default:

account UPN : Administrator@vSphere.local

bulatkaz
Contributor
Contributor

Had the same issue with vCenter 6.0 running on Windows machine, running vdcadmintool on behalf of built-in user account, as it is suggested in https://kb.vmware.com/s/article/2144902, solved the issue.

0 Kudos
b_cli
Contributor
Contributor

Thank you

0 Kudos