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: Deleting registry keys with a batch file?

05 Jul 2011   #1
devftw

Windows 7 64bit Home Premium
 
 
Deleting registry keys with a batch file?

I downloaded a beta version of a program and it for some reason it has a "usage count" in the registry which denies access to the program after 10 uses. When i delete the key it works again but it's pretty annoying to keep deleting it through the registry all the time.

I want to make a batch file to delete this key so i can just put it in the autostart folder and it will delete the key at every system start.

Can someone give me an example of how this batch file should look like?


My System SpecsSystem Spec
.

05 Jul 2011   #2
Golden
Microsoft MVP

Windows 7 Ult. x64
 
 

Hi,

Whats the name of this program?

Regards,
Golden
My System SpecsSystem Spec
Reply

 Deleting registry keys with a batch file?




Thread Tools





Similar help and support threads
Thread Forum
Problem with batch file command to edit registry
reg add HTLM\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DontDisplayLastUserName /t REG_DWORD 00000001 /f I am trying to hide all users at logon and I know this is where you change it but for some odd reason the syntax is wrong and I can not figure it out. Can someone please...
Customization
removing batch file from registry
recently I ran Mamu's add icons to system batch file for mame icons. I wasn't satified with the results so I was going to do a system restore. Then I learned system restore was turned off "which I turn off when I defrag then turn back on when completed". Now I can't figuere out how to remove it....
Software
How do i capture a folder of registry keys and make then a exe batch?
I'm modifying an old game.. including patches, and modifications. I want to make my own installer using WinRar but WinRar doesn't do registry keys. I thought I'd make a self executing batch file with all my needed registry keys and point WinRar to that during install. I heard this was possible but...
General Discussion
DOS Batch - Forfiles - deleting specific file extensions
Hey all. I've reviewed several different examples of how forfiles works. To set the stage, I need to automatically remove files with a file extension of .0 followed by numbers that increment and these files would be 7 days or older. Unfortunately, none of the examples or forfiles /? usage...
Customization
Need Help Deleting Legacy Registry keys W7 64 bit
I'm trying to delete some Legacy Registry Keys on W7 64 bit, and when i right click on the key to change the permissions to allow full control I receive a windows security prompt "unable to save permission Changes on Legacy.." Is there a work around for this. I may just be obsessive compulsive...
General Discussion
Major problems deleting registry keys...
I have a USB key that I need to delete. I have properly set the owner and permissions for full access. No matter what I do it does not work. It tells me error deleting key. And to add insult to injury, every time after I try deleting a subkey, windows adds a subfolder under that key's folder!!!...
General Discussion

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:24.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App