If the actual host name or domain name of the vCenter Server machine does not match the name that was entered at installation, the service does not work. When the host name or domain name of the vCenter Server machine changes after you install vCenter Server, update the configuration information of the inventory service.

1

Stop the vCenter Inventory Service.

a

From the Windows Start menu, select Administrative Tools > Services.

b

Right-click vCenter Inventory Service and select Stop.

2

Open a command prompt.

3

Change directory to Inventory_Service_directory/scripts

The location of the Inventory Service directory is specified during the vCenter Server installation. For example, if you installed vCenter Inventory Service in the default location, run this command.

cd /Program Files/VMware/Infrastructure/Inventory Service/scripts
4

Run the register.bat command to update the stored configuration information of the Inventory Service.

register.bat current_vCenter_Server_fully_qualified_domain_name vCenter_Server_HTTPS_port

For example, if the vCenter Server fully qualified domain name is machinename.corp.com and the HTTPS port is 443, run this command.

register.bat machinename.corp.com 443
5

Restart the vCenter Inventory Service.

a

From the Windows Start menu, select Administrative Tools > Services.

b

Right-click vCenter Inventory Service and select Start.

The vCenter Inventory Service URL configuration is updated.