SCCM 2012 – Offline Service for OS Images


OS Deployment and patch management has always been big challenge for many admins around the world. Not just the testing, but also to get the customer image patched made many ConfigMgr admins a lot older Smiley.

One of the new features in ConfigMgr 2012 allows you to apply updates to an OS image that’s been imported to the ConfigMgr 2012 library. This feature only supports “Component Based Servicing” (CBS) updates, and can be applied to Windows Vista and above.

To use this feature, navigate to Software Library -> Overview -> Operating SystemsOperating System Images, select the Image that you wish to update, and click Schedule Updates from the ribbon.


On the choose Updates page, you can select the updates that you wish to add to your image. The list only contains updates that meets the following criteria:

  • CBS Updates
  • The updates must be deployed in the ConfigMgr 2012 environment.
  • The updates have not been applied to the image file.




Select a time for the servicing to occur, and click Next.


Review the summary page, and click Next. (and then Finish).


So… What happens under the hood ?

First the *.wim file and the selected updates are copied from the content library to a temp folder (D:\ConfigMgr_OfflineImageServicing). To speed up the build process, you might want to exclude this folder in your anti-malware scanner.

The wim files gets mounted in the temp folder, and the updates are applied (using DISM). If the *.wim contains more than one image, all images in the *.wim file will get the updates applied.

If the process complete successfully, the wim is restored to the package source. The original copy of the .wim file is saved as a backup copy (*.wim.bak).


After the process is completed, the update status can be viewed from within the console.


To view the updates that are applied to an image, select the image and click Properties (in the ribbon), and select the Installed Updates tab.
Only updates that’s installed through the Offline Service feature, will be displayed here.


When everything is complete, and you’re happy with the result, you still need to perform an “Update Distribution Point” action on the image, in order to get the new updated image deployed to your clients.


Monitoring and Troubleshooting

You can monitor the update process a couple of different places.

In the console. Software Library -> Overview -> Operating SystemsOperating System Images.


Most ConfigMgr admins love the log files Smiley, and this process has a log file too (OfflineServicingMgr.log).
This log file is very useful, and are also great for troubleshooting.
Notice that the commit changes process was almost an hour, so please be patient when you test this feature in your lab.


Happy patching Smiley

+Ronni Pedersen

About Author

