Templates are associated with hosts, and the only way to regain or register templates after removing and adding a host is to use the datastore browser to locate the template. Then use the inventory wizard to name and register the .vmtx file as a template back into vCenter Server.

If you want the template to retain its original name, do not enter a name in the Add to Inventory wizard. vCenter Server will use the original name if the field in the wizard is left blank.

1

Start the vSphere client, and log in to the vCenter Server system.

2

From the Home page, click VMs and Templates.

3

Right-click the datastore that contains the template and select Browse Datastore.

4

Browse through the datastore folders to find the .vmtx file.

5

Right-click the .vmtx file and select Add to Inventory.

The Add to Inventory wizard appears.

6

Enter a template machine name, select a location, and click Next.

7

Select a host or cluster on which to store the template, and click Next.

8

Review your selections, and click Finish.

The template is registered to the host. You can view the template from the host’s Virtual Machine tab.