How to check if a USB flash drive has been inserted into the computer in win7?
Through the registry information, you can see the history of U disk insertion and removal. The steps are as follows:
1. [Run dialog box]
On a Windows 10 computer Desktop, right-click the Start button in its lower left corner, and then select the "Run" menu item in the pop-up menu. Or press WIN R simultaneously on the keyboard to open the run window.
2. [Regedit]
Enter the command Regedit in the opened run dialog box, and then click the OK button.
3. [Registry]
You will now see the opened Registry Editor window and continue to the next step.
4. [Registry Key]
Locate the registry editor to HKEY_LOCAL_MACHINE\SYSTEM\ControlSet00X, where X can be any number, such as ControlSet001 , ControlSe002 and other registry keys.
5. [History]
Then expand the registry key ControlSet001\Enum\USBSTOR in order, and you can see all connected files below USB device.
6. [Detailed information]
Click on any of the devices to see the detailed information of the device in the window on the right.
The above is the detailed content of How to check if a USB flash drive is inserted into the computer in win7. For more information, please follow other related articles on the PHP Chinese website!