Computing.Net > Forums > Windows 7 > Need to delete a registry key automatically.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Need to delete a registry key automatically.

Reply to Message Icon

Name: hhfrog
Date: November 5, 2009 at 09:26:47 Pacific
OS: Windows 7
Subcategory: General
Tags: registry, key, remove, automatic, autonomous
Comment:

Hi. Just wondered if someone knows where I may learn how to delete a registry key (automatically) as soon as it is created.
For example, I know how to create two files (*.reg) that I can click on each manually, and either add a key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000401]
"Layout Text"="Arabic (101)"


... or delete a key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000401]
"Layout Text"=-

But what I don't know is this: if a program creates itself a key in the registry, I would like to create something that automatically deletes that key as soon as it is created. The important thing is, it needs to happen all on its own, without me being there to do anything.

I have read a couple posts that have a lot similar to my question, so perhaps this is already answered and I can be pointed in the right direction.
This is a solution I hope to use for all varieties of Windows.
I must admit I don't know where to start yet. Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: Sabertooth
Date: November 5, 2009 at 13:27:29 Pacific
Reply:

And why are you trying to delete registry keys as soon as they are created, there's a reason why the keys are created to begin with. If you don't want the keys to be created, I would suggest not installing "these" rogue programs at all.

Windows 7 News!


0

Response Number 2
Name: hhfrog
Date: November 5, 2009 at 13:55:06 Pacific
Reply:

No problem, understandably it may appear I'm trying to install rogue programs, or up to no good somewhere. Trust me, nothing like that. Just need to know how to do what I specified above.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Need to delete a registry key automatically.

Can not delete a 0 byte file www.computing.net/answers/windows-7/can-not-delete-a-0-byte-file/498.html

need to reinstall home and student word www.computing.net/answers/windows-7/need-to-reinstall-home-and-student-word-/388.html

agere systems PCI soft modem www.computing.net/answers/windows-7/agere-systems-pci-soft-modem/77.html