Immediate Fix: Run as Administrator and Office Repair
Excel Error 0x80070005 is a classic “Access Denied” message. It usually occurs when Microsoft 365 lacks the necessary permissions to complete an update or activation task.
[WP_TOC]
The fastest solution is to force Excel to run with elevated privileges. Close all Office applications, right-click the Excel icon, and select Run as Administrator. If the error persists, perform a Quick Repair.
| Fix Method | Difficulty | Success Rate |
|---|---|---|
| Run as Administrator | Low | High |
| Office Online Repair | Medium | Very High |
| Update Windows/Office | Low | Medium |
To repair Office, navigate to Control Panel > Programs and Features. Find Microsoft 365, click Change, and select Online Repair. This replaces corrupted files that cause permission conflicts.
Technical Explanation: Why Error 0x80070005 Occurs
Technically, 0x80070005 is a Windows system error code. It signifies that the application is trying to access a file or a registry key that it does not have the “Write” or “Modify” permission for.
In the context of Excel 365, this often happens during the activation handshake. If the software cannot verify your license against the local machine’s registry, it triggers this block to prevent unauthorized use.
Conflict with third-party antivirus software is another common cause. These programs may flag Office update processes as suspicious, effectively locking the folders required for the installation to finish.

Alternative Methods to Resolve the Error
Method 1: Reset Folder Permissions via PowerShell
Sometimes the local AppData folders lose their inherited permissions. You can reset these permissions using the command line to ensure Excel can write temporary data.
icacls "C:\Program Files\Microsoft Office" /grant "Users":R /T /C
Run the command above in a PowerShell window with Administrator rights. This ensures the “Users” group has read access to the Office installation directory.
Method 2: Disable Third-Party Antivirus
Temporarily disable your antivirus or firewall. Many security suites block the “Office Click-to-Run” service, which is responsible for background updates in Excel 365.
Once disabled, try opening Excel and triggering the update manually by going to File > Account > Update Options > Update Now. Remember to re-enable your security software immediately after.
Method 3: Remove Stale Office Credentials
If the error is related to activation, your Windows Credential Manager might be holding onto expired tokens. Navigate to the Control Panel and select Credential Manager.
Under Windows Credentials, find any entries related to “MicrosoftOffice16” or “MicosoftAccount:user”. Remove these entries and restart Excel to prompt a fresh login.