Five steps to erase a USB drive using a record

Source: Internet
Author: User

First, add the environment variable devmgr_shownonpresent_devices to the system, the value is 1

Second, run Device Manager, open the view hidden device. Expand the disk drive, storage Volume two, and the U disk-related kill off.

Third, turn on the Computer Management, the Removable Storage related to the deletion.

Delete the system environment variables added in one.

So far, it may not be possible to delete all the USB usage records in the registry, there may still be a use record in Hkey_local_machinesystemcontrolset002enumusbstor, and then a powerful regedt32 tool will be opened, Locate the item, modify the permissions, and then delete the subkey. Also, some of the HKEY_LOCAL_MACHINESYSTEMCONTROLSET002ENUMUSB associated with USB Storage mass devices are deleted.

Five, clear the Registry of U disk Use records

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

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

(1) Hkey_local_machinesystemcontrolset001enumusbstor

(2) Hkey_local_machinesystemcontrolset002enumusbstor

(3) Hkey_local_machinesystemcontrolset003enumusbstor

(4) Hkey_local_machinesystemcurrentcontrolsetenumusbstor

After deleting the Usbstor subkey, the general confidential inspection software cannot be checked.

If you need to completely erase the USB usage records, after doing this, you can proceed to the following procedure:

1, delete the following USB subkey except Root_hub, Root_hub20 all records.

(1) Hkey_local_machinesystemcontrolset001enumusb

(2) Hkey_local_machinesystemcontrolset002enumusb

(3) Hkey_local_machinesystemcontrolset003enumusb

(4) Hkey_local_machinesystemcurrentcontrolsetenumusb

Permission actions are consistent with the above operation.

2, delete the deviceclasses under the a5d ..., 53f ... And so on with the USB word part of the subkey.

(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 actions are the same as the previous step.

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

Simple method: In fact, there is no need to be so troublesome, login to the administrator account, after entering the registry (XP can enter "regedit" in "Run", 2k input "Regedit32"), in the "edit"-> "Find" enter "Usbstor", select "Only", Do not select "value" and "data" to speed up the query. And then "OK". will be the search of the "usbstor" of the "item" to Kill All (click "F3"). If there are any that cannot be deleted, right-click to select "Permissions" and go to permission settings, select "Allow" and "Full Control" . If not, in the registry, the mouse will be selected "My Computer", and then press "F3", and then the query to delete a good

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.