Snacks Posted December 7, 2006 Posted December 7, 2006 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. Quote
Snacks Posted December 7, 2006 Author Posted December 7, 2006 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? Quote
an0 Posted December 7, 2006 Posted December 7, 2006 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): REGEDIT4 [-HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSyst...] Quote
Snacks Posted December 7, 2006 Author Posted December 7, 2006 Thanks an0! I actually did google but didn't come across anything as clear as that. Quote
Iain Posted December 7, 2006 Posted December 7, 2006 Interesting. I just googled with batch + delete + registry + key as the search criteria and the first hit was http://www.robvanderwoude.com/index.html which gives more details about manipulating the registry. HTH Quote
Dаrren Kitchen Posted December 11, 2006 Posted December 11, 2006 Sounds more like you want to clear some logs, sorry If I'm wrong. You may want to look at this also: http://ntsecurity.nu/toolbox/winzapper/ Quote
remkow Posted December 11, 2006 Posted December 11, 2006 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.