vCenter 5.x/6.x: How to reset administrator@vsphere.local account password

//vCenter 5.x/6.x: How to reset administrator@vsphere.local account password

vCenter 5.x/6.x: How to reset administrator@vsphere.local account password

There is a couple of reasons if we lose SSO administrator password.

We can forget the password, but also after an update from vCenter from 5.1 to 5.5, we cannot change the password in vSphere Web Client(is grayed out).

If happened, we need to reset the password SSO administrator@vsphere.local.

You can reset the password with the tool vdcadmintool.exe on a Window Server, or from the vCenter Appliance(Linux based).

  • How to reset

  • For the vCenter Windows Server:

Log in to the vCenter Server with a domain administrator account, or to vCenter Single Sign-On if SSO is installed in a separated server.

Open a cmd(shell command prompt) console with “Run as Administrator”

Go to vmdird folder, that is located in “Program Files\VMware\Infrastructure\VMware\CIS\vmdird” or in “C:\Program Files\VMware\vCenter Server\vmdird”

  1.  Change Directory: c:\cd\Program Files\VMware\Infrastructure\VMware\CIS\vmdird
  2.  Run vdcadmintool tool: c:\Program Files\VMware\Infrastructure\VMware\CIS\vmdird>vdcadmintool.exe
  3.  Press 3 to choose to:  Reset administrator@vSphere.local password account.
  4.  Add the Account DN: cn=administrator,cn=users,dc=vSphere,dc=local 

    if you customized your vSphere Domain name, provide the customized domain name in the Account DN option.(a new password is generated and displayed. Use this password to log into the administrator@vSphere.local account.)
  5. Press 0(zero) to exit console menu.

  • For the vCenter Server Appliance

For vCenter Appliance is the same procedure as for Windows, except the connection to the vCenter and location of the vdcadmintool

Connect to your vCenter Appliance with ssh and user root(if you did not change the initial password, the default password is vmware).

Note: If ssh is not enabled in the vCenter appliance you need to enabled ssh option in the vCenter Appliance Web Console.

Connect to:

https://ip-address:5480 and in the admin tab enable “Administrator SSH login enabled.”

After you are connected to the vCenter Appliance through ssh, the location of the  vdcadmintool is: /usr/lib/vmware-vmdir/bin/vdcadmintool

Reset Password:

Run the tool and use the same procedure/options that are detailed above for Windows vCenter.


Note: If you customized your vSphere Domain name, provide the customized domain name in the Account DN option.

After these tasks, your account administrator@vsphere.local password is reset.

Note: After you reset your account if you want to change the password to your company/environment policy, you can connect to your vCenter with vSphere Web Client and edit user(administrator) and change the password for administrator account.

Go to option “Administration; Single Sign-On; User and Groups; Users Tab” then choose administrator user, right mouse click and choose “Edit User”(or use Edit User icon) and change password.

If you have your administrator@vsphere.local account locked(too many bad password attempts), or any other account, in the “Administration; Single Sign-On; User and Groups  Users Tab”, right mouse click and choose “Unlock”(or use Actions – Unlock icon) to unlock the account.

Note: To unlock, or do any changes in the administrator@vsphere.local, or connect to Single Sign-On area, you need a user with Single Sign-On administration permissions.

Additional information you can found here in VMware KB: KB-2061122 and KB-2034608

Hope this can help you fix your issues with the account administrator@vsphere.local(or other administration accounts).

Note: Share this article, if you think it is worth sharing.

©2017 ProVirtualzone. All Rights Reserved
By | 2017-12-30T02:50:13+00:00 June 3rd, 2015|Virtualization|7 Comments

About the Author:

I am over 20 years’ experience in the IT industry. Working with Virtualization for more than 10 years (mainly VMware). I am an MCP, VCP and vExpert for the last 3 years. Specialties are Virtualization, Storage, and Backups. I am working for Elits a Swedish consulting company and allocated to a Swedish multinational networking and telecommunications company as a Teach Lead and acting as a Senior ICT Infrastructure Engineer. I am a blogger and owner of the blog


  1. javid December 26, 2016 at 1:12 pm - Reply

    is using vdcadmintool must? what if we change password directly from vsphere web client?

    • Luciano Patrao January 12, 2017 at 10:28 pm - Reply

      Hi Javi,

      Yes you can, but how can you change that password, since you don’t have the initial password to login?
      Also when you upgrade from 5.1 to 5.5, sometimes that option is not available.

    • Luciano Patrao June 11, 2017 at 6:45 pm - Reply

      Hi Javid,

      Only today I notice that my reply is not sending emails to users that comment on my blog. So now I am just FYI to you regarding my comment.

      Thank You

      Luciano Patrao

  2. Abbas October 27, 2017 at 1:15 pm - Reply

    thank yo so much it worked for me from windows CMD, but it asked for UPN wich i provide administrator@vsphere.local

    • Luciano Patrao October 31, 2017 at 11:16 pm - Reply

      Hi Abbas,

      Thank you for your comment and glad to help.

  3. dave November 1, 2017 at 1:01 am - Reply

    What if we wanted to change the password for another local user? Can we do it via powershell (powercli) or Rest? I want to automate rotating passwords.

Leave a Reply

%d bloggers like this: