How don't Microsoft get how hardly they've fucked up remote management of Hyper V in regards to permissions??
Trying to script creation of about 15 VMs with differencing disks. Easy right? So I log on my management PC and start the process. Get the VHDX created, script creating the differencing disks OK. Then creating a VM? Forget about it...
Current error is:
New-VM : '********' failed to add device 'Virtual Hard Disk'. (Virtual machine ID F51B2C46-9E7A-4821-8733-C695042C883E) '********': Hyper-V Virtual Machine Management service account does not have permission required to open attachment '\\******.Domain\c$\ClusterStorage\volume2\********\OS.vhdx'. Error: 'General access denied error' (0x80070005). (Virtual machine ID F51B2C46-9E7A-4821-8733-C695042C883E).
OK. So I check the folder/VHDX file and the account for Virtual Machine F51B2... has been granted read access, along with 2 other IDs. I've given manually the folder and therefore files in it full access to the computer account where the VM is being created. Still doesn't run.
I start looking into the issue and need to look maybe at delegating access and all this stupid fucking bullshit....
This is fucked. Just fucked. I've come from VMWare, this doesn't happen there. This shouldn't happen here and all your BSing doesn't make shit like this OK. I'm stuck in the fucking mud where instead of scripting working I have to use the GUI and manually create each one, which works fine, from the same server, remotely to the same server, as the same account. Fuck.