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:
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?
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)
Please log in to answer
Posted by:
dchristian
13 years ago
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
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.
so that the conversation will remain readable.