OneDrive Error Code 0x80070005 Access Denied: How to Fix It
Medium 20-45 minutes Medium Severity
Verified June 2026
- Error Code
- 0x80070005 Access Denied
- Brand
- OneDrive
- Product Type
- cloud_storage
- Severity
- Medium
- DIY Difficulty
- Medium
- Estimated Fix Time
- 20-45 minutes
Ad
Tools You'll Need
- Windows computer with administrator access
- Internet connection
How to Fix Error Code 0x80070005 Access Denied
-
Check OneDrive sync status
-
Take ownership of the affected files
Back up important files before changing ownership settings as this can affect other programs' access to these files. -
Grant full control permissions
-
Reset OneDrive sync
This will reset your sync settings and may require you to re-select which folders to sync. -
Run OneDrive as administrator
-
Check antivirus exclusions
-
Repair OneDrive installation
This will remove all OneDrive settings and require complete reconfiguration.
Ad
When to Call a Professional
Contact Microsoft Support if the error persists after trying all steps, if you're uncomfortable changing file permissions, or if this is happening on a work computer with corporate policies that may restrict these changes.Frequently Asked Questions
What causes OneDrive error 0x80070005?
This error occurs when OneDrive doesn't have proper NTFS permissions to access files or folders. Common causes include strict file permissions, antivirus interference, corrupted OneDrive settings, or Windows updates that changed permission structures.
Will I lose my files if I reset OneDrive?
No, resetting OneDrive won't delete your files. Your local files remain on your computer and your cloud files stay in OneDrive online. You'll just need to reconfigure which folders to sync and wait for the initial sync to complete.
Why does the error happen only with certain files?
The 0x80070005 error typically affects files that were created by other programs, moved from different locations, or have restrictive permissions set. System files, files in use by other applications, or files in protected folders are most commonly affected.
Can I prevent this error from happening again?
Yes, avoid moving system files to OneDrive, don't sync the entire C: drive, ensure your antivirus excludes OneDrive folders, and run Windows updates regularly. Also, avoid syncing files that are frequently locked by other applications.
Is it safe to run OneDrive as administrator?
Running OneDrive as administrator should only be a temporary troubleshooting step. For regular use, OneDrive should run with standard user permissions. If administrator access is required permanently, there may be underlying permission issues that need professional attention.