Menu
CCMEXEC.COM – Enterprise Mobility
  • Home
  • General
  • Configuration Manager
  • Windows 10
  • Intune
  • GitHub
  • Windows 11
  • About the author
CCMEXEC.COM – Enterprise Mobility

Tips when building images with ConfigMgr 2012 – Part 2

Posted on September 6, 2013October 24, 2013 by Jörgen Nilsson

To follow up on my last post on building images with Configuration Manager 2012 I thought I would cover the scenario where you need to pull the updates from either WSUS or Windows Update instead of using Configuration Manager for installing the updates.

Chris Nackers wrote a great post on how to run ZTIWindowsUpdate.wsf from MDT standalone in Configuration Manager to install updates from a WSUS server. http://myitforum.com/cs2/blogs/cnackers/archive/2011/04/28/using-ztiwindowsupdate-wsf-to-install-updates-in-a-system-center-configuration-manager-task-sequence.aspx

The same script can be used to install updates from Windows Update following the guide above, when doing that here are some good tips.

1. Exclude updates
When excluding updates when the script is used in MDT, the excluded updates are configured in Customsettings.ini file, when using the script in Configuration Manager 2012 you can set them as variables in the Task Sequence instead.
Each exclusion needs a new variable and the value can be either the ArticleID or the KB number. Below is an example on how to block the browser choice, which is a big pain in the European Union, note that the KB should be written with the KB number only.

ExcludeWUMU

Other useful updates that can be interesting to block:

Bing Bar version 7.2 : KB2673774
Browser Choice: KB976002
Internet Explorer 10: KB2718695

2. Use a Proxy server
In some scenarios you need to use a proxy to be able to use Windows Update during the task sequence, when the script is run when using MDT this script can be used: http://blogs.technet.com/b/deploymentguys/archive/2010/11/30/using-the-mdt-windows-update-tasks-in-image-engineering.aspx however when you use Configuration Manager there is no logged on user we need to use Netsh Winhttp Set Proxy

Before running the ZTIWindowsUpdate.wsf step it would look like below.

WindowsUpdate1And after running the ZTIWindowsUpdate.swf step we remove the Proxy settings.

WindowsUpdate2

3. Windows 7 sp1 Hotfixes: Don’t forget to include the Windows 7 sp1 Enterprise Hotfix Rollup in your image:http://support.microsoft.com/kb/2775511 and the Management Framework 3.0 which includes support for Powershell 3.0 http://support.microsoft.com/kb/2506143 in your image. I normally install more hotfixes as well.

4. Copy CMtrace to all computers: I always copy Cmtrace to C:\windows during the build of my images as I always end up missing it otherwise.

Happy image building!

4 thoughts on “Tips when building images with ConfigMgr 2012 – Part 2”

  1. Pingback: Exclude .Net Framework 4.5.1 building images using Windows Update - CCMEXEC.COM – System Center blog
  2. Pingback: Task Sequence environment not found – OSD Install Windows Updates
  3. Pingback: Dealing with ‘multiple-reboot’ patches during OSD | smsagent
  4. Pingback: Excluding .Net Framework 4.6.1 when building a reference image - CCMEXEC.COM – System Center blog

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

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

My name is Jörgen Nilsson and I work as a Senior Consultant at Onevinn in Malmö, Sweden. This is my blog where I will share tips and stuff for my own and everyone elses use on Enterprise Mobility and Windows related topics.
All code is provided "AS-IS" with no warranties.

Tweets by ccmexec

Recent Posts

  • Windows Servicing, Personal Teams and Success.cmd
  • Windows MDM Security Baseline – Settings Catalog
  • Configuring MS Edge Security Baseline v107 using Settings Catalog
  • Configuring Desktop App Installer using CSP and script?!
  • Customizing Taskbar and Start in Windows 11 22h2 with PowerShell

©2023 CCMEXEC.COM – Enterprise Mobility | WordPress Theme by Superb Themes
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT