You may have faced a situation when your PC freeze/crash or hangs soon after you plug or insert a USB device or drives. And the problem gets solved only after restarting the system after removing the USB drive or Device. This can be either due to the old or dead device drivers residing in your operating system. Most probably, the hidden entries in the Device Manager in Windows could be the problem causing the system to hang while connecting the USB drive / device. So analyzing them can solve this problem easily.
Here are the steps to do it.Open Control panel.
Now go to System > Advanced > Environment variables.
Next create two new entries by clicking the ” New button “.
Create the entry “Devmgr_show_details” and give its value as ” 1 ” and save the changes.
Next open the Device Manager and click on view > Show hidden devices.
Now delete all the entries related to the malfunctioning USB drive or device by right clicking the corresponding entry (entries) and select Uninstall.
You should never delete any other entries other than the hidden devices!
Finally restart your computer and you will no longer have trouble with your problematic USB drive or device.