If your graphics card suddenly stops working and you see “This device is disabled. (Code 22)” in Device Manager, Windows 11 has essentially turned off your GPU due to a driver, hardware, or power-related issue. This can lead to symptoms like:
- Low screen resolution
- Stuttering or lag
- Games refusing to launch
- Black screen during startup
- Apps using Microsoft Basic Display Adapter
The good news is that Error Code 22 is one of the easier GPU issues to fix, because it simply means Windows disabled the device — and you can re-enable it.
Let’s walk through every effective fix for Graphics Driver Error Code 22 on Windows 11.
1. Re-Enable the Graphics Device Manually
Code 22 appears when Windows disables a device. You can turn it back on instantly.
- Press Windows + X and click Device Manager.
- Expand Display adapters.
- Right-click your GPU (Intel, NVIDIA, AMD).
- Click Enable device.
- Wait a few seconds and check if the error disappears.
If your GPU turns back on successfully, you should immediately see screen flicker as the driver reloads.
2. Restart Your PC to Clear Temporary GPU States
Sometimes Windows disables the GPU temporarily due to a boot conflict or power glitch.
- Save your work and click the Start menu.
- Choose Restart (not Shut down).
- Once Windows reloads, check Device Manager again.
A simple reboot often restores the GPU from standby mode.
3. Update or Reinstall the Graphics Driver
Corrupted or outdated drivers are the most common reason for Code 22.
- Open Device Manager.
- Right-click your GPU → Update driver.
- Click Search automatically for drivers.
If no update is found, reinstall the driver completely:
Clean Reinstall Steps:
- Right-click the GPU → Uninstall device.
- Check Delete the driver software for this device.
- Restart your PC.
- Install the latest driver:
- NVIDIA: via GeForce Experience
- AMD: via Adrenalin Edition
- Intel: via Intel Driver & Support Assistant
This rebuilds the entire GPU driver stack from scratch.
4. Check for Windows Updates That May Re-Enable the GPU
Windows Update frequently delivers GPU driver fixes and stability patches.
- Open Settings → Windows Update.
- Click Check for updates.
- Install all available updates.
- Restart your PC.
Sometimes a security or compatibility update resolves Code 22 automatically.
5. Disable Power Management That Turns Off the GPU
Windows may disable hardware to save power — especially on laptops.
- Open Device Manager.
- Expand System devices.
- Look for:
- PCI Express Root Port
- Intel Management Engine Interface
- Right-click → Properties → Power Management tab.
- Uncheck:
Allow the computer to turn off this device to save power - Click OK.
- Restart your PC.
This prevents Windows from powering down components that communicate with the GPU.
6. Reset BIOS to Default Settings
Incorrect BIOS settings can disable PCIe slots or iGPU/dGPU switching.
- Restart your PC.
- Enter BIOS using F2, DEL, F10, etc.
- Look for Load Setup Defaults, Load Optimized Defaults, or Restore Defaults.
- Save and exit.
This restores proper PCIe behavior, letting Windows detect the GPU correctly.
7. Turn Off Hybrid Graphics / Switchable Graphics (Laptops Only)
Switchable graphics can confuse Windows, causing the discrete GPU to be disabled.
- Enter BIOS/UEFI settings.
- Look for:
- Switchable Graphics
- Hybrid Graphics
- Dynamic Graphics
- Disable it (set GPU mode to dGPU only or Discrete).
- Save and reboot.
This forces the laptop to use the dedicated GPU consistently.
8. Reseat Your Graphics Card (Desktop PCs Only)
Loose GPU connection can cause Windows to disable the device.
- Shut down your PC and unplug it.
- Remove the side panel.
- Unscrew the GPU and carefully remove it.
- Reinsert it firmly into the PCIe slot.
- Ensure power cables (6/8-pin connectors) are fully connected.
- Boot back into Windows.
This fix resolves Code 22 caused by hardware connection problems.
9. Check Your Power Supply (PSU)
If your PSU can’t provide enough power under load, Windows may disable your GPU automatically.
Signs of PSU issues:
- GPU fans spin for a second then stop
- PC shuts down under load
- Flickering or random black screens
Try the following:
- Move GPU power cables to another rail.
- Test with a different PSU.
- Use Battery Performance Mode on laptops to avoid throttling.
10. Run Hardware Troubleshooter via Command (Hidden Tool)
Windows still includes a hidden hardware troubleshooter.
- Press Windows + R, type:
msdt.exe -id DeviceDiagnostic - Press Enter.
- Follow the instructions to identify driver or hardware issues.
This tool automatically detects and fixes basic device errors.
11. Check for GPU Failure (Last Resort)
If none of the above works, the GPU itself may be failing.
Signs of GPU failure:
- Frequent screen artifacts
- Overheating
- Fan not spinning
- Code 43 + Code 22 appearing together
- GPU not detected in BIOS
Try testing the GPU in another PC to confirm.
Wrapping Up
Graphics Device Driver Error Code 22 in Windows 11 usually happens because Windows disabled your GPU due to driver problems, power issues, or hardware communication errors. By re-enabling the device, reinstalling drivers, adjusting power settings, updating Windows, and ensuring your GPU is properly powered and seated, you can resolve the issue quickly.
Once fixed, your GPU should start working normally again, restoring proper resolution, gaming performance, and app compatibility.