In a bit of a pickle....
I wanted to move a hyper-v vm to another hyper-v server, so, instead of using import/export, I just copied the .VHD file over to the new server (I know, I know, it doesn't work that way...).
So, I copied it back to the original server, tried to restart it, and I get the following error:
"an error occurred while attempting to start the selected virtual machine"
XXXX failed to start.
Failed to power on with error 'General access denied error'
So, I tried the ICACLS option here:
But it threw an error about the (F) not being relevant (at the end of the ICACLS CLI command.