Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cleanup batch script

Status
Not open for further replies.

Adhyapika

Instructor
Sep 20, 2002
51
US

Hello

Can someone help me to give a batch script to clean up a windows application and its associated folders,files, dlls etc) (say application name: Master).

I need to clean up that application entirely, and then re-install.

Please help me.

Thanks in advance.
 
regclean:

and MSI clean:

Those will do a lot of what you want. Otherwise, programatically removing stuff from the registry and file system can be dangerous. If you want to remove stuff from the registry, most stuff will wind up under HKLM\SOFTWARE and can be removed manually, with the understanding that you can royally screw up your machine if you do something wrong.
 
This is what the program's uninstaller is supposed to do for you.

Like the "uninstaller" you will need to know the exact names of files and registry keys in order to succeed. You will need correct security access permissions to be able to delete these locations.

You may not be able to find any third party script that will automatically remove all traces of this program because of the above requirements. You could look at the program's support site or contact them for assistance as they are the most likely source of any fix-it script.

You could try installing the program over itself and then try uninstalling it.

There are registry cleaners available that will clean your registry of any broken links the registry cleaner may find.
XP's RegEdit and some registry cleaner programs will allow you to search for keys (and alter/delete them) but you will have to know what you are searching for so you can feed in that information.

10 Registry cleaners tested.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top