VMware Cloud Community
bigusdadius
Contributor
Contributor
Jump to solution

Accidentially Removed ALL VM Permissions

While working in my lab I accidentally removed ALL permissions from a VM. The VM no longer shows up in VC and when I try recreating it I receive the message that it already exists. Any ideas??

0 Kudos
1 Solution

Accepted Solutions
bretti
Expert
Expert
Jump to solution

If you remember which disk the vm was stored on, you can use the datastore browser to find the .vmx file for the vm and register it back into the inventory.

View solution in original post

0 Kudos
4 Replies
admin
Immortal
Immortal
Jump to solution

Find out which host the VM is running on (if you don't already know) by running vmware-cmd -l[/b] on each host until you find it.

Then try unregistering and re-registering the VM from the host using vmware-cmd.

0 Kudos
jjohnston1127
Hot Shot
Hot Shot
Jump to solution

Also, try using the VI Client and logging in as root to connect directly to your ESX host(s) until you find the VM. You can modify permissions there.

0 Kudos
bretti
Expert
Expert
Jump to solution

If you remember which disk the vm was stored on, you can use the datastore browser to find the .vmx file for the vm and register it back into the inventory.

0 Kudos
hicksj
Virtuoso
Virtuoso
Jump to solution

What version of VC are your running?

I've tried to do this intentionally, but VC (2.0.1) would not allow me to do so. I'm curious how you accomplished this.

Thanks,

J

0 Kudos