If you see Code 39 in Device Manager, Windows is unable to load the correct driver for your USB or related device. This usually happens after updates, registry corruption, or security conflicts. Follow these methods in order. If one method doesn’t work, move to the next.
Method 1 — Turn off Core Isolation (Memory Integrity)
-
Open Settings → Privacy & Security → Windows Security → Device Security.
-
Click Core isolation details.
-
Turn Memory integrity Off.
-
Restart the PC.
If not fixed, go to Method 2.
Method 2 — Delete UpperFilters / LowerFilters from Registry (very effective)
Be careful. Do not change or delete anything else.
-
Press Win+R, type regedit, press Enter.
-
Go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{36FC9360-C456-11CF-8056-444553540000} -
On the right side, find UpperFilters and LowerFilters.
-
Right-click each → Delete.
-
Close Registry Editor and Restart.
If not fixed, go to Method 3.
Method 3 — Rebuild USB Controllers from Device Manager
-
Open Device Manager.
-
Expand Universal Serial Bus controllers.
-
Right-click and Uninstall every USB Root Hub, Generic Hub, and Host Controller.
-
Click Action → Scan for hardware changes.
-
Restart the PC.
If not fixed, go to Method 4.
Method 4 — Run Hardware Troubleshooter
-
Press Win+R.
-
Type:
msdt.exe -id DeviceDiagnosticand press Enter. -
Click Next and let it complete.
-
Restart the PC.
If not fixed, go to Method 5.
Method 5 — Repair Windows System Files (SFC + DISM)
-
Open Command Prompt as Administrator.
-
Type:
sfc /scannow
-
After it completes, in the same window type:
DISM /Online /Cleanup-Image /RestoreHealth
-
Restart the PC.
Conclusion
Code 39 is usually caused by a conflict between Windows security, corrupted registry filters, or broken USB controller drivers. By turning off Memory Integrity, cleaning the UpperFilters/LowerFilters entries, rebuilding USB controllers, running the hardware troubleshooter, and repairing system files, you reset every layer that can cause this error. In most cases, these steps fix the issue completely without needing to reinstall Windows.
Common Q&A (Short)
Q1: What is Code 39 in Device Manager?
A driver loading failure caused by registry corruption or driver conflict.
Q2: Is it safe to delete UpperFilters and LowerFilters?
Yes, only in the specified registry path. Do not delete anything else.
Q3: Why uninstall all USB controllers?
Windows automatically rebuilds fresh drivers on restart.
Q4: What does SFC and DISM do?
They repair corrupted Windows system files and the Windows image.
Q5: If all methods fail?
Update chipset/USB drivers from your motherboard/laptop website or perform an in-place Windows repair.




