Devices & drivers · scoped error record
Code 22
Device Manager Code 22: the device is disabled
Code 22 means Windows sees the device but it has been disabled; enable the device before reinstalling drivers.
Applies to: Windows 11 Device ManagerReviewed: 2026-09-17
What it means in this context
Microsoft documents Code 22 as “This device is disabled.” That is a narrower state than a missing driver or disconnected device, so the first action is to confirm and enable the device in Device Manager.
- Confirm Code 22 in Device Manager.
- Verify the device is one you actually intend to use.
- Check whether it was deliberately disabled for troubleshooting, power, security or compatibility reasons.
1
Enable the device
Low riskWhy: Microsoft’s documented resolution for Code 22 is to enable the device.
- Open the device Properties in Device Manager.
- Choose Enable Device when available.
- Restart or retest the device if Windows requests it.
When not to use this record
If Windows immediately disables the device again or a different code appears, follow the new device state instead of repeatedly toggling Enable.
If it persists
If enabling produces another Device Manager code, continue with that code’s specific record.
Evidence