Device Manager Code 49: Windows Cannot Start New Hardware Devices

Code 49 specifically reports that the Windows system hive has exceeded a size limit. Free disk space alone cannot confirm this diagnosis. Microsoft’s remedy focuses on device records for equipment you no longer use. A disconnected device may still be needed tomorrow.
1. Confirm the exact code
On Windows 10 or 11 open Device Manager and confirm the new hardware shows Code 49 under General. Note its hardware ID. Make a short list of equipment permanently retired from this PC and confirm the names or serial numbers from your records.
2. Review retired devices
Select View > Show hidden devices. Expand only the relevant categories. Inspect each candidate’s Properties and compare its device instance path with your records. Remove an old entry with Uninstall device only when you can positively identify it as retired. Keep the driver package and leave unknown, system and temporarily disconnected devices alone.
3. Retry new hardware
Restart Windows after a small, documented set of removals. Reconnect the original new device, check its status and complete a real operation. Recheck a frequently used peripheral to make sure it still works. Stop removing entries once the error clears.
Worked example
A shipping PC has records for several old USB label printers. The current spare is also unplugged. Matching the retired printers by their recorded identifiers protects the spare. After a restart the replacement printer accepts a test label.
If the retest fails
If you cannot identify retired entries or the error persists, stop and involve the PC administrator. Send the code, device IDs and a list of changes. Avoid deleting registry branches or running a general cleanup against all hidden devices.
See Microsoft’s Device Manager error codes and recommended fixes. For help with identifying disconnected Windows devices, see our related Windows guide. Browse the Windows Drivers directory for more devices.