Troubleshooting “This device is disabled (Code 22)” Error in Windows PC

Are you experiencing the “This device is disabled” error in Windows 10? Is your system unable to detect an existing device or a device that you recently connected to? This means that the device drivers are either outdated or missing. This error is also known as a “code 22” error in technical nomenclature. So how do you solve this problem? Don’t worry. If you follow a few troubleshooting steps in Device Manager, you can quickly resolve this problem.

Code 22 error is just another name for the “This device is disabled” error. This error is most often caused by a hardware device error in Windows 10. If your system resources are exhausted and it cannot run a certain hardware device, you may encounter this error on your Windows PC.

In this post, we have put together some useful solutions to help you fix the “This device is disabled” error in Windows 10.

What causes the “This device is disabled (code 22)” message?

Device driver not updated: In some cases, this error occurs because Windows detects that the driver available for this device is outdated, preventing it from working.

Third-party conflict: If this problem occurs with webcams, microphones, or other similar devices that require special permissions, you should investigate the possibility of a conflict between the third-party driver and the analog that Microsoft is trying to use by default.

Device disconnected: The most common cause of this error is a simple case where the device in question has been disabled, either by manual user intervention or by a resource optimization application.

Common device faults: You may be dealing with a common fault that Microsoft already knows about.

Damaged system file: In some cases, this problem may occur when a specific type of system file is corrupt, which affects the operation of connected devices.

Faulty data stored in battery/memory chip CMOS: According to some concerned users, cache data may also be responsible for this type of problem, especially if you see this error on a desktop computer.

How to eliminate the “This device is disabled (Code 22)” message?


Reinstall the device driver

  1. Open the Device Manager.
  2. Find the device with error code 22 and right-click it.
  3. Click Uninstall Device.
  4. Close Device Manager and restart your computer.
  5. After restarting, Windows automatically reinstalls the machine driver.

Updating the machine driver

  1. Open the Device Manager.
  2. Find the target device and right-click it.
  3. From the context menu, select Update driver.
  4. Select Search for driver software on your computer.
  5. Select from the list of available drivers on my computer.
  6. Click Next.
  7. Select the device driver you want to install for the hardware.
  8. Click Next.
  9. You must then restart your computer.
  10. After restarting your computer, you can check if the error code 22 has disappeared.

Manual device activation

  1. Search for “Device Manager” in the search box.
  2. Select the first search result and you will be directed to the Device Manager.
  3. Locate the disabled device in the device list.
  4. Right-click on the device and select Properties from the pop-up menu.
  5. Switch to the Driver tab.
  6. If you see that the device is disabled, you must click Enable Device to enable it.
  7. Click OK to apply the changes.

Restart your computer

This device is disabled. (Code 22) may also be caused by a temporary problem with the target hardware. This temporary problem is easy to fix: you can simply restart the computer to try, since restarting the computer always solves problems.

Restarting your computer doesn’t take long and has also proven to be an effective solution. Remember, you need to reboot your computer correctly to prevent a new problem from occurring.

Frequently Asked Questions

  1. Uninstall the device you just installed or reconfigure it.
  2. Reset the driver to the version before the update.
  3. Use System Restore to undo the last changes you made to the Device Manager.
  4. Reinstall the device drivers.

  1. Open Start.
  2. Find "Device Manager" and click on the first result to open the program.
  3. Expand the category containing the device you want to activate.
  4. Right-click on the device and select Activate Device.
  5. Click Yes to confirm.

  1. Open the settings.
  2. Click on Update and security.
  3. Click Troubleshoot.
  4. Select the troubleshooter that corresponds to the hardware that is causing the problem.
  5. Click Run Troubleshooter.
  6. Follow the instructions on the screen.