Fix Error 0x80070005 on Windows 11 (Update, Store & Xbox)

Getting error 0x80070005 while installing a Windows 11 update, downloading an Xbox Game Pass title, opening Microsoft Store, or updating NVIDIA drivers? This error means that Windows or an application has been denied access to a file, folder, registry key, or other protected resource. The code is also reported as E_ACCESSDENIED or HRESULT 0x80070005. The right fix depends on which application is failing and what Windows is trying to access.
On This Page
- Quick Fix Summary: How to Resolve Error 0x80070005
- What Does Error Code 0x80070005 Mean on Windows 11?
- Method 1: Fix AppData Local Folder Permissions
- Method 2: Reset WinSxS Permissions and Windows Update Components
- Method 3: Fix Microsoft Store and Xbox App Error 0x80070005
- Method 4: Fix NVIDIA App and GeForce Driver Error 0x80070005
- Method 5: Check Antivirus Interference and Windows Services
- How to Confirm Error 0x80070005 Is Fixed
- Frequently Asked Questions About Error 0x80070005
- Official Microsoft References
Quick Fix Summary: How to Resolve Error 0x80070005
Error 0x80070005 means Access Denied. Start with the troubleshooting method that matches where the error appears. Avoid changing permissions on unrelated Windows folders.
| Where the Error Appears | What to Check First | Recommended Method |
|---|---|---|
| Windows Update | Windows Update logs, WinSxS and SoftwareDistribution permissions | Method 2 |
| Microsoft Store | Store cache, app repair and account permissions | Method 3 |
| Xbox App / Game Pass | Gaming Services and XboxGames installation folder | Method 3 |
| NVIDIA App / GeForce Experience | Driver installer permissions and security software | Method 4 |
| Desktop applications or installers | AppData Local permissions and blocked installer files | Method 1 or 5 |
| winget or PowerShell | Execution context, package access and security restrictions | Method 5 |
For Microsoft Store and Xbox problems, try the built-in repair tools first. For Windows Update, check which file or registry key is being denied access before using administrator commands. A complete repair may require more than one step and a system restart.
What Does Error Code 0x80070005 Mean on Windows 11?
In Windows, 0x80070005 is an access-denied error. It is commonly represented as E_ACCESSDENIED or HRESULT 0x80070005. A program has attempted an operation without the permissions required to complete it.
The blocked resource might be a directory, registry key, installation package, protected system file, application service, or component used by Windows Update. Windows permissions are managed through Access Control Lists (ACLs), which determine which accounts and services can access specific resources.
This differs from Windows Update and Store error 0x80070002, which generally points to a missing file or path rather than a denied-access operation.
On Windows 11 24H2 and 25H2, error 0x80070005 can appear in several unrelated scenarios. Windows Update may lack access to the component store, Microsoft Store may fail to access package files, Xbox Game Pass may encounter an installation-folder permission problem, or the NVIDIA App may fail while replacing driver components.
Common Causes of Error 0x80070005
- Incorrect file or directory ACL permissions.
- Missing access for the Windows
TrustedInstallerservice account. - Damaged Windows Update components or servicing configuration.
- Access restrictions in
LocalAppDataor an application's installation folder. - Microsoft Store or Xbox Gaming Services problems.
- Blocked NVIDIA driver installation files, including components associated with
nvaudcap64v.dll. - Security software such as Webroot interfering with an installer.
- Account, Group Policy, or enterprise endpoint management restrictions.
The error code identifies an access problem, but it does not identify the exact resource causing the failure. That is why the appropriate fix for Windows Update may be completely different from the fix for an Xbox App download.
Method 1: Fix AppData Local Folder Permissions
If an application installer or Microsoft Store package fails with 0x80070005 Access Denied, the problem may involve permissions under your user profile's local application data folder.
The folder is normally accessible to its owning Windows user account. However, its contents can include application-specific permission rules, so it is important to identify the affected folder before changing an entire directory tree.

