Windows Updates from WSUS during SCCM OSD

Last updated on September 25th, 2021 at 09:30 pm

Read Time:54 Second

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.

Windows Updates from WSUS during SCCM OSD 1

About Post Author

A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over 12 years! IT expert in multiple areas for over 22 years. Sharing experience and knowledge whenever possible! Making IT Happen.
Click to rate this post!
[Total: 1 Average: 5]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 453 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.


Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Previous post Microsoft Orca MSI File
Microsoft Blue Logo Next post RSAT and RDCM for Windows 8