General discussion


uninstall a program via a DOS prompt?

By complexmind ·
I have an application listed in Add/remove programs that I need to remove from a bunch of PCs at multiple locations. If I click REMOVE, it says are you sure, you say YES and it quickly removes it without any more prompts. Is there any way to execute this same procedure from a DOS prompt?
I can remotely execute a script on these machines if there is a way to do it without prompts. Right now I have to Terminal Service into each machines and Add/Remove.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by p.j.hutchison In reply to uninstall a program via a ...

You need to look in the registry (try HKLM\Software\Microsoft\Windows\CurrentVersion\ Uninstall) and look for the command string for that program to install it with.

Collapse -

by complexmind In reply to


Thanks for the insight. I never knew the uninstall strings were in there. As a side note, my program used msiexec.exe to uninstall. If you add the /Q parameter to the uninstall string it will not prompt the user "Are you sure".

Collapse -

by complexmind In reply to uninstall a program via a ...

This question was closed by the author

Related Discussions

Related Forums