Delete the USB device records that were used __other

Source: Internet
Author: User



First, there are several ways to view the USB device records that are used on your computer:


1, without any tool software, manual method: The computer to add an environment variable, variable name "Devmgr_show_nonpresent_devices", the value of "1".
Then, in Device Manager, check Show hidden devices on the View menu.
You can then see a lot of gray icons in the disk drives, storage volumes, universal serial Bus Controllers 3 columns, which are the USB device records that were used on this computer (now removed, or switched to the USB port location). The icon is clearly the USB device you are using.


2, the use of Usbview software, this is a Chinese version of the software, its English name is called Usbdeview, is a free software. The advantage is that you can view all of the USB devices that are in use and have been used but have been unplugged on this computer, including keyboard and mouse, camera, u disk, removable hard disk, etc.


3, the use of Usbviewer software, this can only view USB Mobile storage devices (including mobile hard disk and U disk), such as the camera may not recognize. Display information in a slightly less detailed degree than Usbdeview.


Again, there are several ways to delete a record of a USB device that you have used:


1, manual removal: And look at the same method, three steps, indispensable, the order can not be reversed.
① sets the environment variable, the variable is named "Devmgr_show_nonpresent_devices" and the value is "1".
② Open Device Manager and check Show hidden devices on the View menu. If you have previously opened Device Manager, turn it off and reopen it.
③ clears all the gray icons in the 3 columns of disk drive, storage volume, Universal Serial Bus Controller, and note that all. Right-click on the gray icon and choose Uninstall.




2, or Usbdeview software/usbview, in the software selected in front of the icon for the gray column, right click on the "Uninstall" (English version of the latest version must have this menu, the early Chinese edition seems to have no this menu).
Disadvantages: Can only delete the "Serial Bus Controller" column traces, the remaining two columns under the traces still exist.

3, the use of Usbviewer software, right button--> "Delete the selected traces" can be.


Disadvantages: Can only delete the "disk drive", "Storage Volume" column traces, "Serial Bus Controller" column traces are still.


4, the use of Usbclear software, the software will be used and used to all the USB device records are deleted, please be careful. Because some computers use it to delete the USB mouse can not be used, restart will also have problems.




Next, analyze the location where the USB records are saved.


In Windows systems, all USB devices, when connected to the system, are recorded in the C:\windows\setupapi.log file, and the identified device information is kept in the registry so that it can be quickly identified again when it is connected to the device in the future. Records are recorded under Hkey_local_machine\system\controlset001\enum\usbstor in the registry.


When uninstalling, the information in the registry is not deleted directly, so there is a hidden "record".
When these records are deleted manually or by software, an action record is also left in the C:\windows\setupapi.log file.




Finally, summarize:


Quick bit. Delete all use records of the method is: first with Usbdeview delete, and then usbviewer deleted, and finally manually delete/crush C:\windows\setupapi.log files.




The safest way to do this is to use the manual Delete record method, delete it, record it for a long while, and then manually delete/Crush the C:\windows\setupapi.log file.




Look forward to a faster and safer way to ~~~~~~~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.