I am building Red Hat 6.8 virtual machines on a Windows 10 Enterprise host. Works fine -except that at the end of the guest installation, when it prompts you to reboot, the VM comes back to the Red Hat splash screen, running off the installation DVD, rather
than booting the freshly-installed guest O/S.
No problem: just eject the DVD. Click Media -> DVD Drive -> Eject <name-of-iso>.
And at that point, I get a pop-up box declaring "Failed to remove device 'Microsoft:Hyper-V:VirtualCD/DVD Disk':Access denied (0x80041003). Account does not have sufficient privilege to open attachment 'D:'. Error 'General access denied error'.
If I shut the VM down, then I can either edit its settings to set the drive to 'none' contents, or I can click the Media->DVD->Eject option successfully.
So basically, I cannot eject a DVD from a running VM, and I would like to be able to do so
What privilege is required to do this on a running VM, please? And how may I grant it?
(For the record, I also ran an administrator powershell, and got the same error when I tried to eject the DVD from a running VM with the command Set-VMDvdDrive -VmName <vmname> -ControllerNumber 1 –ControllerLocation 0 –Path $null.
But if I powered down the VM, then that command silently returned, indicating success. Which is nice, but again: I would like to be able to eject DVDs from **running** VMs, not just ones which have been shut down.)
Thanks,
HJR