ConfigMgr Update error extracting updating package

Philip_W 41 Reputation points
2021-10-15T12:57:43.797+00:00

Hi All

I'm getting a strange error when trying to run Pre-requisite check on the 2107 update.

The logs seem to show it failing when trying to extract the update package to the folder in CMUStaging.

Delete folder \\?\C:\Program Files\Microsoft Configuration Manager\\CMUStaging\42E1CF6E-95A1-4A8D-96AD-311E6247B3FB\ returned 123. Extractring the content from content library...  CONFIGURATION_MANAGER_UPDATE    15/10/2021 13:34:02 3496 (0x0DA8)
CreateDirectoryW failed for \\?\C:\Program Files\Microsoft Configuration Manager\\CMUStaging\42E1CF6E-95A1-4A8D-96AD-311E6247B3FB\AUTORUN   CONFIGURATION_MANAGER_UPDATE    15/10/2021 13:34:02 3496 (0x0DA8)
CreateFolder failed; 0x8007007b CONFIGURATION_MANAGER_UPDATE    15/10/2021 13:34:02 3496 (0x0DA8)
CContentDefinition::ExpandContentDefinitionItems failed; 0x8007007b CONFIGURATION_MANAGER_UPDATE    15/10/2021 13:34:02 3496 (0x0DA8)
CContentDefinition::Expand failed; 0x8007007b   CONFIGURATION_MANAGER_UPDATE    15/10/2021 13:34:02 3496 (0x0DA8)
Failed to expand update package files from content library  CONFIGURATION_MANAGER_UPDATE    15/10/2021 13:34:02 3496 (0x0DA8)

I'm not sure what to do with this one, I've not seen it before and it's not listed in the known troubleshooting problems for ConfigMgr Updates. The parent directory "42E1CF6E-95A1-4A8D-96AD-311E6247B3FB" gets created but not the AUTORUN directory, I've tried making it manually but get the same error. The content seems to exist correctly in the corresponding EasySetupPayload folder.

Thanks in advance for any advice.

Microsoft Security | Intune | Configuration Manager | Updates
Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Phil Webb 6 Reputation points
    2022-01-13T16:28:40.277+00:00

    So after a lengthy amount of time spent troubleshooting with MS support. This issue turned out to be a result of the InstallDirectory value in the SC_SiteDefinition table having a \ at the end it should not have had. Removing the \ from the end of this value resolved the problem, after using the Update Reset tool to start the update process over.

    1 person found this answer helpful.

  2. Amandayou-MSFT 11,166 Reputation points
    2021-10-18T09:24:03.197+00:00

    Hi @Philip_W

    CreateDirectoryW failed for \?\C:\Program Files\Microsoft Configuration Manager\CMUStaging\42E1CF6E-95A1-4A8D-96AD-311E6247B3FB\AUTORUN

    Please check if there is files in the directory, if not, the issue may miss System and Administrators, we could add those in and gave them Full Control then the installation progressed as expected.

    Here is the similar post, please refer to this:
    https://social.technet.microsoft.com/Forums/en-US/f8aba9b6-2b18-4d84-8622-129d379d9032/upgrading-the-sccm-1802-to-1806-and-getting-failed?forum=ConfigMgrMigration


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Colin Ford 1,031 Reputation points
    2021-10-20T00:15:51.183+00:00

    Check your A/V on the server, they like to block anything Autorun.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.