Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Force delete registry key for USB device

08 Nov 2010   #1

Windows 7
Force delete registry key for USB device

Here's the situation... I recently replaced two aging XP machines with a pair of brand-new machines running 7 professional x86. These machines are used on an assembly line to test USB scales that we manufacture. We test hundreds of scales each day on both machines. The issue with these machines is that the registry grows and grows and grows until the PC grinds to a halt and/or crashes. With thousands of USB devices being plugged into it each week, you can imagine how large the registry gets keeping a record of all them.

Our solution? We have a program that goes and seeks out the registry keys that are entered when one of the scales is "installed" on the system. It deletes the registry keys just for our product, so the computers won't crash.

The problem? Well, it just doesn't work under Windows 7. For whatever reason, we don't have "access" to the keys and are unable to delete them. We can't even manually-delete the keys using REGEDIT ran as an administrator. I have "taken control" of the keys, but still no dice. This is going to be a HUGE problem - like, a wipe/reload of two PCs EVERY week kind of problem if I can't figure this out. The user accounts are administrators of the system. I have *not* turned the UAC off, because I didn't think that was the problem.

Please see attached screenshots. I've tried every "fix" I can find on Google, but nothing has worked. Everything but "Need_Serial#" needs to be deleted. Currently, nothing can be deleted.

Attached Thumbnails
Force delete registry key for USB device-screenshot063.jpg  
Attached Images
Force delete registry key for USB device-screenshot062.jpg Force delete registry key for USB device-screenshot064.jpg Force delete registry key for USB device-screenshot065.jpg 
My System SpecsSystem Spec
08 Nov 2010   #2

Windows 7 Ultimate x86

What you need is something like Steady State (a Software for libraries Internet cafes and such) Which enables you to have a fresh clean PC after every reboot.
Unfortunately Steady State isn't working on se7en
But Microsoft published a paper how to set up Windows 7 to resemble the workings of Steady State as close as possible:

Download details: Creating a Steady State by Using Microsoft Technologies

The other way would be to set a restore point and have your Computers go back to that point every morning (it basically restores the complete registry and shouldn't take more than say 5 mins)
Registry - Backup and Restore

Good Luck

My System SpecsSystem Spec
09 Nov 2010   #3

Windows 7

Unfortunately neither of those options would work, we just need to bypass whatever security is disallowing us to delete those registry keys.
My System SpecsSystem Spec

09 Nov 2010   #4

Windows 10 Education 64 bit

This might work, View any installed/connected USB device on your system
I haven't tried it myself. It was posted in another similar thread and I book marked it with the intension of giving it a look see later.
My System SpecsSystem Spec
26 Apr 2013   #5

Windows 7 64

Hi Chris - Say, did you ever find a solution to this problem?
We're facing just the same here and I would be extremely grateful for any hint...
(same name at the gmail)
Thanks heaps and good luck!
My System SpecsSystem Spec
21 Apr 2014   #6

Windows 7 Enterprise x64

USBDeview utility (View any installed/connected USB device on your system) successfully uninstalled snarly unrecognized USB devices from my Dell laptop running Windows 7 Enterprise 64-bit.
My System SpecsSystem Spec
21 Apr 2014   #7
Wandering one

Win7 sp1 Pro 64bit / XP sp2 Pro (games only)

check this thread How to clear out usb history on Bench tech machine Help! Look over the whole thing particularly #3
My System SpecsSystem Spec

 Force delete registry key for USB device

Thread Tools

Similar help and support threads
Thread Forum
Force delete of protected system files
I am reorganising my software to have only Windows functional files on drive C:/ and all other files on drive D:/. I cannot delete Program files, Program Files(X86) and similar from drive C:/ because system will not allow access to the files. Can anyone please advise how to overcome this system...
Need to force delete Reg Key
I have a Ricoh card driver that starts a service that is erroring on this install. I uninstalled in Control Panel (it's not listed in Services) but it left keys I was able to delete via a REgedit Search - except for one key which is still generating the error and may be running so it won't let me...
General Discussion
Cannot delete certain Registry Key; Cannot change Owner of Registry Ke
In order to get rid of the *.zip folder view in WinExplorer on a64bit WIn7 system I tried to delete (according to some tutorials) the Registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31} Unfortuantely this is NOT possible immediately....
General Discussion
Driver Sweeper can't delete all registry files in registry editor So this is the situation: I've unistalled Amd Driver from Device Manager, Unistalled Catalyst software and ran Driver Sweeper. There is only 3 registeries that the Driver Sweeper CAN'T delete and these are under SYSTEM\ folder. I've tried to change user...
How to force File and registry virtualization
Hi! I have a program which tries to write data to %windir%. I can make this program work if I open Windows Task Manager, right click the program's process and check the "UAC Virtualization". However, I dont want to do this every time I run the program, so is there a way to auto-enable the...

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:58.
Twitter Facebook Google+