/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Script help to remove Microsoft Security Essentials

10/13/2011 5161 views
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


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

All Answers

0
Anybody know how to run this script successfully?
Answered 10/17/2011 by: JeffStandley
Senior Yellow 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
Answered 10/25/2011 by: dchristian
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
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