Ok imagine this scenario, you run out of hdd space or get a faster hdd that you are storing your HyperV vm's on, and you decide to copy the vms from hd1 to hd2. When you attach the new hd to your computer and try to start your vm's you get an error like this:
Unamed VM could not Initialize
clicking on See Details reveals the following
'Unnamed VM' could not be read or udpate the virtual machine configuration because access was denied: General access denied error (0x80070005). Check the security settings on the folder in which the virtual machine is stored. (Virtual machine ID 5AE7EC71-5059-4597-9542-86943F192045).
To fix it we need to restore the ICACLS that were originally set (but not copied) on the VM's. To do this we first need the VM's GUID. To get it, expand the virtual machine dir where you store your vm's, and locate the VM in question, then expand that dir until you see the Virtual Machines directory, in there you'll see the GUID, copy it (the GUID).
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Ok imagine this scenario, you run out of hdd space or get a faster hdd that you are storing your HyperV vm's on, and you decide to copy the vms from hd1 to hd2. When you attach the new hd to your computer and try to start your vm's you get an error like this:
Unamed VM could not Initialize
clicking on See Details reveals the following
To fix it we need to restore the ICACLS that were originally set (but not copied) on the VM's. To do this we first need the VM's GUID. To get it, expand the virtual machine dir where you store your vm's, and locate the VM in question, then expand that dir until you see the Virtual Machines directory, in there you'll see the GUID, copy it (the GUID).
Use the following command
you'll see it output something like this:-
and that's it ! all done, repeat the above for each VM
This post was completed thanks to help from here
cheers
niall.
Share this post
Link to post
Share on other sites