Windows Updates from WSUS during SCCM OSD

I’ve recently had a situation where I needed to install Windows Updates as part of the OSD process. However, the updates had to be run directly from the local WSUS server rather than from SCCM built in software updates solution. To do this, all you need to do is to install and integrate MDT. Once […]

Windows Updates From Wsus During SCCM Osd

I’ve recently had a situation where I needed to install Windows Updates as part of the OSD process. However, the updates had to be run directly from the local WSUS server rather than from SCCM built in software updates solution.

To do this, all you need to do is to install and integrate MDT. Once you have done this you will have the option to use the scripts within MDT, the script that we are looking at using for this process is:

  • ZTIWindowsUpdate.wsf

To make this work, you need to add the following steps to your task sequence towards the end of the sequence:

  • Use MDT Package
  • Set Task Sequence Variable
  • Run Command Line
  • cscript.exe “%SCRIPTROOT%\ZTIWindowsUpdate.wsf”

The Use MDT Package speaks for itself, this is to make the MDT toolkit available to the task sequence, then the variable that you need to set in the Set Task Sequence Variable is dependent on your WSUS server.

Then the command line that you need to run is: This should then install all required updates from your specified WSUS server.

🛠️

Gear We Recommend

Testing configs is easier with a dedicated admin machine set up right. Here’s the kit we use.

Browse our Windows Admin Toolkit picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Active Directory, PowerShell, and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published over 1,500 practical guides covering real-world IT problems and solutions. When not solving IT problems,

Andrew develops free Windows utilities including Ultimate Settings Panel, which has been downloaded over 850,000 times.