How to re-register a VM once it had been removed from ESX
Posted by craig
- on September 19th, 2008 in Virtualization | 5 Comments »

Here is how you can re-register an VM and template from Virtual center if you had removed or accidentally removed a VM from your ESs Inventory.
1st, you had to browse through the data store and look for the folder which contain the vmx or vmtx files. Once you had found the machine in the data store, just right click and select to add to inventory.
Choose the ESX host you would like to add for inventory. The entire process will be done in 1 min. Is simple and easy to do this through virtual center if you doesn’t want to perform this from command prompt.
Another alternative is using CLI – vmware-cmd command.
# vmware-cmd -l
/vmfs/volumes/47cba1df-343eb307-cf73-0015174a435a/GLDSTDW2K3/GLDSTDW2K3.vmx
Example: /usr/bin/vmware-cmd -s register
# /usr/bin/vmware-cmd -s register /vmfs/volumes/47cba1df-343eb307-cf73-0015174a435a/GLDSTDW2K3/GLDSTDW2K3.vmx
# /usr/bin/vmware-cmd -s register /vmfs/volumes/47cba1df-343eb307-cf73-0015174a435a/GLDSTDW2K3/GLDSTDW2K3.vmtx (register template)


5 Responses
this seems to be useful for me
[...] you can check previous article “How to re-register a VM once it had been removed from ESX” posted by Craig for register a VM template using Virtual Center and browse through the data [...]
Thanks a lot… less than a minute to find the answer…
Just the info I was looking for, thanks.
good solution