How to Fix 0x80070005 (Microsoft Windows)
Quick Answer
Error code 0x80070005, 'Access is denied,' indicates that the operating system or an application lacks the necessary permissions to access a file, folder, or registry key. The fastest fix often involves running the application with administrative privileges or adjusting folder permissions.
What Causes This Error
- Insufficient user permissions for a file, folder, or registry key.
- Corrupted system files or Windows updates.
- Malware or virus infection interfering with system access.
- Incorrect security settings or Group Policy configurations.
- Issues with Windows Update components preventing installation.
- Antivirus software or firewall blocking legitimate operations.
Step-by-Step Fixes
1Run Application as Administrator to Resolve 0x80070005
- Locate the executable file or shortcut for the application you are attempting to run.
- Right-click on the executable file or shortcut.
- Select 'Run as administrator' from the context menu.
- Confirm the User Account Control (UAC) prompt if it appears by clicking 'Yes'.
2Adjust Folder or File Permissions
- Navigate to the file or folder that is generating the 0x80070005 error.
- Right-click on the file or folder and select 'Properties'.
- Go to the 'Security' tab and click 'Edit' to change permissions.
- Select your user account or 'Administrators' from the 'Group or user names' list.
- In the 'Permissions for [User/Group]' box, check the 'Allow' box for 'Full control'. Click 'Apply' and then 'OK'.
3Perform a Full System Scan for Malware
- Open your preferred antivirus software.
- Navigate to the scan options and select 'Full Scan' or 'Deep Scan'.
- Initiate the scan and allow it to complete. This process may take several hours.
- Review the scan results and quarantine or remove any detected threats.
- Restart your computer after the scan is complete and threats are addressed.
4Disable Antivirus Software Temporarily
- Locate your antivirus software icon in the system tray (bottom-right corner of the taskbar).
- Right-click on the icon and look for options like 'Disable', 'Turn off protection', or 'Pause protection'.
- Select the option to temporarily disable the antivirus for a short duration (e.g., 10 minutes or until restart).
- Attempt to perform the action that previously resulted in error 0x80070005.
- Re-enable your antivirus software immediately after troubleshooting to maintain system security.
Advanced Fixes
Reset Windows Update Components
- Open Command Prompt as an administrator: Type 'cmd' in the Windows search bar, right-click 'Command Prompt', and select 'Run as administrator'.
- Stop the BITS, Cryptographic, MSI Installer, and Windows Update Services by typing the following commands, pressing Enter after each: 'net stop bits', 'net stop cryptSvc', 'net stop msiserver', 'net stop wuauserv'.
- Rename the SoftwareDistribution and Catroot2 folders by typing: 'ren %systemroot%SoftwareDistribution SoftwareDistribution.bak' and 'ren %systemroot%System32catroot2 Catroot2.bak'. Press Enter after each.
- Restart the BITS, Cryptographic, MSI Installer, and Windows Update Services by typing: 'net start bits', 'net start cryptSvc', 'net start msiserver', 'net start wuauserv'. Press Enter after each.
- Close Command Prompt and attempt the Windows Update or installation again.
Run System File Checker (SFC) and DISM
- Open Command Prompt as an administrator: Type 'cmd' in the Windows search bar, right-click 'Command Prompt', and select 'Run as administrator'.
- Type 'sfc /scannow' and press Enter. Allow the scan to complete, which may take some time.
- If SFC reports issues it couldn't fix, or as a follow-up, type 'DISM /Online /Cleanup-Image /RestoreHealth' and press Enter. This command requires an active internet connection.
- Wait for the DISM process to complete. This can take several minutes.
- Restart your computer after both scans have finished.
Frequently Asked Questions
What does error code 0x80070005 mean?
Error code 0x80070005, also known as 'Access is denied,' indicates that the operating system or a specific program does not have the necessary permissions to access a particular file, folder, or system resource. This prevents the requested operation from completing.
Can antivirus software cause 0x80070005?
Yes, antivirus software can sometimes cause error 0x80070005. Overly aggressive real-time protection or incorrect settings within the antivirus program might block legitimate system processes or application access to files, leading to an 'Access is denied' error. Temporarily disabling it can help diagnose the issue.
Is 0x80070005 always related to permissions?
While 0x80070005 most commonly points to permission issues, it can also be triggered by other factors such as corrupted system files, malware infections, or issues with Windows Update components. Addressing permissions is often the first step, but other troubleshooting methods may be necessary.
How do I prevent 0x80070005 from reoccurring?
To prevent 0x80070005, ensure your user account has appropriate administrative privileges for critical tasks, regularly update your operating system and antivirus software, perform routine malware scans, and avoid modifying system files or registry entries without understanding their function.