How To Fix “USB Flash Drive Freezes Computer, When Plugged-in” Issue

Computers hanging after plugging-in the USB drive is very common issue. There might be two most common reasons behind this – corrupt USB disks (maybe with some hardware errors) and corrupt USB port drivers. Sometimes USB drive issues occur after improper ejection of USB drives. Most of the USB devices (Pendrives etc.) these days are plug and play type and doesn’t require safe removal from PC. However, if you plug-out a USB drive while data transfer is still going on (mean USB drive is still in use), it may get corrupt.

In some cases there is issue of USB port drivers. But thanks to Windows Updates, you will get most of the device drivers automatically without any intervention. However, if you think USB drivers are corrupt, you can try updating drivers in Device Manager.

Keeping in mind the issues with USB Drives and Port Drivers, it can’t be denied that sometimes, ports are main cause of error. With time, ports get corroded, resulting in improper connection of USB drive with computer causing PC freezing issues after plugging in USB devices. It’s a better idea to keep the ports clean to avoid connectivity issues.

Buy the World's Smartest Wallet for the World's Smartest Dad

To ensure that you have no issue with Pendrive, try connecting it to another PC, it may give a better idea about where is actual problem is. If nothing works and you don’t have another PC to try your USB device, you may try following steps to resolve the PC freezing problem caused by inserting USB drives. This is pretty useful when you need to troubleshoot and fix problems caused by leftover drivers.

How to fix “My computer freezes when I plug in a usb port” issue?

Step 1

Before proceeding, we recommend that you create a restore point in your system. It will help you to restore your system to working state in case of any mis-happening as we will have to make some changes to Registry.

To open Registry Editor, go to RUN, type regedit and press ENTER.

In Registry Editor, go to this path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Environment

Right-click in right pane and create a new key by selecting New > DWORD (32-bit) Value.

Name new DWORD as “DEVMGR_SHOW_NONPRESENT_DEVICES“. Right-click on newly created DWORD and select Modify… to change its value which is set to 0 (Zero) by default.

Set the Value data to 1 and click on OK to continue.

EN-Recoverit Data Recovery(WIN)

Step 2

Registry part is done and you can close Registry editor. It’s time to finish remaining work in Device Manager.

Go to RUN, type devmgmt.msc and press ENTER to open Device Manager.

In Device Manager, click on View in menu and select Show hidden devices. It will make all the hidden devices (the devices that were installed in your PC but now they are not connected) visible.

Buy the World's Smartest Wallet for the World's Smartest Dad

Step 3

It’s time to Uninstall those hidden devices. How to find a hidden device? Look for devices with blurred icons. There are two main places to look for hidden devices –  Disk drives  and Universal Serial Bus controllers.

Let’s start with Disk drives. Select a hidden USB device that is no more connected to your PC, right-click it and select Uninstall device.

Click on Uninstall to continue uninstallation of selected Device.

Uninstall all other hidden USB devices in Universal Serial Bus Controllers. Select a device, right-click and click on Uninstall Device.

Click on Uninstall to continue uninstallation of selected Device.

After successfully uninstalling all hidden USB drives, restart your computer. Sometimes, you may require to restart your PC more than one time to clear leftover device drivers from your PC.

After uninstalling all hidden USB devices, restart your PC and connect your USB drive again. This time your pendrive will not hang your PC. If it still freezes your PC, the problem might be in either your USB drive or your computer ports. Please note that this method doesn’t fix hardware issues. Hope your find this helpful. Enjoy, have fun!

About Aslam Khan

Hi there, I am a blogger, engineer and a computer geek. I love kittens. I spend some of my time blogging besides full time job as Senior Windows Administrator. I like to learn new things.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.