How to delete the USB storage history

yxq

New member
Member
Local time
11:54 PM
Messages
57
Hello,
In Windows 7, i can view the used USB storage history in "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR", but it's impossibe to delete the registry sub key, so i think if can uninstall the USB driver by the used USB storage HarewareID or SN, do not know how to uninstall the USB driver by command line or other ways, thank you.
 

My Computer My Computer

At a glance

Vista and Windows 7
OS
Vista and Windows 7
Question: Why do you want to delete these?????
 

My Computer My Computer

At a glance

Windows 7 Enterprise (x64); Windows Server 20...16GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell OP7010
OS
Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
Memory
16GB
Monitor(s) Displays
4 Dell 24" LCD
Screen Resolution
1280x1024
Keyboard
Dell
Mouse
Dell Optical
Internet Speed
40meg
Because i want to protect my privacy, thank you.
 

My Computer My Computer

At a glance

Vista and Windows 7
OS
Vista and Windows 7
What exactly do you think is stored in there that you need to delete? And whats the point, as soon as you connect that device again the key will just be re-created? :confused:
 

My Computer My Computer

At a glance

Windows 10 Education 64 bitAMD Phenom II X4 980 Black Edition Deneb 3.7GHz8GB 4GBx2 Kingston PC10600 DDR3 1333 MemoryZotac NVIDIA Geforce GT640 2 Gig DDR3 PCIe
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built
OS
Windows 10 Education 64 bit
CPU
AMD Phenom II X4 980 Black Edition Deneb 3.7GHz
Motherboard
Asus M4N68T-M V2 µATX Motherboard
Memory
8GB 4GBx2 Kingston PC10600 DDR3 1333 Memory
Graphics Card(s)
Zotac NVIDIA Geforce GT640 2 Gig DDR3 PCIe
Sound Card
VIA VT1708s High Definition Audio 8-channel Onboard
Monitor(s) Displays
22" LG E2242 1080p and 2 19" I-INC AG191D
Screen Resolution
1280x1024 - 1920x1080 - 1280x1024
Hard Drives
Crucial M100 256 GB SSD and 500 GB WD Blue SATA
PSU
Thermaltake TR 620
Case
Power Up Black ATX Mid-Tower Case
Cooling
Stock heatsink and fan
Keyboard
Logitech Wireless K350 Wave
Mouse
Logitech Wireless M570 Trackman Wheel
Internet Speed
80 Mbps Down 30 Mbps Up
Antivirus
Windows Defender
Browser
Internet Explorer 11
Other Info
HP DVD1040e Lightscribe - External USB2
Gents- I think he wants to uninstall the driver for the usb device, which would be of interest just for geeky curiosity.

He may be thinking that if he deletes the registry keys he can remove the drivers (NO).

Say someone is visiting and wants to show you some pics on her camera. She hooks it up to your PC, it loads drivers for her camera. You look at the pics - you laugh - you cry, then she goes back to France for a swimsuit photo shoot. So now you got this driver for a camera on your computer that you will never use again. Can you remove it? How?
 

My Computer My Computer

At a glance

Windows 7 64 Bit Home Premium SP1i7-3820GSkill F3-14900CL9Q - 16GBEVGA GeForce GTX660 - Driver 352.86
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built - Jan 2013
OS
Windows 7 64 Bit Home Premium SP1
CPU
i7-3820
Motherboard
Asus P9X79-PRO - Bios 4608
Memory
GSkill F3-14900CL9Q - 16GB
Graphics Card(s)
EVGA GeForce GTX660 - Driver 352.86
Sound Card
On board Realtek ALC898
Monitor(s) Displays
Acer S271HL
Screen Resolution
1920 x 1080
Hard Drives
#1- Samsung 840 Pro Series
#2- Western Digital WD1002FAEX Sata3 Black
#3- Western Digital WD1002FAEX Sata3 Black
PSU
Corsair CMPSU-850TX-V2 - 850 watt (by Seasonic)
Case
Corsair Obsidian 550D
Cooling
Standard 3 120mm case fans, Cooler Master Hyper 212 EVO
Keyboard
MS KC-0405
Mouse
Intellimouse 5-button
Internet Speed
56 Mbits/Sec (on a good day)
Antivirus
Avast & Malwarebytes
Browser
Firefox
Other Info
Asus DVD - DRW-24B1ST 24X
This might be what the OP is looking for. Start and type in device, go to device manager, Human Interface, right click on your desired driver for the camera and select remove driver.
 

My Computer My Computer

At a glance

