Device Disabled Code 22 Fix: Full Guide
If you see “This device is disabled. (Code 22)” in Windows Device Manager, it means Windows has disabled the hardware at the software level, and you can usually fix it by re-enabling the device or updating its driver. This error appears for many device types—network adapters, sound cards, USB controllers, and more—and the fix is often a simple toggle in Device Manager.
What Does Code 22 Actually Mean?
Windows Device Manager reports error codes to explain why a piece of hardware isn’t working. Code 22 specifically means the device is disabled. This is different from a hardware failure or a missing driver—Windows knows the device is there, but it has been turned off, either by the user, a system policy, or a driver conflict.
When a device is disabled, Windows does not load its driver or allow the operating system to communicate with it. The device may still appear in Device Manager, but with a small down arrow icon next to it. The status area will read “This device is disabled. (Code 22).”
Why Does Code 22 Happen?
There are several common reasons a device ends up disabled:
- Manual disabling: A user or administrator may have turned it off in Device Manager.
- Driver conflict: A recent driver update or installation may have caused Windows to disable the device to prevent instability.
- Power management: Some devices are disabled by Windows to save power, especially laptops.
- BIOS/UEFI settings: The device may be disabled in the system firmware, which Windows then reports as Code 22.
- Malware or system policy: Rarely, a virus or a group policy may disable a device.
How to Fix Code 22 (Step-by-Step)
Follow these steps in order. The first one solves most cases.
- Re-enable the device in Device Manager. Press Win + X and select Device Manager. Find the device with the down arrow, right-click it, and choose Enable device. If it was already enabled, disable and re-enable it.
- Restart your computer. A simple reboot can clear temporary glitches and reinitialize the device.
- Update the driver. Right-click the device, select Update driver, then Search automatically for drivers. If Windows finds nothing, go to the manufacturer’s website and download the latest driver for your exact model.
- Uninstall and reinstall the driver. Right-click the device, choose Uninstall device (do not check “Delete the driver software” first), then restart. Windows will reinstall the driver automatically.
- Check BIOS/UEFI settings. Restart your PC and enter the BIOS/UEFI setup (usually by pressing Del, F2, or F10 during boot). Look for the device in the integrated peripherals or onboard devices section and make sure it is enabled.
- Run hardware troubleshooter. In Windows Settings, go to System > Troubleshoot > Other troubleshooters and run the Hardware and Devices troubleshooter.
What If the Device Re-disables Itself?
If you enable the device but it goes back to disabled after a reboot, the cause is likely a driver conflict or a power management setting. Try the following:
- In Device Manager, right-click the device, go to Properties > Power Management, and uncheck “Allow the computer to turn off this device to save power.”
- Check if the device is being disabled by a group policy. Press Win + R, type
gpedit.msc(Pro/Enterprise editions only), and navigate to Computer Configuration > Administrative Templates > System > Device Installation > Device Installation Restrictions. Look for policies that prevent installation or disable devices. - If the device is a peripheral like a USB device, try a different port or cable.
Code 22 vs. Other Device Manager Errors
Code 22 is often confused with other error codes. Here’s a quick comparison:
- Code 10: “This device cannot start.” The device is present but the driver failed to load—often a hardware or driver issue.
- Code 28: “The drivers for this device are not installed.” Windows has no driver for the device.
- Code 43: “Windows has stopped this device because it has reported problems.” The device itself reported a hardware fault.
- Code 22: The device is simply disabled—the most benign and easily fixable error.
When to Consider Hardware Replacement
If you have tried all the steps above and the device still shows Code 22, it may be a hardware failure. For example, a network card that fails internally may be reported as disabled. In that case, try the device on another computer. If it works there, the problem is with your system configuration. If it still shows Code 22 on another machine, the device itself is likely faulty and should be replaced.
Frequently Asked Questions
Can Code 22 be caused by a virus?
Yes, some malware can disable devices to prevent security software from running or to hide its activities. If you have ruled out other causes, run a full antivirus scan with your preferred security software.
Will resetting Windows fix Code 22?
Resetting Windows (or reinstalling it) can fix Code 22 if the cause is a corrupted system setting or driver. However, it is a drastic step—try the simpler fixes first. A reset will remove installed programs and may delete personal files if you choose the “Remove everything” option.
Why does my USB device show Code 22?
USB devices can show Code 22 if they have been disabled in Device Manager, or if the USB controller itself is disabled. Re-enable the device, and also check the “Universal Serial Bus controllers” section for any disabled entries. If the issue persists, update the chipset drivers from your motherboard manufacturer.
Is Code 22 the same as “device is disabled” in BIOS?
No. Code 22 is a Windows-level setting. A device disabled in BIOS will not appear in Device Manager at all, or will show as an unknown device. If you suspect BIOS, enter the firmware setup and look for the device in the integrated peripherals menu.
Can I ignore Code 22 if the device still works?
If the device is disabled, it is not working—that is the whole point. You might have a secondary device that is still functioning (e.g., a second network adapter), but the disabled one is not operational. To use it, you must enable it.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.