Remove program with kace1000
Hi,
I want to remove an old version of a VPN program, but does anyone know what the parameter should say? Can't find anything on it and the things i've found so far that sort of look likes what i want to do doesn't work.
3 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
akmagnum
7 years ago
Top Answer
Use the scripting module.
Create new script....
Name it......
Enable it.....
choose operating systems to work with.........
Choose device to deploy......
Choose "Run a batch file" in the "task" section.
Paste in the uninstall string from the registry.
Save and run the script.
Comments:
-
Yes this worked! Thank you so much. - slothinator 7 years ago
-
This works for the newer VPN client but we dont have a product code for the older ones so we cant copy and paste the string from the registry got any ideas how to do it without the string? - slothinator 7 years ago
-
You could try using wmic
Something like
WMIC product where "Name LIKE '%%VPN Client%%'" call uninstall /nointeractive
Insert the product name where i have VPN Client - rockhead44 7 years ago-
I dont really follow, where do I find the WMIC? - slothinator 7 years ago
-
WMIC is a command line tool that you can call from a batch file.
https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/wmic.mspx?mfr=true - rockhead44 7 years ago -
Okay so you want me to place "Name LIKE '%%VPN Client%%'" call uninstall /nointeractive" into CMD? and change VPN Client to the name of the program? - slothinator 7 years ago
-
Correct.
For example, here's a batch file I have that identifies all versions of Adobe Flash Player and uninstalls
@ECHO OFF
WMIC product where "Name LIKE '%%Adobe Flash Player%%'" call uninstall /nointeractive
exit - rockhead44 7 years ago -
So i will just create a .bat file with "@ECHO OFF WMIC product where "Name LIKE '%%Adobe Flash Player%%'" call uninstall /nointeractive exit" in it and then run it? will that also remove the VPN program for all the other users within the company? or is that just for me? or can I make it so it removes the program for other users too? - slothinator 7 years ago
are you not able to find under Inventory › Software ›? - rahimpal 7 years ago
Also what options should I use, https://i.imgur.com/h2e9cE3.png - slothinator 7 years ago