Offline Servicing Fails While Updating OS Image

Today I wanted to install new updates on existing images on SCCM. Software Library> Operating Systems>Operating System Images> Right click on the image>Schedule Updates. Sometime later, Schedule Updates Status failed with the message:

Failed to apply one or more updates

 

 

I checked the OfflineServicingMgr.log and see the error:

Failed to remove previously existing staging folder C:\ConfigMgr_OfflineImageServicing

 

So, It can not clean the previously mounted folder and I need to manually clean and unmount this folder to resolve the issue.

 

Resolution:

Open Command Prompt with the admin privileges, 

Run these commands on the server

dism /get-MountedWiminfo             

dism /cleanup-wim

dism /cleanup-mountpoints

Reboot the server. Make sure you reboot the server. If you don't, you will have same problem again.

 

And finally OfflineServicingMgr.log looks fine.

© selimatmaca.com. All Rights Reserved.