/build/static/layout/Breadcrumb_cap_w.png

How to set a rule to close application before install on SCCM

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

Answers (2)

Posted by: rileyz 8 years ago
Red Belt
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.
Posted by: knoxm 8 years ago
Senior Yellow Belt
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.

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