How to Fix Code 22 on Graphics Device

graphics-device-driver-error-code-22


If Device Manager shows "This device is disabled. (Code 22)" for your NVIDIA, AMD, or Intel graphics adapter, Windows is preventing the GPU from operating normally. The result may be low screen resolution, black screens, poor graphics performance, or games that fail to launch. In many cases, the problem is caused by a disabled device, corrupted display driver, Windows system file damage, BIOS configuration changes, or hardware conflicts rather than a failed graphics card. This guide explains how to fix Graphics Device Driver Error Code 22 by re-enabling the GPU, repairing drivers with Driver Sentry, running SFC and DISM, checking BIOS settings, and removing possible device conflicts.



  • Graphics Device Driver Error Code 22 means Windows has disabled your graphics card, so the system cannot load the display adapter normally. In Device Manager, the message usually appears as This device is disabled. (Code 22)

  • The problem is often linked to a disabled device state, a broken graphics driver, a failed Windows update, or system file corruption rather than a damaged GPU



  • If your screen resolution suddenly changes, games refuse to open, or Device Manager shows a warning icon under Display adapters, start by checking whether Windows can enable the device again

  • Open Device Manager, expand Display adapters, right-click your NVIDIA, AMD, or Intel graphics card, and choose Enable device. If you only see Disable device, Windows already thinks the hardware should be active, which usually points to a driver issue instead of a manual shutdown


device-manager



Download


  • The next step is to repair the graphics driver itself. A corrupted or mismatched display driver is one of the most common reasons Windows triggers Code 22 to protect system stability

  • You can update or repair the driver with Driver Sentry to scan for outdated, missing, and broken GPU drivers, then install a stable version that matches your system. This is usually the fastest option when the problem appeared after a failed update, a driver conflict, or repeated black screen and flicker issues


perform-scan



  • Some Code 22 cases are not caused by the GPU driver alone. Damaged Windows system files can also stop the graphics service from starting correctly. Open Command Prompt as administrator and run sfc /scannow

  • If Windows finds integrity violations, let it repair them fully and restart the computer. On systems that still show Code 22 after SFC, running DISM /Online /Cleanup-Image /RestoreHealth can repair the Windows image before you try the driver installation again


run-dism



  • It is also worth checking whether the error started right after a Windows update, BIOS reset, or hardware change. On laptops and dual-graphics desktops, the integrated GPU and discrete GPU can conflict if firmware settings were changed. Enter BIOS or UEFI settings and review the graphics configuration

  • Make sure the system is not forcing the wrong display mode or disabling the active graphics device. This matters most on older PCs, systems with both integrated and dedicated graphics, or machines that recently had motherboard settings reset


reset-bios



  • If the device keeps returning to Code 22 after every reboot, remove possible conflict sources. Disconnect unnecessary external displays or docks, undo recent overclocking changes, and check whether third-party driver tools, registry cleaners, or system tweak software modified device behavior

  • In enterprise or shared PCs, local policy or administrator settings may also disable hardware, so it is worth testing with an administrator account



Why does Code 22 return after every restart?


A conflicting driver, startup utility, administrator policy, or BIOS graphics setting may repeatedly disable the adapter. Review recent changes and perform a clean driver installation.


Can I enable the graphics card if the screen is black?


Try starting Windows in Safe Mode or connect the monitor to another available video output. You can then enable the GPU or reinstall its driver through Device Manager.


What if the graphics adapter cannot be enabled?


Uninstall the device, restart Windows, and install a compatible driver. If Code 22 remains, check BIOS settings, power connections, hardware seating, and whether the GPU is detected correctly.



In most cases, Graphics Device Driver Error Code 22 can be fixed without replacing the graphics card. Start with the simplest path: re-enable the device, repair or reinstall the display driver, then scan Windows for corrupted system files. If the issue appeared after a firmware or update change, review BIOS graphics settings as well. Once the correct driver loads and Windows recognizes the GPU normally, the Code 22 warning should disappear and full display performance should return.

This website uses cookies to ensure you get the best experience on our website. Privacy Policy