VMware Cloud Community
bezarghazi
Contributor
Contributor

vCenter Single Sign On master password

Hi guys

i do not remember admin@system-domain password

i wondring how to reset admin's account password

i tried to reset password by rsautil command line but i dont remember master password.

Anyway to reset password? can i find Master password in DB tables? or add new user admin user in DB?

Br

Bezar

68 Replies
milesmeridith
Enthusiast
Enthusiast

I executed Mohammed's SQL command and it completed successfully but I'm still getting "the provided credential are not valid". Is there a way for me to verify the username?

Reply
0 Kudos
sean0xb8
Contributor
Contributor

My group was facing an issue where we did not remember the password for admin@System-Domain, so we executed the help posted by memaad (810 posts since Dec 2, 2009) Jun 13, 2013 2:43 PM.

It worked and helped us out tremendously.

Our situation was slightly different in that we did not have the web client installed.

One thing to note is that if you previously attempt username password combinations that fail beyond 3 attempts, even the new password set via memaad's method fails. The Single Sign On (SSO) will lock you out for 15 minutes, so make sure to wait at least 15 minutes.

santoshdalvider
Enthusiast
Enthusiast

Hi Team ,

I used unsupported way to reset the password :

UPDATE

[dbo].[IMS_PRINCIPAL]

SET

[PASSWORD] = '{SSHA256}KGOnPYya2qwhF9w4xK157EZZ/RqIxParohltZWU7h2T/VGjNRA=='

WHERE

LOGINUID = 'admin'

AND

PRINCIPAL_IS_DESCRIPTION = 'Admin';

This will reset the password to "VMware1234!",

It ran successfully but when i am checking the webclient using the username and reset password , It is not working properly.

Please can you make me understand this .

Regards,
Santosh Dalvi

Reply
0 Kudos
grasshopper
Virtuoso
Virtuoso

Hi santoshdalviderby,

What version of vCenter are you running (probably 5.1 right?).  Have you tried rebooting the vCenter since the fix?  Have you waited at least 15 minutes between any failed login attempts (default lockout is 3 bad attempts).  Also please make sure you are logging in with admin@system-domain ("admin" must be all lower case).  Ensure that the system time is healthy.

If all of the above checks out, then please tell us more about the steps taken prior to resetting the password.  Did you attempt to re-install any components (especially interested to know if any installs failed).  Keep in mind, this fix is only valid for a perfectly healthy system for which the password was forgotten.

Please review KB2034506.  You can also review the Web Client Logs, and other vCenter logs.  If the problem persists please provide the error message you get when attempting to login and share any relevant logs by attaching them using the advanced editor on a forum post reply.

grasshopper
Virtuoso
Virtuoso

Excellent!  Good job and thanks for sharing!

Reply
0 Kudos
CCWW
Enthusiast
Enthusiast

We had a similar issue recently. We used the steps to reset the SSO admin password and unlock the account. We can now successfully login via the web client using the admin@system-domain account.

What isn't working for us is the upgrade of vCenter. Starting with upgrading SSO it asks for the admin password which we now have. When I enter that password it gives an error that it's blank or incorrect. Is it really looking for the admin password or something else?

Reply
0 Kudos
Morevalar
Contributor
Contributor

Hi!

Is it possible to reset master password with "unsupported" method in vSphere 6?

Reply
0 Kudos
sarikrizvi
Enthusiast
Enthusiast

Try this KB - 2146224 - VMware Knowledge Base

Regards,
SARIK (Infrastructure Architect)
vExpert 2018-2020 | vExpert - Pro | NSX | Security
vCAP-DCD 6.5 | vCP-DCV 5.0 | 5.5 | 6.0 | vCA-DCV 5 | vCA-Cloud 5 | RHCSA & RHCE 6 | A+ (HW & NW)
__________________
Please Mark "Helpful" or "Correct" if It'll help you
_____________________________________
@Follow:
Blog# https://vmwarevtech.com
vExpert# https://vexpert.vmware.com/directory/1997
Badge# https://www.youracclaim.com/users/sarik
Reply
0 Kudos