VMware Cloud Community
dreamgear
Contributor
Contributor

How to re add "unregistered" vm?

I made manual change to a .vmx file that rendered it invalid. I un-did the change but it remained marked invalid. So I removed it from the inventory. Now how can I add it back in?

Reply
0 Kudos
8 Replies
oreeh
Immortal
Immortal

Browse the datastore, right click the .vmx file and select register VM

Reply
0 Kudos
acr
Champion
Champion

Or, you can register VMs from the COS..

vmware-cmd –s unregister /path_to_vmx/vm/old_vm.vmx

vmware-cmd –s register /path_to_vmx/vm/new_vm.vmx

Reply
0 Kudos
admin
Immortal
Immortal

go to the console (or use putty..) and do:

vmware-cmd -s register 'path to vmx file'

Reply
0 Kudos
dreamgear
Contributor
Contributor

Ok, the command line approach worked.

I'm not sure in which interface I was supposed to browse to the vmx file.. I don't seem to have any gui available that can do that. Am I missing something or am I maybe just not licensed for it?

Reply
0 Kudos
oreeh
Immortal
Immortal

You can browse the datastore in the VI client which comes with your ESX by default.

Reply
0 Kudos
dreamgear
Contributor
Contributor

I cannot find that option in VI client.

Reply
0 Kudos
oreeh
Immortal
Immortal

Go to either configuration - storage and right click the storage

or in the main screen choose the ESX host and then right click a storage

take a look at this screenshot

http://foto.arcor-online.net/palb/alben/47/4341047/1680_3964306366356632.jpg

Message was edited by:

oreeh

Reply
0 Kudos
dreamgear
Contributor
Contributor

Thanks.

I was able to access it via the storage/browse datastore method.

Reply
0 Kudos