Step 1: Open the AppData Local Directory
- Press Win + R to open the Run dialog.
- Type
%localappdata%. - Press Enter to open your Local application data directory.
- Identify the folder belonging to the application that is failing.
The environment variable normally opens:
C:\Users\YourUsername\AppData\Local
The exact path depends on the Windows user profile. Some applications use their own directories under this location, while Microsoft Store packages can use additional protected locations elsewhere in Windows.
Step 2: Inspect the Folder Security Settings
- Right-click the affected application's folder and select Properties.
- Open the Security tab.
- Select your Windows username under Group or user names.
- Review the permissions available to the selected account.
- Check whether the error is caused by a missing required permission or an explicit Deny entry.
If you need to inspect the ACL from Command Prompt, use:
icacls "%localappdata%"
This command displays the current permissions without changing them.
Step 3: Correct Confirmed Application Folder Permissions
If the affected application folder has incorrect permissions, open Properties > Security > Edit and restore the access required by the application and your user account.
Some troubleshooting guides recommend granting the current user Full Control over the entire AppData\Local directory. That should not be used as a universal first step: protected subfolders and application data may have intentionally restricted permissions. Restore permissions only where a specific access failure has been confirmed.
After correcting the affected folder, restart the application and retry the installation. If necessary, restart Windows before testing again.
Method 2: Reset WinSxS Permissions and Windows Update Components
If Windows Update fails with error 0x80070005, Microsoft identifies incorrect permissions on protected system resources as a possible cause. These resources include the component store at %windir%\WinSxS, the SoftwareDistribution directory, and certain servicing registry keys.
The Windows Modules Installer service account, NT SERVICE\TrustedInstaller, requires appropriate permissions to maintain protected operating system components. When those permissions are damaged, cumulative updates may fail.
Microsoft documents a specific permissions repair sequence for this situation. Because the commands modify protected Windows directories, first confirm that the Windows Update logs show a relevant access-denied failure and create a system backup or recovery point appropriate for your environment.

Step 1: Check the Windows Update Logs
Open File Explorer and navigate to:
%windir%\Logs\CBS
Open the relevant CBS.log file and search for 0x80070005 or E_ACCESSDENIED near the time the update failed.
You can also generate a readable Windows Update log using an elevated PowerShell session:
Get-WindowsUpdateLog
Identify the file, directory, or registry key that Windows could not access. The log helps determine whether the following servicing commands are relevant.
Step 2: Reset Component Store Permissions When Indicated
Microsoft's Windows Update 0x80070005 troubleshooting article provides the following commands for cases involving incorrect component-store permissions:
icacls "%windir%\WinSxS" /reset /t /c /q
icacls "%windir%\SoftwareDistribution" /reset /t /c /q
Run these commands from an elevated Command Prompt only when the affected system has a matching permissions problem, after backing up the operating system. The operations can take time and may encounter protected files that require separate administrative handling.
Restart Windows and retry the failed update before proceeding to the next step.
Step 3: Restore TrustedInstaller Ownership If Required
If the update still fails and the component store's ownership is incorrect, Microsoft documents this command:
icacls "%windir%\WinSxS" /setowner "NT SERVICE\TrustedInstaller" /t /c /q
This procedure changes ownership throughout a protected Windows directory. It should be used as part of the documented servicing repair process, not as a general solution for unrelated application access errors.
Restart the device and try Windows Update again.
Step 4: Reset Windows Update Components
If the permissions repair does not resolve the issue, Microsoft also documents resetting Windows Update components. Run the following sequence from an elevated Command Prompt after closing other update or installation tasks:
net stop wuauserv
net stop bits
net stop cryptSvc
ren %windir%\SoftwareDistribution SoftwareDistribution.old
ren %windir%\System32\catroot2 catroot2.old
net start cryptSvc
net start bits
net start wuauserv
These commands stop update-related services, rename update data directories so Windows can rebuild them, and restart the services. Existing backup folder names may need to be handled separately. On enterprise-managed computers, follow the organization's servicing policy before resetting the update cache.
Step 5: Repair the Windows Component Store
If the update continues to fail and component-store corruption is suspected, run:
DISM /Online /Cleanup-Image /RestoreHealth
After DISM finishes, run System File Checker:
sfc /scannow
Restart Windows when the repairs are complete and retry the update.
If DISM cannot find its repair source, see our guide to DISM repair error 0x800f081f.
Other servicing errors may require different corrections. Our related guides cover Windows Update error 0x80070306, error code 0x800f0993, and Windows Update error 0x800f0989.
For the official procedure and its prerequisites, refer to Microsoft Learn: Troubleshoot Windows Update error 0x80070005.
Method 3: Fix Microsoft Store and Xbox App Error 0x80070005
When Microsoft Store or the Xbox App reports 0x80070005, the error may be associated with an application package, Store cache, account permissions, Gaming Services installation, or the selected game installation directory.
Problems can be particularly confusing when Xbox Game Pass games are being installed to a secondary SSD. In that situation, a damaged or inaccessible XboxGames folder may prevent the game from being written to the destination drive.

