Office error 0x80070005 (Access Denied) usually appears when you try to install, update, or activate Microsoft Office, and Windows blocks the process from writing to certain folders or registry keys. This guide walks you through the most effective fixes, from simple permission checks to a full Office repair.
What You’ll Need
- Administrator access to the Windows PC (you’ll need to log in with an account that can approve UAC prompts).
- Your Microsoft account or Office product key (for reactivation after a repair).
- Stable internet connection (for downloading updates or running the online repair).
Step-by-Step
- Run the Office app as administrator. Right-click the Office app (Word, Excel, etc.) and select Run as administrator. If the error only happens when launching a specific app, this often bypasses the permission issue temporarily. If it works, you can set the app to always run as admin: right-click the shortcut → Properties → Compatibility → check “Run this program as an administrator” → OK.
- Check and fix folder permissions. The error often occurs when the Office installation folder or the
C:\Program Files\Microsoft Officefolder has incorrect permissions. Open File Explorer, navigate to that folder, right-click it, select Properties → Security tab → click Advanced. Ensure SYSTEM and Administrators have Full control. If not, click Change permissions, select the user, and check Full control. Apply and restart. - Repair Office via Control Panel. Press
Windows + R, typeappwiz.cpl, and press Enter. Find Microsoft Office in the list, right-click it, and select Change. Choose Quick Repair first (takes a few minutes). If that doesn’t help, repeat and choose Online Repair (requires internet and takes longer). This re-registers files and fixes permission issues. - Use the Microsoft Support and Recovery Assistant (SaRA). Download and run the tool from Microsoft’s official site. It can automatically diagnose and fix common Office activation and installation errors, including 0x80070005. Follow the on-screen prompts; it will ask you to sign in with your Microsoft account.
- Check Windows registry permissions (advanced). If the error appears during installation, the installer may lack write access to registry keys under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office. Open Registry Editor (regeditas admin), navigate to that key, right-click → Permissions, and ensure SYSTEM and Administrators have Full Control. Be careful: editing the registry incorrectly can harm your system. Back up the key before making changes. - Check for conflicting third-party security software. Antivirus or firewall software can block Office from writing to protected areas. Temporarily disable your third-party antivirus (not Windows Defender) and try the operation again. If it works, add Office to the software’s whitelist. Re-enable the antivirus afterward.
- Clean boot Windows. If the error persists, a background service might be interfering. Press
Windows + R, typemsconfig, go to the Services tab, check Hide all Microsoft services, then click Disable all. Restart and try Office. If it works, re-enable services one by one to find the culprit. - Uninstall and reinstall Office. As a last resort, uninstall Office completely via Control Panel, then reinstall from your Microsoft account (office.com/myaccount). Use the Office Uninstall Support Tool if the standard uninstall fails. This resets all permissions and files.
Common Mistakes
- Skipping the Quick Repair step. Many users jump straight to reinstallation, but a quick repair often fixes the issue in minutes without losing settings.
- Changing permissions on the wrong folder. Make sure you’re editing the actual Office installation folder (e.g.,
C:\Program Files\Microsoft Office\root\Office16), not just a shortcut. - Disabling UAC completely. Some guides suggest turning off User Account Control, but this reduces security and is not recommended. Instead, run the specific app as administrator.
- Ignoring Windows updates. Outdated Windows can cause permission conflicts. Always install the latest updates before troubleshooting Office.
Tips
- Always create a system restore point before editing the registry or changing permissions.
- If you’re on a corporate network, the error may be caused by Group Policy restrictions. Contact your IT administrator before attempting fixes.
- Keep your Office installation up to date via File > Account > Update Options, which can prevent permission-related bugs.
Troubleshooting
If the error persists after following all steps:
- Check if you’re signed in with the correct account. Sometimes the error appears when the user profile is corrupted. Create a new Windows user account with admin rights and try Office there.
- Look for a pending Windows update. Restart your PC and install all pending updates, then try again.
- Run the Office repair from Safe Mode. Boot into Safe Mode (hold Shift while clicking Restart) and run the repair from there. This eliminates third-party interference.
- Use the Event Viewer. Open Event Viewer (eventvwr.msc) and look under Windows Logs > Application for errors related to Office. The details may point to the exact file or registry key being blocked.
- Contact Microsoft Support. If nothing works, use the built-in chat or phone support. They have advanced tools that can remotely diagnose the issue.
Frequently Asked Questions
Why does 0x80070005 happen even when I’m the administrator?
Being an administrator doesn’t always grant full access to every file and registry key. Office installers often need elevated privileges that are blocked by User Account Control or security software. Running the app as administrator often resolves this.
Will I lose my documents if I repair Office?
No. Repairing Office only fixes program files and settings. Your documents, spreadsheets, and presentations remain untouched. However, it’s always wise to back up important files before any repair.
Can I fix this error without reinstalling Office?
Yes, often the Quick Repair or Online Repair fixes the issue. If those fail, you can try the registry permission fix or the Support and Recovery Assistant before resorting to a full uninstall.
Is it safe to edit the Windows registry to fix this?
Editing the registry is generally safe if you only change the permissions for the Office keys and back up the registry first. However, incorrect changes can cause system instability. If you’re unsure, use the automated tools from Microsoft instead.
Why does the error appear only when I try to update Office?
Updates need to write to the same protected folders and registry keys as installation. If a previous update left incorrect permissions, subsequent updates will fail with 0x80070005. The repair process resets those permissions.
Does this error affect Office on Mac?
No, error 0x80070005 is specific to Windows. Mac users see different error codes. If you’re on a Mac, search for the specific error message you see.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Photonic Inference vs GPU Inference: Key Differences16,384.00 µs
- Android Low Storage Survival Tips That Actually Work
- How to Password Protect PDFs on iPhone
- iPhone Force Restart Not Working? Fixes
- Add or Remove Keyboard Layout in Windows 10
- Razer Barracuda V2 Pro Dongle: Store & Find