Close Menu
    Facebook X (Twitter) Instagram
    Trending
    • Workplace Ninja User Group Denmark – April 2026 Meetup
    • Workplace Ninja User Group Denmark March 2026 Meetup
    • Workplace Ninja User Group Denmark February 2026 Meetup
    • Successful Adoption of a “Cloud First” Strategy
    • Speaking at Nordic Virtual Summit
    • Workplace Ninja User Group Denmark February Meetup
    • Workplace Ninja User Group Denmark Meetup – May 2022
    • Workplace Ninja User Group Denmark Meetup – April 2022
    RONNIPEDERSEN.COM
    • Home
    • Enterprise Mobility
      • Configuration Manager
      • Identity and Access
      • Information Protection
      • Intune
    • Cloud and Data Center
      • Data Center Management
      • Group Policy
      • Enterprise Security
      • Hyper-V
      • PowerShell
    • Guides
    • Webcasts
    • Links
    • About
      • Contact me
      • Disclaimer
    RONNIPEDERSEN.COM
    You are at:Home»Enterprise Mobility»Configuration Manager»SCCM 2012 – Offline Service for OS Images

    SCCM 2012 – Offline Service for OS Images

    34
    By Ronni Pedersen on March 13, 2012 Configuration Manager, Enterprise Mobility, Windows Deployment

    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 Systems – Operating System Images, select the Image that you wish to update, and click Schedule Updates from the ribbon.

    clip_image002

    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.
        Click

    Next

      .

    clip_image003

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

    clip_image004

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

    clip_image005

    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).

    clip_image006

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

    clip_image007

    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.

    clip_image008

    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 Systems – Operating System Images.

    clip_image010

    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.

    clip_image012

    Happy patching Smiley

    +Ronni Pedersen

    • Tweet
    • Share 0
    • +1
    • LinkedIn 0

    Related

    Ronni Pedersen
    • Website
    • Facebook
    • X (Twitter)
    • LinkedIn

    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.

    Related Posts

    Speaking at Nordic Virtual Summit

    Workplace Ninja User Group Denmark February Meetup

    Speaking at Modern Endpoint Management Summit 2022

    34 Comments

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

    2. Mike Gullak on May 25, 2012 16:51

      Great article, do you know if you can inject Service Pack updates via this method?

      Reply
      • Ronni Pedersen on May 30, 2012 21:10

        No. You use this method for service packs.
        Today a service pack is very rare. Build a New image everytime a New SP is released.

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

    4. Francois-Xavier Cat on November 11, 2012 22:49

      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

      Reply
      • Ronni Pedersen on November 11, 2012 22:57

        That’s a very good question!
        And the answer is even better… You’ll only need to send the 50 MB to all your DP’s… 🙂

        Reply
        • Francois-Xavier Cat on November 13, 2012 05:52

          Wow that’s awesome! 😀

          Can’t wait to migrate to sccm2012

          Thanks Ronni!

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

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

    7. Jesper on February 20, 2014 23:26

      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

      Reply
      • Ronni Pedersen on March 1, 2014 16:41

        Not that I know of… But the process can be made very simple by using the MDT LiteTouch and then use the suspend feature just before you capture the media.

        Reply
        • Jesper on March 3, 2014 16:32

          but then i would have to maintain a 2nd WSUS server for MDT to connect to right?

          Reply
    8. Luis on August 5, 2014 23:00

      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?
      thanks

      Reply
      • Ronni Pedersen on August 11, 2014 23:07

        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.

        Reply
    9. Brandon K. on December 16, 2014 17:00

      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!

      Reply
      • Ronni Pedersen on December 18, 2014 21:35

        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 🙂

        Reply
    10. Jay on June 2, 2015 14:11

      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.

      Reply
      • Ronni Pedersen on June 15, 2015 22:32

        What OS version and SCCM version are you running?

        Reply
    11. Alex on June 19, 2015 15:02

      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

      Thanks

      Reply
    12. Tom Floor on July 8, 2015 11:34

      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?

      Reply
      • Ronni Pedersen on August 13, 2015 14:08

        It will stay there! But every time you run the process it will overwrite the backup.

        Reply
        • Brian Ortega on March 14, 2017 19:22

          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!

          Reply
          • Ronni Pedersen on March 14, 2017 19:33

            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 🙂

            /Ronni

            Reply
    13. Ales Rajh on September 24, 2015 16:36

      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 = E:ConfigMgr_OfflineImageServicingead0f6cb-fabe-4d89-8edc-4868abf58042windows6.1-kb3019215-x86.cab. $$
      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” SYS=SRV-NT9009.corp.krka.biz 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

      Reply
    14. Theis Skov on October 9, 2015 07:43

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

      regards

      Reply
      • Ronni Pedersen on November 10, 2015 20:51

        No. What version of SCCM are you using?

        Reply
        • Theis Skov on November 11, 2015 07:45

          sccm 2012 r2 sp1

          Reply
          • Jesper on November 11, 2015 14:56

            you have to add the new OS to the products to download patches for.
            Administration > Site Configuration > Sites > [Select SCCM 2012 SUP site] > Configure Site Components > Software Update Point

            Reply
            • Theis Skov on November 12, 2015 08:36

              That i have.
              i roll out updates to windows 10 like i do to windows 7/8.1. It’s when i try to make an schedule on the image it self, it only lists windows 8 updates.

              windows 7: https://www.dropbox.com/s/6c0rltby4la3wiq/windows7.png?dl=0
              windows 10: https://www.dropbox.com/s/aqp9tg1h5eez4v3/windows10.png?dl=0

    15. Parth on August 22, 2016 11:46

      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?

      Reply
    16. Rodrigo on July 3, 2017 15:25

      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?

      Reply
      • Ronni Pedersen on July 3, 2017 15:36

        Hi,
        After the new Windows 10 Update model, I dont see the value with offline servicing so I’ve stopped using it. So I haven’t seen the issue you describe.

        Reply
        • Rodrigo on July 3, 2017 15:44

          Ok, Thank you.

          Reply
    17. dj3094 on March 7, 2019 15:04

      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?
      Thanks

      Reply
    Leave A Reply Cancel Reply

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

    Follow
    APENTO

    Follow APENTO here:

    Subscribe to Blog via Email

    Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    About
    My name i s Ronni Pedersen and I'm currently working as a Cloud Architect at APENTO in Denmark. My primary focus is Endpoint Management and Security, based on Microsoft technologies. I'm also a Microsoft Certified Trainer and a dual Microsoft MVP in both Security and Windows.
    Recent Posts
    • Workplace Ninja User Group Denmark – April 2026 Meetup
    • Workplace Ninja User Group Denmark March 2026 Meetup
    • Workplace Ninja User Group Denmark February 2026 Meetup
    • Successful Adoption of a “Cloud First” Strategy
    • Speaking at Nordic Virtual Summit
    Archives
    TOP POSTS
    • SCCM 2012 R2: Where is the SMSTS.log located?
    • Missing “UserType” attribute in Azure AD
    • Find the TimeZoneName for your SCCM/MDT Deployments
    • Windows Vista Pre-Build VHD available for download
    • HOW-TO: Sequence applications using App-V 5 for SCCM 2012
    RECENT COMMENTS
    • cOSHi on Missing “UserType” attribute in Azure AD
    • Gus on Pro Tip: Use Ctrl+Alt+D from the Azure Portal to get performance information
    • Sebi on Prepare for Co-Management: Migrate Intune Devices without user affinity
    • Vadim P on SCCM: Failed to Get Client Identity (80004005)
    • TM on Active Directory Based Activation in an multi domain environment
    DISCLAIMER
    The content on this website is presented "as-is" with no guarantees. The use of scripts from this website is at your own risk. Always test before putting something in production! Opinions expressed are my own.
    © 2026 ThemeSphere. Designed by ThemeSphere.

    Type above and press Enter to search. Press Esc to cancel.