Forum Discussion

Evans_Huang's avatar
Evans_Huang
Copper Contributor
Nov 10, 2023

MDT Failed to upgrade existing WIN 11 21H2/22H2 to 23H2

I tried to upgrade existing PC configured with WIN11 21H2 or 22H2 to 23H2 without good luck. 

 

Error code 0x80004005.

 

Can anyone Tell me what the error means and how i can fix it?

 

 

MDT deployed WIN11 23H2 failed

 

2 Replies

  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi Evans_Huang,

    When encountering error code 0x80004005 during a Windows upgrade, typically denoting an "Access Denied" issue, it's a broad error with varied potential causes. You can use this steps to troubleshoot the issue:

    1. Run Windows Update Troubleshooter:
    - Access Settings.
    - Navigate to Update & Security.
    - Opt for Troubleshoot in the left pane.
    - Execute the Windows Update Troubleshooter.

    2. Check Disk Space:
    - Verify adequate free space on the system drive, usually C:.
    - Windows updates demand a specific amount of free space for successful installation.

    3. Disable Antivirus/Firewall:
    - Temporarily disable antivirus and firewall to prevent interference during the upgrade.

    4. Run SFC and DISM:
    - Open Command Prompt as an administrator.
    - Execute 

    sfc /scannow

    to scan and repair corrupted system files.
    - Follow up with

    DISM /Online /Cleanup-Image /RestoreHealth

    to address component store corruption.

     

    5. Manually Download and Install the Update:
    - Explore the Microsoft Update Catalog (https://www.catalog.update.microsoft.com/Home.aspx).
    - Search for your specific update and manually download it for installation.

    6. Reset Windows Update Components:
    - Open Command Prompt as an administrator.
    - Execute a series of commands to stop services, rename folders, and restart services.

      net stop wuauserv
      net stop cryptSvc
      net stop bits
      net stop msiserver
      ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
      ren C:\Windows\System32\catroot2 catroot2.old
      net start wuauserv
      net start cryptSvc
      net start bits
      net start msiserver

     

    7. Check Permissions:
    - Ensure the user account possesses sufficient permissions, specifically administrative privileges.

     

    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

Resources