Windows Updates from WSUS during SCCM OSD

TGH Blank Thumbnail
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
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, as an example:
Then the command line that you need to run is:
  • cscript.exe “%SCRIPTROOT%ZTIWindowsUpdate.wsf”
This should then install all required updates from your specified WSUS server.

Free Subscription!Subscribe to our site to receive updates via email!

Enter your email address below and click the Subscribe button to receive email notifications about new and exciting downloads available through our website at https://www.techygeekshome.com

You will also receive notifications about new technical guides, latest news and MSI installer downloads that are available through our blog here at https://blog.techygeekshome.info 

We will not spam you and we will not pass on any of your details to anyone else. We tend to post new content once or twice a week.

Join 143 other subscribers

You can unsubscribe any time you like.

About A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over eight years! IT expert in multiple areas for over 20 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by A.J. Armstrong

Leave us a message...

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