Link to home
Start Free TrialLog in
Avatar of Michael L
Michael LFlag for United States of America

asked on

[VMware] How to Restore a Role to a VM?

Experts,

So, that quirky thing vCenter web client does when you think you're making a change to what you have highlighted, but it's actually targeting something else, got me. So, I created a Role in the Permissions tab and attached it to a VM for testing. I deleted that Role, I thought, except it appears I maybe deleted which ever one gave me permission to Edit the VM. I'm currently locked out of it.

"You do not have permission to view this object or this object does not exist," is what I'm left with...

I don't have any snapshots of this VM, either. Is it possible to restore whatever it was I accidentally deleted?

Thanks!
Avatar of Sean
Sean
Flag of United States of America image

Did you remove administrators group from the VM? You'll probably need to log in as root to add administrators back.
Avatar of Michael L

ASKER

I'm not sure what was deleted, but I'm not too sure that was it now... I added the same Role, without deleting any other, to another VM. I'm locked out of that, too. That was one I created for Citrix and is pictured here. I assigned it to Adminstrator one one VM and Administrators to this other one.
Ok, so... I relogged because I couldn't remember the root credentials and I can now edit them again. I never removed any roles, or whatever. Sorry for wasting your time, Sean, but thank you for your speedy response.
Always happy to help.
Sean, actually, I can't Edit either permissions. I don't know what happened, but by me adding this XenApp Service role I created, it usurped:

VSPHERE.LOCAL\Administrator | Administrator | 10.10.9.10

Instead of the above, which is what all my VMs have, these two have:

VSPHERE.LOCAL\Administrator | XenApp Service | This object and its children

So, still in some trouble :P
Are you able to directly add the admin account to the permissions and not use roles?
Add Permissions is grayed out.
ASKER CERTIFIED SOLUTION
Avatar of Sean
Sean
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'll give this a shot tomorrow morning, when my brain is fresh. Thanks again. I'll let you know how it goes.
Sean, thanks! This'll work.