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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Uninstall an application from cmd prompt

Status
Not open for further replies.

Frank4d

Technical User
Nov 5, 2004
724
US
I want to uninstall an application (ActivCard) from a command prompt with the same results that would be had using the "Add/Remove Programs" GUI in XP. How do I do that?

Google is not my friend in this case.

 
Does this program have its own Uninstall.exe in its Program Files folder or elsewhere on the machine? Can the program manufacturer help you out with this?

All I can think of otherwise is doing something via batch files and DOS which removes the files and registry entries of the program.

What is wrong with the old-fashioned Add or Remove way, you don't say?
 
I need to remove six apps from 14 computers, so I figured a batch file would be faster.

I think I found the answer. If I find the proper uninstall string in HKEY_Local_Machine\Software\Microsoft\Windows\Current Version\Uninstall\<sub-key for program to remove> and run it, it should do what I want. Then use reg.exe to cleanup any leftover junk in the registry.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top