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
OneDrive error code 0x80070005 occurs when the sync engine lacks proper NTFS permissions to read files or folders on your computer. This access denied error prevents OneDrive from syncing your files to the cloud, but can usually be resolved by adjusting file permissions or resetting OneDrive settings.
Ad

Tools You'll Need

How to Fix Error Code 0x80070005 Access Denied

  1. Check OneDrive sync status

  2. Take ownership of the affected files

    Back up important files before changing ownership settings as this can affect other programs' access to these files.
  3. Grant full control permissions

  4. Reset OneDrive sync

    This will reset your sync settings and may require you to re-select which folders to sync.
  5. Run OneDrive as administrator

  6. Check antivirus exclusions

  7. 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.