/build/static/layout/Breadcrumb_cap_w.png

Script help to remove Microsoft Security Essentials

I am trying to set up a script to remove Microsoft Security Essentials with KACE, but I have no idea where I am going wrong.
I just want to make sure I'm going about this the correct way.
The script I want to run (tested) is this:

"C:\Program Files\Microsoft Security Client\Setup.exe" /x /s

I can run this code in a command window on a machine and it removes it fine.

I created an online KScript, added the launch program command
Directory: SYS
File: cmd.exe
Parameters: "C:\Program Files\Microsoft Security Client\Setup.exe" /x /s

I can see the cmd window flash but the script is not removing the program. Any idea what I am doing wrong, or what I need to add?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: JeffStandley 13 years ago
Senior Yellow Belt
0
Anybody know how to run this script successfully?
Posted by: dchristian 13 years ago
Red Belt
0
You shouldn't be running cmd, you should be running the setup.exe.

Directory: "C:\Program Files\Microsoft Security Client"
File: setup.exe
Parameters: /x /s

that should work, but it would probably be easier if you ran this as a distribution.

You should also post all Kace questions in the Kace forums :D
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