First, check that this guide matches your problem
When it happens
A device disabled in Device Manager does not work.
Common causes
- Disabled by the user
- Management policy
- Changed during troubleshooting
Step-by-step fixes
3 steps, 15 min–25 min in total. The easiest checks come first, so stop as soon as the problem is fixed.
Code 22 is not an indication that the device is broken, but rather turned off due to inactivity. You may have turned it off yourself while troubleshooting, or another program may have turned it off, and it usually comes back right away when you turn it back on.
- Win + When you double-click the device, the device status displays Code 22.
- Right-click on the device and select 'Enable Device' ('Enable Device' on some versions of Windows 10).
- Restart your PC when prompted to do so.
What to check
When the arrow disappears and the device status changes to 'This device is working properly', test its functionality, including sound and network. If another code appears after turning it on, follow the instructions for that code.
Did this step fix it?
A device that is turned off may not be immediately visible because it is in a collapsed category or is classified as a hidden device. Even if the network adapter is turned off in the network settings screen, Code 22 appears in Device Manager.
- In the top menu of Device Manager, click View → Show hidden devices, expand the corresponding categories such as audio, network adapter, and camera, and find the device with an arrow.
- If it is a network adapter, go to Settings → Network and Internet → Advanced network settings and click ‘Enable’ for the adapter. In Windows 10, right-click the adapter in WinR →
ncpa.cpland press ‘Enable’.
What to check
Turn it on again and finish when it returns to normal. If 'Enable Device' is grayed out or turns on but soon turns off again, check the policy and device switches as the next step.
Did this step fix it?
Work/school PCs may have management policies set to turn off certain devices. Laptops have a shortcut key or switch to turn off the wireless LAN and camera, and if you turn off the built-in devices in the BIOS, you cannot turn them on in Windows.
- If the PC is managed by a company or school, do not change it yourself; inform the IT staff of the device name and Code 22 and request permission to use it.
- Check the manufacturer's manual to see if your laptop has a shortcut key or switch to turn off the device, such as an airplane mode key or camera disconnect switch.
- If you have turned off the built-in audio, LAN, wireless LAN, or camera directly in the BIOS, return those items to Enabled in the BIOS (depending on the manufacturer, such as Del or F2). Other items not remembered will not be changed.
What to check
After correcting policies, switches, and BIOS, if the device stays on, you're done. If it still turns off, check to see if there is a program (power saving/security tool) that turns off the device, and contact your PC manufacturer's support.
Did this step fix it?
Frequently asked questions
Related PC FIX problems
Official references
Content reviewed: 2026-10-07