/build/static/layout/Breadcrumb_cap_w.png
09/30/2016 5586 views
Hello,

I wanted to know how to close an application via SCCM before deploying a program. For example, I have to install an email back up client for Outlook. Before installing the program, I need to make sure that Outlook is closed. Is there a "dependency rule" or "detection rule" that I can set so that Outlook closes before the install of the program? Thank you in advance!
0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

1
If want to do this as an SCCM 'application' then have a look at PS Deploy - http://psappdeploytoolkit.com/

It has gubbins to warns users it needs it knobble a process etc, better than a task sequence as its more self contained and flexible.

To answer question directly, there is no SCCM out of the box method detect running process or to kill a process - you need to action/script that yourself.
Answered 10/01/2016 by: rileyz
Red Belt

All Answers

0
I use the taskkill command line utility from inside my SCCM installation scripts, especially when deploying a newer version of an existing program. for the syntax, run a command prompt and type taskkill /?. But in general, taskkill /im and the name of the program will kill any running instances of said application.
Answered 09/30/2016 by: knoxm
Senior Yellow 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

Share