Step 1: Reset the Microsoft Store Cache
Microsoft recommends using wsreset.exe when the Store cache causes problems opening or running Microsoft Store.
- Press Win + R.
- Enter
wsreset.exe. - Click OK.
- Allow the temporary Command Prompt window to close.
- When Microsoft Store reopens, retry the affected download or update.
wsreset.exe
This operation resets the Store cache. It does not grant new file permissions or remove your installed applications.
Step 2: Repair Microsoft Store, Xbox App, and Gaming Services
- Open Settings > Apps > Installed apps.
- Find Microsoft Store.
- Select the three-dot menu and open Advanced options, if available.
- Click Repair.
- Test the Store again.
- If the issue persists, return to Advanced options and consider Reset.
- Repeat the available repair steps for the Xbox app and Gaming Services.
Repair is generally preferable before Reset because resetting an application can remove its local app data, settings, or saved sign-in state. Not every installed application provides both controls.
After repairing the components, restart Windows and sign back in to Microsoft Store and the Xbox App if prompted.
Step 3: Check XboxGames Permissions on Secondary Drives
If you are installing Game Pass titles on a secondary drive such as D:\ or E:\, inspect the destination directory. The Xbox App may use a folder such as:
D:\XboxGames
Open the folder's Properties > Security settings and check whether your account and the relevant Windows installation services can access the destination. Also verify that the drive is connected, writable, and has enough free space.
If the Xbox App supports selecting another installation location, try a different writable folder or drive. This can help determine whether the problem is specific to the existing XboxGames directory.
Do not delete a populated XboxGames folder simply to clear the error. It may contain installed games or application data. If you identify an unused, empty folder with incorrect permissions, back up anything relevant before recreating it through the Xbox installation workflow.
Step 4: Check Microsoft Account Sign-In Conflicts
Some users report Store and Xbox installation problems after changing Microsoft accounts or adding the same account through multiple Windows sign-in mechanisms.
- Open Settings > Accounts > Email & accounts.
- Review the accounts listed under Accounts used by other apps.
- Check which Microsoft account is signed in to Microsoft Store and the Xbox App.
- Sign out and back in to the affected app if the wrong account is selected.
- Remove an obsolete duplicate account entry only after confirming it is no longer required by Windows or another service.
If the error persists, check whether Gaming Services itself can start and whether the failed installation produces a more specific error in the Windows event logs.
Method 4: Fix NVIDIA App and GeForce Driver Error 0x80070005
The NVIDIA App error code 0x80070005 may appear when a graphics driver installation cannot write, replace, or access files required by the installer. The same code can occur in older GeForce Experience installation workflows.
Affected operations may involve the NVIDIA installation cache, graphics driver packages, or related components such as nvaudcap64v.dll. An access-denied failure can also result from another process holding a file open or security software blocking the installer.