My name is Ronni Pedersen and I'm currently working as a Cloud Architect at APENTO in Denmark. My primary focus is Enterprise Client Management solutions, based on technologies like AzureAD, Intune, EMS and System Center Configuration Manager. I'm is also a Microsoft Certified Trainer and Microsoft MVP in Enterprise Mobility.


  1. Pingback: Eswar Koneti's Blog » Blog Archive » SCCM 2012–Offline Patching for OS images

  2. Pingback: Building an image - "Windows is not genuine" - Page 2

  3. Thank you, Great Article!!

    Quick question,
    Lets say my WIM file is 4GB and the updates added are 50MB.
    when you “update” your distribution points. Does it copy the full WIM file again everywhere or just the part that have been changed ?

    Thank you

  4. Pingback: ConfigMgr 2012 Offline Servicing of Captured WIM Images « Brady's Contentious Blog

  5. Pingback: Offline Servicing: Failed to install update with error code 5 #sysctr | System Management

  6. Ronni, is there any way to apply the non Component Based Servicing patches into the WIM file without having to rebuild the WIM every month or slowing down the deployment time by adding install updates in the task sequence

  7. Can you update an whole image or just the OS? So let’s say you build a specific image for all sales laptops. This image will include programs that are specific tothat role, would we be able to update all programs and OS at the SCCM level or would we have to capture a new image?

    • Hi Luis,
      Offline Patching does not support update of applications. Only CBS updates can be updated using this method.
      So yes. In this case you would have to run a new build and capture.

  8. Ronni,

    Say there was a bad update – that didn’t manifest itself except in rare circumstances – and we wanted to remove it from image in SCCM. Is there a way to do this within SCCM or should we just do it via DISM? Thanks!

    • It’s been a while since I wrote this blog post, and when the feature came out I loved it…
      However… I’ve stopped using this feature for many reasons.
      1. It only support CBS updates.
      2. From time to time I’ve seen that images are broken from this feature
      So today I’d recommend that you use MDT lite touch to rebuild the image from scratch every time (use a dedicated WSUS server).
      It’s simple and it always works 🙂

  9. Hello,

    I am trying to apply updates to one of my images and no matter how many updates I chose the update fails with an error: Failed to find required disk space for image servicing. I cannot figure out why. Any suggestions? Thank you for your time.

  10. Hi Ronni,

    I followed the guide all went smoothly up to when it started to update, it comes up with “failed to mount the image on the system”.
    running SCCM 2012 R2 deploying windows 7 ent


  11. Ronni, what happens to the install.wim.bak file after the offline servicing is done? Does it stay on the source location forever, or is it removed after a while, or is it replaced by the install.wim when offline servicing is performed again?

      • Brian Ortega on

        I know it’s been a while since this blog was written but I hope it’s still monitored because I have a question about this file. It appears as if this install.wim.bak file is included in the package and deployed to machines with the upgrade package. Is it possible to exclude it from the package? It essentially doubles the package size to about 8 GB!

        • Hi Brian,
          I fully understand the problem, but don’t have a great solution to this problem.
          A simple workaround would be move the *.bak to another folder, before updating the package.
          This can be scripted/automated pretty easy.

          Good thing is that when you move to Windows 10, you don’t need this feature anymore 🙂


  12. I have updated WIM file with the patches. Status was Successful. After that I have deployed computer and add computer to our software update collection to get also other updates.
    I have recognized in wuahandler.log that the same patches are missing that I have previously add offline to the WIM file.
    For example KB3019215

    Offline added to the WIM OfflineServicingMgr.log

    Applicability State = APPLICABLE, Update Binary = $$
    Applying update with ID 16931874 on image at index 1. $$
    STATMSG: ID=7908 SEV=I LEV=M SOURCE=”SMS Server” COMP=”SMS_OFFLINE_SERVICING_MANAGER” SITE=CP1 PID=24656 TID=16196 GMTDATE=tor sep 22 11:24:35.133 2015 ISTR0=”16931874″ ISTR1=”CP100137″ ISTR2=”1″ ISTR3=”” ISTR4=”” ISTR5=”” ISTR6=”” ISTR7=”” ISTR8=”” ISTR9=”” NUMATTRS=0 $$
    This update binary was successfully updated on the mounted image. $$

    Later on computer in Wuahandler.log

  13. When i try to make a schedule for my windows 10 image, it only lists windows 8 updates? Do You know why?


  14. Hi I do not get any list of patches when i select schedule updates for windows 2012 R2. I have already done the synchronize software updates and have created software update groups for 2012 R2. Do i need to select the index of the OS that we wish to update?

  15. Hello, Ronni
    I’m having a problem at the moment of the updates of my Windows 10 image (1703), the whole process is occurring correctly (mounts the image and applies the 3 updates) however at the time of closing the image with the updates the following error occurs :
    – UnMounting Image (Commit Changes = 1) …
    – WIM :: UnMountWIMImage returned code 0x80070780
    – UnMountImage returned code 0x80070780
    – Image UnMount failed with error 1920
    – Completed processing image package xxx002D5. Status = Failed
    – Updated history for image package xxx002D5 in the database
    – Schedule processing failed

    What I understand is that he has the right to mount and apply the updates but when closing the image is not allowed. Have you seen anything like it?

  16. Hello Ronni,
    great post, I see the log file and wim is being copied to D:\ConfigMgr_OfflineImageServicing folder but on primary site i dont see that.
    Any suggestions?

Leave A Reply

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