I have a Server 2008 R2 server running Hyper-V, and after a reboot the virtual machine running on Hyper-V disappeared. I had this happen before on other 2008 servers, and I would stop the Hyper-V service, and replace the xml file associated with the virtual machine with a xml file from backup. This usually works. I tried it with this server and it did not work. Here is the original errors I was receiving.
Wonderdesk1' cannot access the data folder of the virtual machine. The worker process (Process ID The requested operation cannot be performed on a file with a user-mapped section open.) may not be functional anymore. (Virtual machine ID 2F544E08-05F3-48D3-A5D9-D8BF764C2C8C)
Cannot load a virtual machine configuration because it is corrupt. (Virtual machine ID 2F544E08-05F3-48D3-A5D9-D8BF764C2C8C) Delete the virtual machine configuration file (.XML file) amd recreate the virtual machine.
After replacing the xml file I get the following error.
Cannot load a virtual machine configuration file general access denied error (0x80070005). I am receiving this error event ID 16300 for the virtual machine, or 16320 for the snapshots. This is a critical virtual machine, so any help would be greatly appreciated.