Force delete registry key for USB device

ChrisInVT

New member
Local time
11:12 PM
Messages
25
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.
 

Attachments

  • ScreenShot062.jpg
    ScreenShot062.jpg
    8 KB · Views: 83
  • ScreenShot063.jpg
    ScreenShot063.jpg
    78.8 KB · Views: 746
  • ScreenShot064.jpg
    ScreenShot064.jpg
    27.5 KB · Views: 151
  • ScreenShot065.jpg
    ScreenShot065.jpg
    33.8 KB · Views: 192

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7
CPU
AMD Quad Core
Motherboard
Asus
Memory
4GB DDR3
Graphics Card(s)
ATI
Sound Card
Int 7.1
Monitor(s) Displays
Tri 22" Acer widescreens, single 17" Dell/Acer letterbox
Screen Resolution
1920x1080
Hard Drives
Single Western Digital 640G
PSU
Corsair
Case
GMC
Cooling
Stock, Air
Keyboard
Dell media keyboard
Mouse
Wireless opticMicrosoft IntelliMouse, Wired ione laser mouse
Internet Speed
85Mbps FIBER
Other Info
Windows 7 since the beta days....
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)
http://www.sevenforums.com/tutorials/4230-registry-backup-restore.html

Good Luck

-DG
 

My Computer

Computer Manufacturer/Model Number
HP m8000n
OS
Windows 7 Ultimate x86
CPU
DualCore AMD Athlon 64 X2, 2600 MHz 5200+
Motherboard
Asus M2N68-LA (Narra)
Memory
Samsung 2GB DDR2
Graphics Card(s)
Onboard NVIDIA GeForce 6150SE nForce 430
Sound Card
Onboard nVIDIA nForce 6100-430 (MCP61P)
Monitor(s) Displays
Westinghouse 19" LED
Screen Resolution
1280x1024
Hard Drives
SATA II Seagate Barracuda 500GB
USB II WD Elements 500GB
USB II WD My Book 1TB
USB II WD My Book 2TB
PSU
Stock (HP)
Case
Stock (HP)
Cooling
Stock
Keyboard
Logitech Classic KB 200
Mouse
Standard HP opticle USB mouse
Unfortunately neither of those options would work, we just need to bypass whatever security is disallowing us to delete those registry keys.
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7
CPU
AMD Quad Core
Motherboard
Asus
Memory
4GB DDR3
Graphics Card(s)
ATI
Sound Card
Int 7.1
Monitor(s) Displays
Tri 22" Acer widescreens, single 17" Dell/Acer letterbox
Screen Resolution
1920x1080
Hard Drives
Single Western Digital 640G
PSU
Corsair
Case
GMC
Cooling
Stock, Air
Keyboard
Dell media keyboard
Mouse
Wireless opticMicrosoft IntelliMouse, Wired ione laser mouse
Internet Speed
85Mbps FIBER
Other Info
Windows 7 since the beta days....

My Computer

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
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 64

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Win7 sp1 Pro 64bit / XP sp2 Pro (games only)
CPU
Intel Core 2 Duo E8400 @ 3.00GHz
Motherboard
Intel Corporation DP35DP (CPU1)
Memory
8.00 GB Dual-Channel DDR2 @ 400MHz (5-5-5-18)
Graphics Card(s)
1024MB GeForce GTX 560
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
SyncMaster (2048x1152@60Hz)
Hard Drives
240GB Sandisc Extreme Pro SSD
244GB Seagate ST3250410AS
488GB Seagate ST500DM002-1BD142
931GB Western Digital WDC WD1003FZEX
PSU
Corsair 720
Case
ATX
Keyboard
HID Keyboard Device Logitech
Mouse
HID-compliant mouse Microsoft
Other Info
TSSTcorp CDDVDW SH-S223L

HL-DT-ST BD-RE BH12LS35
Back
Top