Windows 10 Pro. 64/ version 1709 Windows 7 Pr...Intel i7-6800K @ 4.3Corsair Platinum 16 gig @2400EVGA GTX 1070 OC
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.

My Computer My Computer

At a glance

Win 7 Ultimate x64FX-8350 @ 4.6 GHz so farADATA XPG V1 Series Black 8GB DDR3 1600Sapphire R9 270x Dual-X
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Me
OS
Win 7 Ultimate x64
CPU
FX-8350 @ 4.6 GHz so far
Motherboard
Asus M5A97 EVO
Memory
ADATA XPG V1 Series Black 8GB DDR3 1600
Graphics Card(s)
Sapphire R9 270x Dual-X
Sound Card
Xonar DGX w/ Corsair Vengence 1300
Monitor(s) Displays
Acer S232HL Abid
Screen Resolution
1920x1080
Hard Drives
120 GB OCZ Vertex 3
500 GB Seagate 7200.12
PSU
Antec Earthwatts 650W Green
Case
Antec Three Hundred
Cooling
Cooler Master 212 EVO
Keyboard
Logitech G510
Mouse
Logitech G500s
Internet Speed
35000/3000
The Nirsoft program shows all instances of USB usage on the system, including phones, Webcams, cameras, mouse etc. Double clicking on the .exe will open up a window showing you all the devices ever used. From there, you can locate the device, right-click on it and select "Open in reg-edit". From there you can see where the information is stored.

You can choose to delete the particular registry entry you wish. Just be careful which entries you delete as certain bits of required hardware will need to retain the registry values and may stop working if removed. Make a backup of any key you plan to delete before doing this, and create a restore point first.

Though, all this seems a pretty fruitless exercise.
 

My Computer My Computer

At a glance

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Because i want to protect my privacy, thank you.

What privacy? There is nothing to protect unless you're worried that someone may see that you connected a MP3 player or an external hard drive at some point in time. Other than that there is no information stored anywhere as to what was on said device.
 

My Computer My Computer

At a glance

Win 7 Ultimate x64FX-8350 @ 4.6 GHz so farADATA XPG V1 Series Black 8GB DDR3 1600Sapphire R9 270x Dual-X
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Me
OS
Win 7 Ultimate x64
CPU
FX-8350 @ 4.6 GHz so far
Motherboard
Asus M5A97 EVO
Memory
ADATA XPG V1 Series Black 8GB DDR3 1600
Graphics Card(s)
Sapphire R9 270x Dual-X
Sound Card
Xonar DGX w/ Corsair Vengence 1300
Monitor(s) Displays
Acer S232HL Abid
Screen Resolution
1920x1080
Hard Drives
120 GB OCZ Vertex 3
500 GB Seagate 7200.12
PSU
Antec Earthwatts 650W Green
Case
Antec Three Hundred
Cooling
Cooler Master 212 EVO
Keyboard
Logitech G510
Mouse
Logitech G500s
Internet Speed
35000/3000
Because i want to protect my privacy, thank you.

This seems quite rude; especially when I am here to help. My question was merely to gather more information on your problem or to understand the goal. If I can understand what you need then I may be able to give you a solution that is simple/safe or point you in the right direction. :mad:
 

My Computer My Computer

At a glance

Windows 7 Enterprise (x64); Windows Server 20...16GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell OP7010
OS
Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
Memory
16GB
Monitor(s) Displays
4 Dell 24" LCD
Screen Resolution
1280x1024
Keyboard
Dell
Mouse
Dell Optical
Internet Speed
40meg
I only want to know the working principle of USBDeview, how it uninstall the USB drivers? why i can not delete the sub key located on "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR" in Windows 7 OS? Do not ask why please, because i only want to study computer knowledge! Thank you.
 

My Computer My Computer

At a glance

Vista and Windows 7
OS
Vista and Windows 7
I only want to know the working principle of USBDeview, how it uninstall the USB drivers? why i can not delete the sub key located on "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR" in Windows 7 OS? Do not ask why please, because i only want to study computer knowledge! Thank you.

Please post a message on NirSoft.net about USBDeview. Very nice person he will help you to understand USBDeview.
 

My Computer My Computer

At a glance

Windows 7 Enterprise (x64); Windows Server 20...16GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell OP7010
OS
Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
Memory
16GB
Monitor(s) Displays
4 Dell 24" LCD
Screen Resolution
1280x1024
Keyboard
Dell
Mouse
Dell Optical
Internet Speed
40meg
I know how to get all the installed usb devices from Registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR

