> ## Content Index
> Fetch the complete content index at: https://www.techielass.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Deploying Windows Update (.msu) with SCCM
- URL: https://www.techielass.com/deploying-windows-update-msu-with-sccm/
- Published: 2015-07-04T06:00:00.000Z
- Updated: 2023-12-06T08:34:28.000Z
- Description: In this blog post I share how to deploy Windows Update files using SCCM.
- Author: Sarah Lean
- Tags: ConfigMgr

I was recently packaging up an application for SCCM and one of the prerequisites of this application was that a Windows Update (.msu) had to be installed.

In order to package up this Windows Update and deploy it as an application I did the following:

- To silently install the update I ran the following command within the application deployment -**wusa.exe KBxxxxxx.msu /quiet /norestart**
- In the detection method tab, set the option to "Use a custom script to detect the presence of this deployment type" and select Edit
- Change the script so that it is set to Powershell and enter the following command -  
**get-hotfix | Where-Object {$\_.HotFixID -match "KBxxxxxx"}**

The deployment ran fine after that. If you have any execution errors from the script you can change the PowerShell Execution Policy to bypass the SCCM agent client settings.