BigFix - Gracefully Close Applications before patching

BigFix - Gracefully Close Applications before patching

Recently Microsoft Released a zero-day vulnerability with Microsoft Outlook. With Zero Day vulnerabilities you need to have these addressed and deployed ASAP. Normally with any Microsoft Office patch you can deploy the patches to install while the office applications are running. Once those applications are closed the patch will install or finish installing. This usually isn’t an issue as “most” users open and close applications all the time. But in this case, we need to get that zero-day patched deployed asap and we need to force users to close outlook to get the patch installed. This time we had an office application, but it could be any application. Normally BigFix provides out of the box the ability to close running office applications as part of the patch content. But this guide isn’t just for Outlook you can change it for any application that could be running that if affecting a patch being installed. Just replace outlook.exe with your application name you would like to close.


In this guide I am going to show you how to add a task kill action to your baseline before patches install. This will ensure that you can give your users a deadline and prompt them to close Outlook and once the deadline passes it will either automatically close Outlook or keep an annoying window up until they do. With BigFix we offer the administrator the ability give users flexibility or force changes to the end users. In this case we might want to give them a deadline and then close the application to get the patch deployed because this is a zero day. But each organization is different but at least you have options with BigFix.


In your BigFix Console go to Tools – Create a New Filxlet


Give your Fixlet a name

No alt text provided for this image



Add the following to your action script

waithidden taskkill /f /im outlook.exe

No alt text provided for this image



Select Include Custom Success Criteria and Select the Edit Button

No alt text provided for this image



Select the applicability relevance evaluates to false

No alt text provided for this image


Select the relevance tab

Select Computers which match all of the relevance clause below and add the relevance.

exists running application "outlook.exe"

No alt text provided for this image


Close and Save the Fixlet

Find your newly created task and Right Click and select Add to New Baseline

No alt text provided for this image


Give your baseline a name

No alt text provided for this image



You will see your fixlet added to the baseline but we will want to add our patches to the baseline by selecting add components to groups

No alt text provided for this image



Once the patch or patches are saved you can now Save your Baseline

No alt text provided for this image



Take Action of our newly created baseline

No alt text provided for this image



Select your targets you want to deploy the patches to

No alt text provided for this image



Select the Messages Tab

We will want to display a message before running action group

Type in a message to prompt your end users to close the application before they take action. 

Give the users a deadline and if they do not hit take action do you want it to run the action or keep a message up until they hit take action?

No alt text provided for this image


Hit OK to deploy your action


The end user will see a pop up notifying them of a BigFix action

No alt text provided for this image


Click on the Prompt will ask them if they want to take action

No alt text provided for this image

Once the action runs it will now close Outlook if it is running and also install the patch. You will see in your console the status of the action.

No alt text provided for this image

To view or add a comment, sign in

More articles by Brad Sexton

Insights from the community

Others also viewed

Explore topics