How to Fix 0x80070005 (Microsoft Office)
Quick Answer
Error code 0x80070005, 'Access is denied,' typically indicates that Microsoft Office applications lack the necessary permissions to access a file, folder, or system resource. The fastest fix often involves running the Office application as an administrator or adjusting folder permissions.
What Causes This Error
- Insufficient user permissions for the file or folder being accessed.
- Corrupted or missing system files related to Office or Windows.
- Interference from third-party antivirus or security software.
- Incorrect registry settings.
- Issues with Windows User Account Control (UAC) settings.
- Problems with the Office installation itself.
Step-by-Step Fixes
1Run Office Application as Administrator
- Locate the Microsoft Office application shortcut (e.g., Word, Excel) in the Start Menu or on your desktop.
- Right-click on the application shortcut.
- Select 'Run as administrator' from the context menu.
- Confirm the User Account Control prompt if it appears.
- Attempt to perform the action that previously triggered the 0x80070005 error.
2Adjust Folder or File Permissions
- Navigate to the file or folder that is causing the error.
- Right-click on the file or folder and select 'Properties'.
- Go to the 'Security' tab.
- Click 'Edit' to change permissions.
- Select your user account or 'Users' group.
- Ensure that 'Full control' or 'Modify' permissions are checked under 'Allow'.
- Click 'Apply' and then 'OK' to save the changes.
- If your user account is not listed, click 'Add', type your username or 'Everyone', click 'Check Names', and then 'OK'. Grant the necessary permissions.
3Disable Antivirus Software Temporarily
- Locate your antivirus software icon in the system tray (bottom-right corner of the screen).
- Right-click the icon and look for an option to 'Disable' or 'Pause protection'.
- Choose to disable it temporarily, typically for 10-15 minutes.
- Attempt to use the Microsoft Office application again.
- If the error is resolved, re-enable your antivirus software and consider adding an exception for the Office application or problematic file/folder within your antivirus settings.
- If the error persists, re-enable your antivirus software immediately.
4Repair Microsoft Office Installation
- Close all Microsoft Office applications.
- Open the 'Control Panel' by searching for it in the Start Menu.
- Go to 'Programs' and then 'Programs and Features' (or 'Uninstall a program').
- Locate 'Microsoft Office' in the list of installed programs.
- Right-click on 'Microsoft Office' and select 'Change'.
- Choose 'Quick Repair' and click 'Repair'. Follow any on-screen prompts.
- If Quick Repair does not resolve the issue, repeat the steps and select 'Online Repair' (this may take longer and requires an internet connection).
Advanced Fixes
Perform a Clean Boot
- Type 'msconfig' into the Windows search bar and press Enter to open 'System Configuration'.
- Go to the 'Services' tab.
- Check the box 'Hide all Microsoft services'.
- Click 'Disable all'.
- Go to the 'Startup' tab and click 'Open Task Manager'.
- In Task Manager, disable all startup items one by one.
- Close Task Manager and click 'OK' in System Configuration.
- Restart your computer.
- Test Microsoft Office. If the error is resolved, re-enable services and startup items one by one to identify the conflicting application.
- Remember to revert to a normal startup by unchecking 'Hide all Microsoft services' and clicking 'Enable all' in System Configuration once troubleshooting is complete.
Check for System File Corruption
- Open Command Prompt as an administrator.
- Type 'sfc /scannow' and press Enter.
- Allow the scan to complete. This process will check for and attempt to repair corrupted system files.
- If issues are found but not fixed, run the Deployment Image Servicing and Management (DISM) tool. In Command Prompt (Admin), type 'DISM /Online /Cleanup-Image /RestoreHealth' and press Enter.
- After DISM completes, run 'sfc /scannow' again.
- Restart your computer and test Microsoft Office.
Frequently Asked Questions
What does error code 0x80070005 mean in Microsoft Office?
Error code 0x80070005, 'Access is denied,' indicates that the Microsoft Office application or the user account attempting to perform an action does not have the necessary permissions to access a specific file, folder, or system resource required for the operation.
Can antivirus software cause the 0x80070005 error?
Yes, antivirus or other security software can sometimes interfere with Microsoft Office operations by incorrectly flagging legitimate Office processes or files as threats, leading to access denied errors like 0x80070005. Temporarily disabling it can help diagnose this.
Is it safe to run Office applications as an administrator?
Running an Office application as an administrator can resolve permission-related issues by granting it elevated privileges. While generally safe for troubleshooting, it's recommended to adjust specific file/folder permissions if a permanent solution is needed, rather than always running applications with elevated rights.
Will repairing Microsoft Office delete my documents?
No, repairing Microsoft Office using the built-in repair tools does not delete your documents, settings, or personal files. It only attempts to fix corrupted installation files or configuration issues within the Office suite itself.
What if the error occurs with a specific file only?
If the 0x80070005 error occurs only with a specific file, the issue is likely with that file's permissions or its location. Focus on adjusting the permissions of that particular file or the folder containing it, or try moving the file to a different location (e.g., your desktop) to test if the location is restricted.