Solved

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

Posted on 2006-07-20
10
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

751 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