How to delete a USB flash drive using record information

Source: Internet
Author: User

In the daily use of the U disk process, the system will record a lot of our use of information, the following say how to delete these records information.

1. Add the environment variable devmgr_shownonpresent_devices to the system with a value of 1

2. Run Device Manager and turn on view hidden devices. Expand the disk drive, storage Volume two, and the USB flash drive related to kill off.

3. Turn on Computer Management and remove Removable Storage related.

4. Remove the system environment variables that were added to the 1.

So far, it may not be possible to remove all USB usage records from the registry, you may still have records in Hkey_local_machinesystemcontrolset002enumusbstor, and then open the powerful Regedt32 tool, Locate the item, modify the permissions, and then delete the subkey. In addition, some of the HKEY_LOCAL_MACHINESYSTEMCONTROLSET002ENUMUSB and USB Storage mass devices related to the removal.

Clearing the registry for USB drive usage records

1, press Start--〉 Run, enter the command in the input box: regedit

2. Delete the Usbstor subkey for the following directory in the registry.

(1) Hkey_local_machinesystemcontrolset001enumusbstor

(2) Hkey_local_machinesystemcontrolset002enumusbstor

(3) Hkey_local_machinesystemcontrolset003enumusbstor

(4) Hkey_local_machinesystemcurrentcontrolsetenumusbstor Delete the above Usbstor subkey, the general security check software can not be checked.

If you need to completely clear the USB usage record, after doing this, you can proceed as follows:

1. Delete all records except Root_hub, ROOT_HUB20 below the USB subkey below.

(1) Hkey_local_machinesystemcontrolset001enumusb

(2) Hkey_local_machinesystemcontrolset002enumusb

(3) Hkey_local_machinesystemcontrolset003enumusb

(4) Hkey_local_machinesystemcurrentcontrolsetenumusb

The permission action is consistent with the above operation.

2, delete deviceclasses under the a5d ..., 53f ... Some sub-items that contain USB words.

(1) Hkey_local_machinesystemcontrolset001controldeviceclasses{a5dcbf10-6530-11d2-901f-00c04fb951ed}

(2) Hkey_local_machinesystemcontrolset002controldeviceclasses{a5dcbf10-6530-11d2-901f-00c04fb951ed}

(3) Hkey_local_machinesystemcontrolset003controldeviceclasses{a5dcbf10-6530-11d2-901f-00c04fb951ed}

(4) hkey_local_machinesystemcontrolset001controldeviceclasses{53f56307-b6bf-11d0-94f2-00a0c91efb8b}##? #USBSTOR # DISK&VEN_ALCOR&PROD_FLASH_DISK&REV_8.07#2624BFBB&0#{53F56307-B6BF-11D0-94F2-00A0C91EFB8B}

......

The other action is the same as the previous step.

========================================================

Simple method: In fact, there is no need to be so troublesome, log in with the administrator account, after entering the registry (XP can enter "regedit" in "Run", 2k input "Regedit32"), in the "edit", "Find" enter "Usbstor", select only "item", do not select Values and data can speed up queries. Then "OK". Kill all the items found with "Usbstor" (click "F3" for each item you delete). If you can't delete it, right-click on "Permissions", go to permission settings, and choose "Allow" Full control. If you don't rest assured, In the registry, the mouse is selected "My Computer", and then press "F3", and then query the deletion once again.

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.