Forum Discussion
MDT Failed to upgrade existing WIN 11 21H2/22H2 to 23H2
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)