Friday, December 9, 2011

SCVMM impersonation Schizophrenia

I have had a Library server on Microsoft System Center Virtual Machine Manager for years now.  One day it went missing.  I tried to readd it, but it kept saying:
 "Error (2910)
VMM does not have appropriate permissions to access the resource file://blah/share on the blah server.
(Access is denied (0x80070005))
Recommended ActionEnsure that Virtual Machine Manager has the appropriate rights to perform this action."

After revewing many, many web articles ( , , , , ) and many attemps to resolve this issue, I fired up process monitor and decided to start looking for myself. 

I already had the recommended setup, VMM machine name and VMM service acct in local admin group, etc...

Procmon however showed me that there was a network user comming in from the VMM machine, but then it was impersonating "nt authority/system."  What?  When did that change?

So as you can see, the fix was to give at least Read access to the local system user. 
Now back to creating and destroying VMs with just a few clicks of the mouse!