Offline Component Based Servicing Fails With 0x80070005
I have recently identified an issue when applying patches through component based servicing in ConfigMgr 2012 that the process fails with the common error code 0x80070005 (access denied).
Update: I have updated this post with some new information.
Detecting the presence of this issue should be simple, look through OfflineServicingMgr.log and look for the following:
Applying update with ID 16803254 on image at index 1.
Failed to install update with error code 5
InstallUpdate returned code 0x80070005
The problem I found was with the anti virus product. In this case McAfee seems to think that the host OS is getting patched and protects the system and blocks the updates from applying to the mounted image. Simple resolution here to get it working was to stop the three services McAfee Framework Service, McAfee McShield and McAfee Task Manager.
I ran the process again and it works perfectly. For a more permanent resolution the image is mounted to a directory ConfigMgr_OfflineImageServicing, simply add a exclusion to the on access protection and it works fine with anti virus running.