How to uninstall an application on LAN clients over the network.

What we are looking for is a script that will allow us to uninstall an application on all connected LAN clients. For the purpose of this question, I will use WinZip as an example. The end result would be that every installation of WinZip could be detected and uninstalled without the end user being able to stop it or even know that anything is going on.
ETC_ITAsked:
Who is Participating?
 
FriarTukConnect With a Mentor Commented:
i would use it in a batch file, then add it to the login script

if you want to make sure it exists first, before trying to uninstall, otherwise it will run the uninstall everytime a user logs in

copy that line & test it as it on a pc with winzip installed, if it works, then try putting it into a batch file & test it in a script
0
 
FriarTukCommented:
generally i use tweakui to get the uninstall routine of the pgm, then add to the login script something like:

if exist  "C:\PROGRAM FILES\WINZIP\WINZIP32.EXE"  "C:\PROGRAM FILES\WINZIP\WINZIP32.EXE" /uninstall
0
 
ETC_ITAuthor Commented:
I looked at TweakUI but saw nothing about getting the uninstall routine of an application. The ideal way would be to have a user login script that would run the native "Uninstall WinZip" option that is in the Start>All Programs>WinZip folder. I'm not experienced in creating these logon scripts (VBS would be best), which brings me to EE for feedback.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
FriarTukCommented:
the native (add/rem) uninstall for winzip is the same uninstall information listed in the registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinZip
which is the same as the 2nd part of what i listed after seeing if it exists on that pc first
"C:\Program Files\WinZip\WINZIP32.EXE" /uninstall
0
 
FriarTukCommented:
sorry, tweakui for 98 did list uninstall info but i guess MS$ left that out on the xp version
0
 
ETC_ITAuthor Commented:
http://www.experts-exchange.com/help.jsp#hi63

I haven't had the time to test this yet. Other things came up that trump this issue. If I am in any way a waste of your time, please let me know.
0
 
FriarTukCommented:
no I don't mind, but if you don't check back weekly or every 2 weeks, EE may close your question for you - so when you get a chance let me know
0
 
ETC_ITAuthor Commented:
Would putting the ["C:\Program Files\WinZip\WINZIP32.EXE" /uninstall] in the logon script field of a users Active Directory account be the right way to admin this over my network? I'm not very familiar with logon/off scripts, hence the question.
0
 
ETC_ITAuthor Commented:
Thanks for your help....
0
All Courses

From novice to tech pro — start learning today.