sodcalculator

10 Tech How-To

OneDrive Error 0x80070185 Fix on Windows 10

Guide 10-22434 · Updated · Step by step

OneDrive error 0x80070185 on Windows 10 means the cloud sync client cannot read a file from your local disk, usually because of file corruption, a permissions conflict, or a temporary glitch. The fix is to clear the OneDrive cache and reset the app, then re-sync the affected folder. This article explains why the error happens and walks you through the most reliable solutions.

What Error 0x80070185 Actually Means

The hexadecimal code 0x80070185 maps to the Windows system error ERROR_CLOUD_FILE_INVALID_REQUEST. In plain terms, OneDrive asked Windows to read a file that is marked as “cloud-only” or “on-demand,” but the local copy is missing, damaged, or the system cannot access it. This commonly appears when you try to open, move, or sync a file that was previously set to “Free up space” (making it online-only) and then the local placeholder becomes corrupted.

You may see the error in the OneDrive notification area, in File Explorer next to a file, or in the sync activity log. It can affect a single file or an entire folder, and it often happens after a Windows update, a sudden shutdown, or when another program (like an antivirus) locks the file.

Why the Error Occurs: Common Causes

  • Corrupted OneDrive cache: The local database that tracks file states gets out of sync with the cloud.
  • Broken file placeholders: Files marked as online-only may have lost their pointer to the actual cloud content.
  • Permission problems: The OneDrive folder may have inherited restrictive NTFS permissions from a previous user profile or a moved folder.
  • Third-party conflicts: Antivirus software or backup tools may be holding file locks during sync.
  • Windows update remnants: After a major update, the OneDrive app may not have fully migrated its settings or cache.

Understanding the cause helps you choose the right fix. For example, if the error appears only on one file, clearing the cache may be enough. If it appears on many files, a full reset is more effective.

Before You Start: Basic Checks

  1. Restart OneDrive: Right-click the OneDrive cloud icon in the system tray (near the clock) and choose Exit. Then reopen OneDrive from the Start menu.
  2. Check your internet connection: A flaky connection can cause temporary sync failures. Run a speed test or try loading a website.
  3. Pause and resume sync: Right-click the OneDrive icon, select Pause syncing for 2 hours, then resume. This often clears transient errors.
  4. Update Windows: Go to Settings > Update & Security > Windows Update and install any pending updates. A known bug in an older build may be the culprit.

These steps take less than a minute and resolve a surprising number of cases. If the error persists, move on to the more thorough fixes below.

Fix 1: Clear the OneDrive Cache

Clearing the cache forces OneDrive to rebuild its local database without deleting your actual files. It is safe and does not remove any data from the cloud or your disk.

  1. Right-click the OneDrive icon in the system tray and choose Settings (or Preferences on newer versions).
  2. Go to the Account tab and click Unlink this PC. Confirm when prompted.
  3. After unlinking, OneDrive will close. Open File Explorer and navigate to %LocalAppData%\Microsoft\OneDrive (type this in the address bar).
  4. Delete the contents of the cache folder (if it exists). If you see a folder named logs, you can delete that too—it only contains diagnostic files.
  5. Reopen OneDrive from the Start menu. You will be asked to sign in and set up your folder. Choose the same folder location as before (usually C:\Users\YourName\OneDrive).
  6. OneDrive will rescan your files and download fresh placeholders. This may take a while if you have many files.

This is the most common fix and works for most users. If the error still appears, try the full reset method below.

Fix 2: Reset OneDrive Completely

A reset reinstalls the OneDrive app and clears all local settings, including the cache and any corrupted state. Your files remain safe in the cloud.

  1. Press Windows + R to open the Run dialog.
  2. Type %LocalAppData%\Microsoft\OneDrive\onedrive.exe /reset and press Enter. (If you have the new OneDrive, the path may be %ProgramFiles%\Microsoft OneDrive\onedrive.exe /reset—check both if needed.)
  3. A command prompt window may flash briefly. Wait for OneDrive to restart automatically.
  4. If it does not restart, launch OneDrive manually from the Start menu.
  5. Sign in again if prompted. Your files will re-sync from the cloud.

