Solved

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

Posted on 2006-07-20
10
151 Views
Last Modified: 2010-03-18
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.
0
Comment
Question by:ETC_IT
  • 6
  • 4
10 Comments
 
LVL 14

Expert Comment

by:FriarTuk
ID: 17155643
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
 

Author Comment

by:ETC_IT
ID: 17223624
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
 
LVL 14

Expert Comment

by:FriarTuk
ID: 17230418
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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 14

Expert Comment

by:FriarTuk
ID: 17230424
sorry, tweakui for 98 did list uninstall info but i guess MS$ left that out on the xp version
0
 
LVL 14

Expert Comment

by:FriarTuk
ID: 17254900
0
 

Author Comment

by:ETC_IT
ID: 17312230
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
 
LVL 14

Expert Comment

by:FriarTuk
ID: 17332590
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
 

Author Comment

by:ETC_IT
ID: 17336493
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
 
LVL 14

Accepted Solution

by:
FriarTuk earned 250 total points
ID: 17340332
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
 

Author Comment

by:ETC_IT
ID: 17436934
Thanks for your help....
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question