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
ChrisInVT

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
-screenshot063.jpg  
Attached Images
   
My System SpecsSystem Spec
.
08 Nov 2010   #2
SledgeDG

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

-DG
My System SpecsSystem Spec
09 Nov 2010   #3
ChrisInVT

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
alphanumeric

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
saminz

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
phrounds

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
Art
My System SpecsSystem Spec
Reply

 Force delete registry key for USB device




Thread Tools




Similar help and support threads
Thread Forum
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
http://i2.aijaa.com/b/00227/9175142.png 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...
Drivers
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...
Virtualization
How do I force Win 7 to use Vendor-Supplied USB-Midi Device Drivers?
Hello everyone, I just discovered this nice forum! I have a Casio USB-Midi keyboard, which I've been using with Windows 7 for quite sometime - worked when I first plugged it in, never bothered about drivers until now. Upon having issues, I found that there is a vendor-supplied driver, which I...
Drivers
Force MSC mode on MTP device ? Fuji FinePix Z70
Hello people. New here, be gentle... :D Yesterday i bought a Fuji FinePix Z70 as a replacement to my old FinePix S5500. The major problem is the Z70 only connects as an MTP device, i cannot see it in explorer, assign it a drive letter, etc. And i hate to manage files via forced camera...
Hardware & Devices


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 07:23.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App