I was trying to use Hyper-V DDA for my GPU and ran the following script from microsoft.com. See script at bottom of page: https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/deploying-graphics-devices-using-dda

After running it, it seems it disabled the device for my host PC resulting in the screen freezing after Windows loads.

I assume this is because of the following lines:

Disable-PnpDevice -InstanceId $gpudevs[0].InstanceId

and possibly

Dismount-VMHostAssignableDevice -force -LocationPath $locationPath

Is there a way to reverse this using the Windows recovery? Id est, in CMD.EXE. Safe-mode seems to have the same issue.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.