Windows 10 will disable the Intel(R) HD Graphics 5500
or similar GPU drivers if Hypervisor Code Integrity (HVCI) is enabled. HVCI appears to be enabled as part of Hyper-V. This affects laptops from all vendors as far as I can tell.
To disable HVCI,the registry entries outlined by Microsoft do not appear to work.
Microsoft does however provide a PowerShell script which does work.
- Download the script from the link above
- Extract the script
- Run the script
powershell -ExecutionPolicy Bypass -File DG_Readiness_Tool_v3.6 -Ready
powershell -ExecutionPolicy Bypass -File DG_Readiness_Tool_v3.6 -Disable
- Reboot
- You will be prompted in a pre-Windows environment to Press the Windows key or F3 to disable Credential Guard. I disabled this.
- You will next be prompted to Press the Windows key or F3 to disable HVCI. I also disabled this.
Once you're back in Windows, your hotkeys for the Intel Graphics will work as expected. Note: This DOES disable Hyper-V!!! WSL2 appears to stick around afterwards without issue.