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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Anybody know how to run this script successfully?
Answered 10/17/2011 by: JeffStandley
Senior Yellow Belt

Please log in to comment
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
Answered 10/25/2011 by: dchristian
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity