When you attempt to download a major feature update via Windows Update, the process might suddenly halt, displaying a red warning flag and the cryptic error code 0x80070005. In Microsoft’s error terminology, this specific hexadecimal string translates directly to “Access Denied.”
This error occurs when the Windows Update service lacks the necessary administrative permissions to replace critical system files, or when a third-party antivirus program aggressively locks down the installation folder. To fix this, you must grant yourself full control of the hidden Software Distribution folder where updates are downloaded, and manually reset the Windows Update components.
How to Fix the Windows 11 0x80070005 Access Denied Error
You can use a built-in command-line tool called SubInACL (or standard PowerShell commands) to reset folder permissions, but the most reliable method for most users is to use the built-in Troubleshooter combined with an administrative reset.
- Click the Start button, type cmd, and click Run as administrator on the right side of the search menu. (Click “Yes” on the UAC prompt).
- You must stop the core update services so the locked files are released. Type the following commands, pressing Enter after each one:
net stop wuauservnet stop cryptSvcnet stop bitsnet stop msiserver - Next, you must rename the locked update folders so Windows is forced to create brand new, properly permissioned folders. Type these commands, pressing Enter after each one:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.oldren C:\Windows\System32\catroot2 catroot2.old - Finally, restart the update services by typing these commands, pressing Enter after each one:
net start wuauservnet start cryptSvcnet start bitsnet start msiserver
Close the Command Prompt window and restart your computer. When Windows 11 boots back up, open the Settings app, navigate to Windows Update, and click “Check for updates.” The service will create fresh download folders with the correct administrative permissions, bypassing the Access Denied error and allowing the update to install smoothly.