Windows 11 is a powerful operating system, but it can sometimes run into frustrating issues. One of the most common problems users face is Error 0x80070005. This error code usually pops up when you try to update Windows, activate your system, or install new applications.
If you see this error, you are not alone. It can stop your computer from updating and leave your system vulnerable to security risks. The good news is that you can fix this issue easily. This comprehensive guide will walk you through the best methods to solve this problem for good.
Understanding Windows 11 Error 0x80070005
What is Error 0x80070005?
In the world of Windows, error 0x80070005 is also known as the “Access Denied” error. It typically happens when the system or a specific program does not have the required permissions to modify files or registry entries. Without these permissions, the task stops immediately, and the error code appears on your screen.
Common Triggers for the Error
There are a few main reasons why this error code appears on your system:
- Missing Permissions: Your user account does not have administrator privileges.
- Corrupted System Files: Crucial Windows files are damaged or missing.
- Antivirus Interference: Your third-party security software is blocking the operation.
- Windows Update Issues: The update files did not download correctly.
- Malware Infections: Harmful software has changed your system permissions.
| Error Detail | Information |
| Error Code | 0x80070005 |
| Common Name | Access Denied Error |
| Main Impact | Stops updates, app installs, and system activation |
| Risk Level | Medium to High (leaves system unpatched) |
Initial Quick Checks Before Troubleshooting
Before diving into complex solutions, try these quick fixes first. Sometimes, the simplest steps can solve the issue right away.
1. Switch to an Administrator Account
Since this is an “Access Denied” error, you must ensure you are using an administrator account. A standard user account cannot change deep system settings or install major updates.
2. Check Your Storage Space
Windows updates need a lot of free space to download and install. If your primary C: drive is nearly full, the system might trigger an error. Ensure you have at least 20 GB of free space on your main drive.
3. Disable Third-Party Antivirus Software
Antivirus programs can protect your PC, but they can also be too strict. They might block safe Windows update files by mistake. Try turning off your third-party antivirus tool for 15 minutes and run the update again.
| Preliminary Check | Expected Status | Why It Matters |
| Account Type | Administrator | Grants permission to change system files |
| Disk Space | At least 20 GB free | Prevents download and installation failures |
| Antivirus Status | Temporarily Disabled | Stops false alarms from blocking updates |
Comprehensive Solutions to Fix Error 0x80070005
If the quick checks did not solve the issue, follow these step-by-step methods. Start with the first method and work your way down.
Method 1: Use the Windows Update Troubleshooter
Windows 11 has a built-in tool designed to find and repair update problems automatically. This is the safest and easiest tool to use first.
1.Open Settings:Prerequisite: None.
Press the Windows Key + I on your keyboard to open the main Settings app.
2.Navigate to Troubleshoot:System Menu.
Click on System in the left sidebar, then scroll down and click on Troubleshoot on the right side.
3.Open Other Troubleshooters:Options Menu.
Select the option labeled Other troubleshooters to see the full list of tools.
4.Run Windows Update:Execution.
Find Windows Update at the top of the list and click the Run button next to it. Wait for the scan to finish and apply any recommended fixes.
| Troubleshooter Component | Action Performed | Benefit |
| Windows Update Service | Checks background status | Ensures the update engine is active |
| Network Connection | Tests access to Microsoft servers | Confirms updates can download safely |
| File Integrity | Scans temporary update folders | Clears broken download packages |
Method 2: Reset the Windows Update Components

