How to Fix USB Freezes issue on Windows Computer

Fix USB Freezes on Windows Computer (2025 Guide)

Is your Windows PC hanging or freezing the moment you plug in a USB flash drive, external HDD, or card reader? This step-by-step guide shows you how to clear stale USB device entries from Device Manager and restore stable USB behaviour — without reinstalling Windows.

Quick Answer

USB freezes are usually caused by old "ghost" USB device records left behind in the Windows registry. Enabling DEVMGR_SHOW_NONPRESENT_DEVICES, then uninstalling those hidden device entries and rebooting, clears the conflict and stops the freezing.

Step-by-Step Instructions

Follow the two phases below in order. The whole process takes about 5 minutes.

Phase 1 — Enable hidden device view
  1. Press Win + R to open the Run dialog, type regedit, and press Enter.

  2. Navigate to the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

  3. Right-click in the right pane → New → DWORD (32-bit) Value and name it DEVMGR_SHOW_NONPRESENT_DEVICES (on 64-bit Windows, the 32-bit DWORD type is still the correct choice).

  4. Double-click the new value, set Value data to 1, and click OK.

Phase 2 — Uninstall hidden USB devices
  1. Open Run again (Win + R), type devmgmt.msc, and press Enter to launch Device Manager.

  2. In Device Manager, click View → Show hidden devices.

  3. Expand Disk drives (and also Universal Serial Bus controllers). Right-click every greyed-out USB device that is no longer connected to your PC and choose Uninstall device.

  4. Reboot your Windows computer or laptop.

Frequently Asked Questions

Will deleting hidden USB devices damage my computer?

No. Device Manager entries for disconnected hardware are only registry records. Windows re-creates them automatically the next time the device is plugged in.

Do I need to undo the DEVMGR_SHOW_NONPRESENT_DEVICES change?

It is optional. Setting the value back to 0 hides non-present devices again, but leaving it at 1 is harmless and useful for future troubleshooting.

USB still freezes after this fix — what next?

Update your USB / chipset drivers, disable USB selective suspend in Power Options, and run sfc /scannow. If it persists across multiple drives, suspect the port or motherboard controller.

Comments

Popular

How to Website Disallow and Allow directives by Robots.txt ?

How to Fix Website Mixed Content Issues?

How to Fix Mobile Responsiveness Issues?