but how to get the created date and last plug/unplug date of usb devices like USBDeview
View any installed/connected USB device on your system

Thank you
 

My Computer My Computer

At a glance

Vista and Windows 7
OS
Vista and Windows 7
the reason why

Folks did you know that if you plug a USB drive into your PC at work the ID of that drive is recorded and your employer, or ex employer may demand that you produce said drive to him before you leave the company (or even after you leave) I can 100% that this is true as I have spent the last 7 months in legal battles over a $10 item with court costs running close to $100000 all because I can not produce this drive. Obviously there is a reason they want the drive related to IP and confidential info but bottom line is; I dont have it they want it and can show it was in my machine.

So either clean the drive to make sure they never see it was in there or keep it to hand in, at the least offer it on leaving.
 

My Computer My Computer

At a glance

windows 7
OS
windows 7

My Computer My Computer

At a glance

Windows 7 Home Premium 32 bit
OS
Windows 7 Home Premium 32 bit

My Computer My Computer

At a glance

Windows 7 x64 SP1Athlon II x2 2154.0 GBOnboard
Computer Manufacturer/Model Number
Compaq desktop
OS
Windows 7 x64 SP1
CPU
Athlon II x2 215
Memory
4.0 GB
Graphics Card(s)
Onboard
Sound Card
Creative SB X-Fi Titanium HD (nice)
Monitor(s) Displays
24" Dell LCD
Screen Resolution
1900 x 1200
Hard Drives
320 GB, 500 GB and 750 GB 7200 rpm
PSU
430w
Keyboard
USB
Mouse
USB
Internet Speed
approx 10 Mbps
^ That seems to be an interesting application. Downloads - usboblivion - An utility designed to erase all traces of USB drives from Windows registry - Google Project Hosting

"USBOblivion is a small (portable) utility that will erase all traces of USB-connected storage devices (including iPods) and CD-ROMs from the Windows registry. The registry data stores details including drive manufacturer, last connected date various other details which will be completely removed after running USBOblivion. By default, the program starts in a simulation mode, allowing you to preview the results of the cleaning. If you want to proceed, you can run the process again, this time checking the "Real clean" option.USBOblivion also comes with an option to create a registry backup file of the removed entries, so that in case you run into problems, you can undo the cleaning operation. The app will only remove entries for Mass Storage devices, it will not interfere with your USB mouse, keyboard, wireless adapters etc."


After doing a drivecleanup, which is my favourite tool, I ran USB oblivion in the simulation mode.


Oops.... it showed a few hundred registry entries pertaining to almost all the USB devices I had used, atleast the names like Transcend jetflash, HP v220w etc.,

A screenshot:


USBoblivion.jpg


On the face of it, it does seem to do a thorough forensic cleaning that will suit those who are likely to be liable to corporate espionage investigations rightly or wrongly - as faced by mate chirpychippy.


For ordinary users though who want to avoid USB problems, the drive cleanup tool should be sufficient. Extreme scrubbing and registry manipulation - that can create problems (and that is why USB Oblivion provides a backup option, just in case ) may not be neceaasry.


That said, nice catch @pincushion.
 
Last edited:

My Computer My Computer

At a glance

Windows 7 Home Premium 32 bit
OS
Windows 7 Home Premium 32 bit
In my more paranoid moments I seem to download lots of useful little apps after following links but usually don't end up using them. I think the forensics people would still be able to recover data unless further measures were taken since this stuff is probably just deleted from the registry and probably recoverable however.

;) :)
 

My Computer My Computer

At a glance

Windows 7 x64 SP1Athlon II x2 2154.0 GBOnboard
Computer Manufacturer/Model Number
Compaq desktop
OS
Windows 7 x64 SP1
CPU
Athlon II x2 215
Memory
4.0 GB
Graphics Card(s)
Onboard
Sound Card
Creative SB X-Fi Titanium HD (nice)
Monitor(s) Displays
24" Dell LCD
Screen Resolution
1900 x 1200
Hard Drives
320 GB, 500 GB and 750 GB 7200 rpm
PSU
430w
Keyboard
USB
Mouse
USB
Internet Speed
approx 10 Mbps
Recovering the deleted registry entries is definitely possible (with the software like YARU Yet Another Registry Utility ) but as with any recovery, the success depends upon how fast one acts to recover. With hours and days passing with the computer being used, these can easily be overwritten and recovery may be impossible.
 

My Computer My Computer

At a glance

Windows 7 Home Premium 32 bit
OS
Windows 7 Home Premium 32 bit
Back
Top