This is a more aggressive fix but is still safe. It is the recommended next step if clearing the cache does not work.

Fix 3: Check File Permissions and Attributes

If the error is isolated to a specific file, the file may have become read-only or have incorrect permissions. Right-click the problematic file in File Explorer, select Properties, and under the General tab, ensure the Read-only checkbox is unchecked. Then go to the Security tab and verify that your user account has Full control (or at least Read & Execute and Write). If not, click Edit and grant those permissions.

Also, check if the file has the Hidden attribute set. A hidden file can confuse OneDrive. To unhide it, open File Explorer, go to View tab, and check Hidden items. Then right-click the file, select Properties, and uncheck Hidden.

If the file is still problematic, try copying it to a different folder (like your Desktop) and then moving it back into OneDrive. This forces a fresh local copy.

Fix 4: Use the “Always Keep on This Device” Option

If the error occurs on files that are marked as online-only, force OneDrive to download them fully. Right-click the file or folder in File Explorer, and select Always keep on this device. This removes the placeholder and creates a full local copy. Wait for the sync to complete, then check if the error disappears.

If the file is already marked as Always keep on this device but the error persists, right-click and select Free up space, then immediately select Always keep on this device again. This forces a fresh download.

Fix 5: Run a Disk Check

Occasionally, the error is caused by disk corruption. Run a disk check to find and repair bad sectors or file system errors.

  1. Open an elevated Command Prompt (right-click Start and select Command Prompt (Admin) or Windows PowerShell (Admin)).
  2. Type chkdsk C: /f and press Enter. (Replace C: with the drive where your OneDrive folder is located.)
  3. If prompted to schedule a check on restart, type Y and restart your PC.
  4. After the check completes, try syncing OneDrive again.

This is a heavier fix but can resolve underlying file system issues that OneDrive cannot work around.

Frequently Asked Questions

Will clearing the cache delete my files?

No. Clearing the OneDrive cache only removes temporary files and the local database that tracks file states. Your actual files remain on your hard drive and in the cloud. After the reset, OneDrive will re-download the latest versions, which may take time but does not lose data.

Why does the error appear only for one file?

Often a single file becomes corrupted or has a placeholder that is out of sync. This can happen if the file was modified by another program while OneDrive was paused, or if the file was moved externally. The fixes for individual files (permissions, attribute checks, or forcing a re-download) usually resolve it.

Can I ignore the error and continue using OneDrive?

You can, but the affected file(s) will not sync. This means changes you make on another device may not appear, and changes you make locally may not upload. It is best to resolve the error to avoid data loss or confusion.

Does this error mean my OneDrive account is compromised?

No. The error is a local file access issue, not a security problem. It does not indicate a breach or unauthorized access. However, if you see other suspicious activity, you should check your account security settings.

What if none of these fixes work?

If you have tried all the above and the error persists, try moving your OneDrive folder to a new location. In OneDrive settings, go to the Account tab, click Unlink this PC, then re-link and choose a new folder path (e.g., D:\OneDrive). This gives you a fresh start. If the problem continues, you may need to contact Microsoft Support or check the Windows Event Viewer for more detailed error logs.

Preventing Future Occurrences

  • Always shut down Windows properly—avoid force power-offs.
  • Keep Windows and OneDrive updated to the latest versions.
  • If you use third-party antivirus, add OneDrive to its exclusions to prevent file locks.
  • Periodically run chkdsk to catch disk errors early.
  • Do not manually edit files inside the OneDrive folder while sync is paused—wait until it is fully synced.

By following these practices, you can minimize the chance of seeing error 0x80070185 again.

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

The whole Tech How-To bed →