Manually Deregistering Vcenter Server From SSO Server

By | 04/09/2014

If you want to remove corrupted or removed vcenter server from SSO. You need some manual action in Single Sign on Server.

First you need to extract C:\Program Files\VMware\Infrastructure\vSphereWebClient\SsoRegTool\ssolscli.zip file.

You can see extracted files below.

Open a command promt to run some sso commands.

Go to related directory.

cd C:\Program Files\VMware\Infrastructure\vSphereWebClient\SsoRegTool\ssolscli

Set java Home directory.

set JAVA_HOME=c:\program files\vmware\infrastructure\jre

Then list registered services

ssolscli listServices https://SSO_ADDRESS_OR_IP:7444/lookupservice/sdk
if you want multiple services to be deleted. then create a txt file in same directory. and add serviceids in lines like below.
{9D114ABC-176B-212C-93D8-B0E46BBF72AF}:17
then run this command to unregister.
ssolscli unregisterService -d https://SSO_ADDRESS_OR_IP:7444/lookupservice/sdk -u ssoadminuser -p ssoadminpassword -si serviceid.txt