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 can speed up the query. Then "OK". will be found in the "Usbstor" of the "item" to Kill All (click "F3"). If there is something that cannot be deleted, right-click on "Permissions" and go to the permission settings and select "Allow" and "Full Control". If you don't trust me, In the registry, select "My Computer", then press "F3", and then query delete once.