It is important that you approve/download all CBS patches for the image you are intending on updating. If this is not approved when you attempt to schedule updates via offline servicing nothing new will be found. This was the problem at the customers site where the broken ADR was not downloading the required products. Once the patches were approved we was able to see over 100 patches could be add to the WIM in the screenshot below
The process of offline servicing basically takes your selected wim and creates a backup copy. Next the selected patches will be download to a key location and then DISM into the WIM. Once this completes successfully we would expect to see a larger sized wim and a backup copy of our original WIM
On the site server we can see the folder being created “ConfigMgr_OffineImageServicing” with the image (MOC00BE8) and individual GUIDs. At this point everything looks to be fine in the beginning of the process.
We can track this process from start to finish in the “OfflineServicingMgr.Log” located on the primary server.
We are only starting to see failures when trying to inject patches.
OfflineServicingMgr.LOG
“InstallUpdate returned code 0x800f082f
Failed to install update with ID 17242935 on the image. ErrorCode = 2095”
For these errors I recommend taking the steps below to the existing WIM or creating a copy of the WIM.
- Manually mount the image via DISM.
- Load the registry software key (from the image) onto your local system
- Find Registry Key HKLMMyKeyMicrosoftWindowsCurrentVersionComponent Based ServicingSessionsPending and set the “Exclusive” REG_DWORD value to “0”
- Unload the registry
- Commit changes to the WIM
- Reimport the WIm and perform offline servicing again
“DISM /Mount-Wim /WimFile:C:UsersH93-extraDesktop20170424V4.2_MRO_Win7_ENT_SP1_x64.wim /Index:1 /MountDir:C:UsersH93-extraDesktopMount”’
“Reg Load HKLMMykey C:UsersH93-ExtraDesktopMountWindowsSystem32ConfigSoftware”
We are now able to set the value to “0”
“Reg unload HKLMMykey”
“DISM /UnMount-Wim /MountDir:C:UsersH93-extraDesktopMount /Commit”
Whenever I manually modify the WIM i tend to compare the size of it. We can see below the slight change in size from our changes.
Now there are no more X64 updates available as the image is completely patched and ready for testing.We now are able to image new systems that are fully patched
Thank you , I was having the exact issue and was resolved by your post
Can you go into more detail on how you set the permissions on the key. I can't seem to get regedit to let me take ownership. Thanks.
The logic in this link should work for you to take ownership of the key.
https://www.maketecheasier.com/full-ownership-windows-registry-keys/
Thanks, resolved my issue.
Would it also be an option to get a fresh wim from the ISO and apply updates, Microsoft would potentially provided an updated ISO in their licensing center that would not require so many updates.
So I also tried a fresh wim with the same results which was odd. I did not try to download a fresh ISO and try it, so not sure if that would have resolved the issue or not.
I’m moving away from using the offline servicing and looking to start implementing OSDBuilder