Sometimes we do not want to let others know that we have used a USB flash drive on the computer, but the system will automatically record this information, how can do without traces of the use of the U disk? Don't worry, here are a few tips to teach you:
First, add the environment variable devmgr_shownonpresent_devices to the system, the value is 1
Second, run the Device Manager and open the view hidden device. Expand the disk drive, storage Volume two, and the USB stick-related
Kill off.
Third, open the Computer Management, the Removable Storage related to delete.
Iv. Remove the system environment variables that were added to 1.
So far, it may not be possible to remove all USB usage records from the registry at HKEY_LOCAL_MACHINE
Systemcontrolset002enumusbstor may still have a record in use and then open the powerful REGEDT3
2 tools, locate the item, modify the permissions, and then delete the subkey. Another Hkey_local_machinesystemcontrol
Some of the SET002ENUMUSB and USB Storage mass devices are also related to the removal.
Five, clear the Registry of the U disk use record
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
After deleting the above Usbstor subkey, the general security check software cannot be checked.
Vi. If you need to completely clear the USB usage record, after completing the above operation, you can follow the following procedure:
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.