Sometimes, the temporary folders where Windows downloads update files become corrupted. Clearing these folders forces Windows to download a fresh, clean set of files.
1.Open Command Prompt:Administrative Access.
Type cmd in the Windows search bar. Right-click on Command Prompt and choose Run as administrator.
2.Stop Background Services:Command Line.
Type the following commands one by one, pressing Enter after each:
- net stop wuauserv
- net stop cryptSvc
- net stop bits
- net stop msiserver
3.Rename the SoftwareDistribution Folders:File Modification.
Type these two commands to rename the update folders, pressing Enter after each:
- ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
- ren C:\Windows\System32\catroot2 catroot2.old
4.Restart the Services:Re-activation.
Turn the background services back on by typing these commands, pressing Enter after each:
- net start wuauserv
- net start cryptSvc
- net start bits
- net start msiserver
| Folder Name | Original Function | Status After Reset |
| SoftwareDistribution | Stores temporary update files | Recreated automatically with clean files |
| Catroot2 | Stores update signatures | Rebuilt to fix verification errors |
Method 3: Run SFC and DISM Scans
Corrupted system files can block update processes and cause access errors. Windows includes two powerful command-line utilities to scan and repair these files automatically.
1.Launch Elevated Command Prompt:Admin Mode.
Open the Windows search bar, type cmd, and select Run as administrator.
2.Execute the DISM Scan:System Image Repair.
Type the following command and press Enter:
DISM.exe /Online /Cleanup-image /Restorehealth
Note: This process may take several minutes as it downloads healthy files from Microsoft servers.
3.Execute the SFC Scan:File Verification.
Once the DISM scan reaches 100%, type this command and press Enter:
sfc /scannow
4.Restart Your Computer:Apply Changes.
After the scan finishes, close the window and restart your PC to apply the repairs.
| Scan Tool | Primary Target | How It Helps |
| DISM Tool | Windows System Image | Repairs core system components using cloud data |
| SFC Tool | Individual Local Files | Replaces damaged individual files with healthy ones |
Method 4: Fix Permission Settings via SubInACL
If the error is caused by broken registry permissions, you can reset them to default using a script or manual command configuration. However, modifying permissions across the whole drive is easier using the Windows command line tool icacls.
1.Open Admin Command Prompt:Admin Mode.
Type cmd in your search bar, right-click it, and select Run as administrator.
2.Reset File Permissions:Command Execution.
Type the following command into the window and hit Enter:
icacls “C:\Program Files\WindowsApps” /reset /t /c /q
3.Wait for Process Completion:Processing.
Let the command run through all files. It will reset the security tags to default. Close the window when finished.
| Command Parameter | Meaning | Purpose |
| /reset | Replace with default permissions | Removes broken access locks |
| /t | Perform action on all sub-folders | Cleans everything inside the path |
| /c | Continue even if access errors occur | Prevents the tool from stopping early |
| /q | Quiet mode | Speeds up the process by hiding success logs |
Method 5: Clear the Windows Store Cache
If you encounter this error while installing apps from the Microsoft Store, clearing the application store cache usually removes the obstacle.
1.Open the Run Box:Keyboard Shortcut.
Press the Windows Key + R at the same time to launch the Run dialog box.
2.Type the Reset Command:Execution.
Type wsreset.exe into the empty text field and click OK.
3.Wait for the Blank Window:Processing.
A blank Command Prompt window will appear. Do not close it. It will disappear automatically when the cache is empty.
| Action | Target Component | Result |
| wsreset.exe Execution | Microsoft Store Local Cache | Wipes temporary database blocks |
| Automated Relaunch | Microsoft Store Application | Launches a clean session connected to the cloud |
Method 6: Change Windows Update Group Policy Settings
Sometimes Local Group Policy settings accidentally block updates. This method applies to Windows 11 Pro, Enterprise, and Education users.
1.Open Group Policy Editor:System Configuration.
Press Windows Key + R, type gpedit.msc, and press Enter.
2.Navigate to Windows Update:Folder Path.
Go to: Computer Configuration > Administrative Templates > Windows Components > Windows Update.
3.Manage Developer Choices:Policy Adjustment.
Click Manage end user experience, then double-click Configure Automatic Updates.
4.Enable the Policy:Save Settings.
Select Not Configured or Enabled, click Apply, and select OK.
| Policy Option | Recommended State | Effect on Error |
| Configure Automatic Updates | Not Configured / Enabled | Lets Windows handle update files automatically |
| Specify Intranet Service Location | Not Configured | Prevents routing errors to broken network nodes |
Method 7: Perform a Clean Boot
Background applications like game launchers, tuning software, or hardware monitors can conflict with Windows Update services. A clean boot starts Windows with only essential drivers.
1.Open System Configuration:Utility Access.
Press Windows Key + R, type msconfig, and press Enter.
2.Hide Microsoft Services:Safety Check.
Go to the Services tab. Check the box next to Hide all Microsoft services. Warning: Missing this step might disable critical systems.
3.Disable Remaining Services:Configuration.
Click the Disable all button to turn off third-party app services.
4.Disable Startup Tasks:Task Manager.
Go to the Startup tab, click Open Task Manager, right-click every active startup item, and choose Disable. Close Task Manager, click Apply in the main window, and restart.
| Boot Mode | Active Processes | Troubleshooting Value |
| Normal Boot | Microsoft + Third-Party Services | High risk of background program conflict |
| Clean Boot | Microsoft Core Services Only | Isolates system update bugs instantly |
Frequently Asked Questions (FAQ)
What does error code 0x80070005 mean?
It is a permission error code used by Windows. It shows that the operating system or a running application does not have the required access permissions to open or modify a file or folder.
Can malware cause the 0x80070005 error?
Yes. Certain viruses can change system settings or security permissions. This blocks your account from getting into mandatory directories. Run a full security scan with Windows Security if you suspect malware.
Why do I get error 0x80070005 in the Microsoft Store?
This happens when the local cache folder of the Microsoft Store is corrupted or lacks permission to save new app data. Running the wsreset.exe tool usually fixes it.
Will fixing this error delete my personal files?
No. The common troubleshooting steps like running troubleshooters, repairing system files, or resetting update folders do not delete personal files, photos, or documents.
What should I do if none of these steps work?
If everything fails, you can perform a Windows 11 In-Place Upgrade. This reinstalls Windows core files completely without removing your personal data or installed software.
Final Words
Windows 11 Error 0x80070005 can look scary because it locks you out of updates, but it is highly fixable. Most users solve it by running the built-in Windows Update Troubleshooter or clearing the corrupted SoftwareDistribution folder. Keeping your computer clean, updating drivers regularly, and using an administrator account will prevent this problem from coming back. Take your time, follow the steps carefully, and enjoy a smooth, updated Windows 11 experience.















