Jump to content

.bat to delete registry files


Recommended Posts

Is it possible using a batch to delete registry files? The reason I ask is I want to remove all traces of apps that have been run from USB. I have a few apps that run from directory but save my settings to the local computer, I want to have a batch that i can run after im finished with the apps that would delete the registry files storing the application settings.

Also would you recommend process monitor as the best way to check what reg files are being made by an app?

Can i use something like:

rd /s /q HKEY_CURRENT_USERSoftwareAppName


Thanks for your time.

Link to comment
Share on other sites

Google is your friend

 Win 2000, XP You can create .reg file and specify in it minus sign before the key name to delete (example - contents of sample file c:del.reg):



Link to comment
Share on other sites

Thanks for the reply remkow! I'm not sure I understand what you're saying, I'm pretty new to all this sort of stuff. Is that the path to where registry files are stored?

Go to start>run and type in cmd

type in "reg /?" without the quotes

read the stuff it says in the little black screen.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...