Device Manager · Windows 11
Fix a device that shows Code 39 in Device Manager after an update
Code 39 in Device Manager means Windows could not load the driver for that device — after an update, the driver entry is usually damaged or mismatched rather than the hardware being broken. Remove the broken entry cleanly, reinstall a known driver, and repair system files only if the error spreads.
What you need
- The device maker's driver for your exact model. Download it before you remove anything, especially if the device is your network adapter.
- A restore point or a note of what updated. Settings > Windows Update > Update history tells you what landed just before the error appeared.
- Admin access. Device Manager changes and driver installs need it.
Read the problem before you touch it
- Know what Code 39 actually says. The full message reads that Windows cannot load the device driver, and that the driver may be corrupted or missing. Microsoft's driver documentation lists this as CM_PROB_DRIVER_FAILED_LOAD — a load failure, not a hardware failure code.
- Confirm it started with an update. If the device worked until a Windows or driver update and stopped immediately after, the new driver package or its registration is the suspect. A device that has never worked on this PC is a different problem — check compatibility first.
- Check whether neighbors are affected. Look for other devices with warning icons in the same Device Manager category. One device with Code 39 is one broken entry; a whole category failing points at system files instead.
The simple fixes, in order
- Restart once before changing anything. A driver that failed to load during a busy post-update boot sometimes loads cleanly on a plain restart. Check Device Manager again before you remove anything.
- Uninstall the device and let Windows reload it. In Device Manager, right-click the device, choose Uninstall device, and tick Attempt to remove the driver for this device if offered. Restart. Windows reinstalls the device from its driver store, which clears a corrupted entry in most post-update cases.
- Install the maker's driver over the top. Run the driver package you downloaded from the device maker and restart again. A maker's current package replaces both the driver files and their registration, which is the part Code 39 is complaining about.
- Roll back the driver if the update itself was the break. In the device's Properties > Driver tab, choose Roll Back Driver if it is available. That returns the previous working version, and it is the right move when the error arrived with a driver update rather than a Windows update. Microsoft lists the restart and rollback behavior among the standard Troubleshoot problems updating Windows steps.
The advanced route
- Remove the device's leftover entries in Safe Mode. If a normal uninstall leaves the error behind, start in Safe Mode from Recovery options in Windows, open Device Manager, enable View > Show hidden devices, and uninstall grayed-out duplicates of the same device as well as the live one. Restart normally and install the maker's driver fresh.
- Repair the system files behind the driver store. Open Windows Terminal as administrator, run
DISM /Online /Cleanup-Image /RestoreHealth, then runsfc /scannow. Microsoft documents both tools in Using System File Checker in Windows. Restart, then reinstall the device once more. - Use System Restore when several devices broke at once. A restore point from before the update, listed under Recovery options, returns the driver store and registry to the earlier state without touching personal files. Use it when Code 39 appears on multiple unrelated devices after the same update.
End state
- The warning icon is gone in Device Manager and the device's status reads 'This device is working properly.'
- The device does its job — prints, plays, connects, or reads — after a restart.
- No new Code 39 entries appear after the next Windows Update check.
When it goes wrong
- Code 39 comes back after every restart. The driver package itself is being reinstalled from a damaged copy. Uninstall with the remove-driver option ticked, restart, and install only the maker's package before Windows Update runs.
- Roll Back Driver is grayed out. There is no earlier version stored. The maker's older driver release, installed manually, does the same job.
- The device fails in another PC too. That moves the fault to the device or its cable. Stop changing Windows settings and test the hardware.
- Optical drives and filter drivers. On an older CD or DVD drive, Code 39 can come from leftover filter entries left by removed disc software. Uninstall that software fully and restart before repeating the driver steps.
Related fixes
-
Fix a graphics card that shows Code 43 in Device Manager
Code 43 means Windows stopped a device because the device reported a problem. On a graphics card it is usually a damaged driver, a driver update that landed badly, or, on a desktop, a card that is not seated or powered properly. Reinstall the driver cleanly first, then check the hardware.
-
Fix Bluetooth missing from Settings entirely after an update
When Bluetooth vanishes from Settings after an update, the adapter usually has not failed — its driver was replaced during the update, or the adapter is sitting hidden and disabled in Device Manager. Show hidden devices and bring the adapter back first, then restart the Bluetooth service and finish the update cleanly.
-
Fix Windows Update error 0x8024a203 or a stuck 'checking for updates' spinner
Windows Update sitting on checking for updates, or failing with error 0x8024a203, usually means a stuck update service or a damaged download cache rather than a broken update. Restart the services first, clear the cache next, and repair the system files only if the spinner survives both.
-
Fix a screen that tears and judders after a graphics driver update
Tearing and judder that started right after a graphics driver update usually means the update reset your refresh rate or turned off variable refresh, not that the new driver is broken. Put the refresh rate back first, restore the sync setting next, and roll the driver back only if the tearing survives both.
Sources
- Microsoft Learn, CM_PROB_DRIVER_FAILED_LOAD — the driver problem code behind Device Manager Code 39, where the driver failed to load.
- Microsoft Support, Using System File Checker in Windows — running SFC and DISM to repair missing or corrupted system files.
- Microsoft Support, Troubleshoot problems updating Windows — the Windows Update troubleshooter and the standard checks for updates that fail to install.
- Microsoft Support, Recovery options in Windows — Safe Mode and System Restore from the recovery environment.