Step 1: Identify the File the NVIDIA Installer Cannot Access
When the NVIDIA App reports an installation failure, review the installer details and available logs. Check whether the error identifies a particular file or directory.
Depending on the installation, the relevant paths may include:
C:\Program Files\NVIDIA Corporation
C:\ProgramData\NVIDIA Corporation
C:\Windows\System32\DriverStore\FileRepository
The Installer2 directory may also be relevant to NVIDIA installation-cache problems. The Windows DriverStore is a protected system location and should not be treated as an ordinary temporary folder.
Step 2: Inspect NVIDIA Folder Permissions
Open Command Prompt as administrator and inspect the permissions of the relevant NVIDIA directory:
icacls "C:\Program Files\NVIDIA Corporation"
The command displays the folder's ACL information without changing it. If the installer logs identify another specific folder, inspect that location separately.
Avoid running recursive icacls /reset commands against the entire NVIDIA driver repository or DriverStore\FileRepository. These directories may contain files and permissions managed by Windows, and broad resets can introduce additional installation problems.
Step 3: Retry the NVIDIA Driver Installation
- Close the NVIDIA App and other applications using the graphics driver installer.
- Restart Windows to clear temporary locks on installation files.
- Open the NVIDIA App using an account with the appropriate installation permissions.
- Retry the driver installation.
- If the installer offers a Custom installation or Clean installation option, use it when appropriate for your driver package.
- Review the installation result and confirm the graphics driver is functioning normally.
If the installation still reports 0x80070005, identify which file or service is denying access rather than repeating a system-wide permissions reset.
Step 4: Check Security Software Interference
Antivirus or endpoint protection software may quarantine a driver component or restrict access to temporary installer files. Open the security product's event history and check whether the NVIDIA installer was blocked at the time the error occurred.
On managed devices, ask the security administrator to review the event and approve any necessary correction. Do not add broad permanent exclusions for NVIDIA or Windows system folders without identifying the exact cause.
Method 5: Check Antivirus Interference and Windows Services
Security software can cause error 0x80070005 when it blocks a legitimate installer, prevents access to a temporary file, or restricts changes to protected directories.
Products such as Webroot SecureAnywhere, Bitdefender, Avast, and Microsoft Defender may appear in investigations involving blocked application installations. Their presence alone does not prove that they caused the failure.
Step 1: Review Antivirus Protection History
- Open your antivirus or endpoint security application.
- Find the protection history, quarantine, or blocked activity section.
- Look for an event matching the time of the failed installation.
- Check the blocked file path, application name, and reason for the alert.
- Confirm that the installer was obtained from a trusted source before restoring any blocked file.
For a confirmed false positive, an authorized administrator can review a narrowly scoped exception or an approved temporary diagnostic test. Re-enable any protection that is temporarily paused as soon as the test is complete.
Do not disable security software broadly just because an installer reports Access Denied. A genuinely malicious installer may produce a similar symptom.
Step 2: Check Essential Windows Services
Press Win + R, enter services.msc, and press Enter.
Review the following services where relevant to the failed operation:
| Service | Relevant Function |
|---|---|
| Windows Update | Detects and installs Windows updates |
| Background Intelligent Transfer Service (BITS) | Supports background file transfers |
| Microsoft Store Install Service | Supports Microsoft Store installation workflows |
| Gaming Services | Supports Xbox game installation and launch functions |
Check whether the relevant service is disabled, failing to start, or reporting errors. Windows services do not all require the same startup type, so do not set every service to Automatic without checking the supported configuration and your organization's policies.
Step 3: Check winget and PowerShell Installation Errors
If winget or a PowerShell installation script fails with HRESULT 0x80070005, verify the execution account, installation target, application package permissions, and any security policy blocking the operation.
A useful first check is whether the same installation succeeds through the application's supported graphical installer under the same Windows account. Differences between the two methods may help isolate a package-management or execution-context problem.
If PowerShell itself encounters restrictions after recent Windows updates, our guide to PowerShell execution blocks on Windows 11 covers a related troubleshooting scenario.
For game installation problems caused by files being removed or quarantined, see our guide to antivirus file quarantine blocks on PC games.
How to Confirm Error 0x80070005 Is Fixed
After applying the troubleshooting method that matches your situation, repeat the exact operation that originally failed.
- Windows Update: Retry the failed cumulative update and check Windows Update history.
- Microsoft Store: Download or update the app that previously returned 0x80070005.
- Xbox App: Retry the game installation to the selected destination drive.
- NVIDIA App: Run the driver installer again and check whether the driver installation completes.
- winget or PowerShell: Repeat the original command using the approved account and installation context.
- Windows logs: Check whether the same Access Denied event reappears.
If the problem persists, record the exact error message, application name, blocked path, and relevant event log details. Those findings help determine which permission or service needs attention without making unnecessary changes across the entire system.
Frequently Asked Questions About Error 0x80070005
What does Windows error code 0x80070005 mean?
How do I fix error 0x80070005 in Microsoft Store and Xbox App?
Why does NVIDIA App fail with error code 0x80070005?
Is error 0x80070005 caused by a virus?
Official Microsoft References
Microsoft documents the Windows Update permissions failure and its servicing-specific repair procedures in Troubleshoot Windows Update error 0x80070005.
For Microsoft Store problems, see Microsoft Store doesn't open and Repair apps and programs in Windows.
Error 0x80070005 is usually resolved by finding and correcting the specific access restriction. Start with the affected application, check the relevant logs, and use broader Windows servicing or permission repairs only when the evidence supports them.