Quantcast
Channel: System Center Dudes
Viewing all articles
Browse latest Browse all 410

Inject Software Updates in your WIM using SCCM Offline Servicing

$
0
0

Offline Servicing in SCCM is the process through which you can inject software updates in your operating system WIM files.

This process can alleviate your build and capture yearly/bi-yearly WIM updates that you most likely run in your enterprise. However, as much as this process is great to shorten your gold image updates, it’s still not perfect. Why? The answer is quite simple. Even if your gold image contains products such as Microsoft Office, offline servicing will not apply Office patches even though these are downloaded to your Software Update Point. Only core Windows applications can get patched through this process.

What are the type of core applications that you can apply patches to? Obviously, Windows, Internet Explorer, .Net Framework and so on and so forth. (also called CBS, for Component Based Servicing)

SCCM Offline Servicing Overview

Here’s what happens in the background when you start the SCCM Offline servicing process :

  1. SMS_Executive starts the SMS_Offline_Servicing_Manager either via a schedule or manually, depending on how you configured it
  2. SCCM copies your WIM in a temporary folder
  3. The WIM gets mounted (or extracted if you will) to a mount directory
    • By using DISM the Offline Servicing will attempt to see if a given software update is applicable (installed or not) to your WIM file. If not, it injects it
  4. This gets repeated for all software updates
  5. The image gets unmounted and the WIM is rebuild
  6. A backup of the WIM is created
  7. The new WIM gets copied back to its original location
  8. Your distribution point gets updated (if you chose to update them) or else, you should plan to update them

How to Initiate SCCM Offline Servicing

So now that we have all this theory explained, let’s get our hands dirty. How do we actually do this?

  • From the SCCM console, navigate to Software Library / Operating System / Operating System Images
  • Right click on your image you wish to inject patches to and choose Schedule Updates

sccm offline servicing

  • You can either choose to select all software updates or only a subset. Make sure the correct architecture is selected for your Wim and click Next 

sccm offline servicing

  • Set a Schedule if you want to plan ahead, if not, choose As soon as possible. To your choosing, select to Continue on error and Update the distribution points with the image, click Next

sccm offline servicing

  • Validate your selections and click Close

sccm offline servicing

Monitoring

You can monitor the process via 3 log files :

  • OfflineServicingMgr.log  – ConfigMgrInstallPath\Logs

You can refer to the high level steps above to match the numbers in the screenshots with the steps

  • SMS_Executive calls SMS_OFFLINE_SERVICE_MANAGER (1)

sccm offline servicing

  • A backup is taken (2)

sccm offline servicing

  • WIM file gets mounted (3)

sccm offline servicing

  • Updates get applied (4)

sccm offline servicing

  • WIM gets unmounted (5)

sccm offline servicing

  • The backup copy is moved (6)

sccm offline servicing

  • WIM gets copied back (7)

sccm offline servicing

  • DISM.log  – Windows\Logs\Dism\DISM.log

You can also view the details of what DISM does patch per patch in this log. Take heed though, DISM.log tends to be very chatty/verbosy.

  • DistMgr.log – ConfigMgrInstallPath\Logs

To view your WIM file get distributed on all your DPs.

Here’s to hoping this clears up the whole Offline Servicing for you all!

The post Inject Software Updates in your WIM using SCCM Offline Servicing appeared first on System Center Dudes.


Viewing all articles
Browse latest Browse all 410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>