keepcalculator

06 Numbers and Powers

OneDrive Corrupted Files? Fixes That Work

Card No. 06·27091 · Updated · Standard formula, shown below

If OneDrive files are showing as corrupted, won’t open, or throw sync errors, the problem is usually a sync glitch, a partially downloaded file, or a damaged local cache—not the file itself. This guide explains the common causes and walks you through the fixes that resolve the issue for most people, from simple re-syncs to checking the file on the web.

Why OneDrive Files Get “Corrupted”

OneDrive stores files in two places: on Microsoft’s servers and in a local folder on your device. The desktop app keeps these in sync. When a file appears corrupted, it usually means one of these things happened:

  • Incomplete download: If a file is marked “online-only” and you open it before it fully downloads, it may fail or show an error.
  • Sync conflict: Two devices edited the same file at the same time, creating a conflicted copy that won’t open properly.
  • Local cache damage: The OneDrive app’s cache (stored locally) can get corrupted after a crash, a forced shutdown, or a failed update.
  • File actually damaged: The file itself may have been corrupted on your device before it ever synced, or the upload was interrupted.

Knowing which of these applies helps you pick the fastest fix.

First: Check the File in Your Browser

Before touching your local setup, open the file in a web browser at onedrive.com. This tells you if the file is truly damaged or if the problem is only on your device.

  1. Go to onedrive.com and sign in with the same Microsoft account.
  2. Navigate to the file that shows as corrupted.
  3. Click it to preview it online. If it opens fine, the file itself is intact—the issue is local. If it won’t open online either, the file is genuinely corrupted on the server.

If the web version works, the fix is to reset the local sync. If the web version also fails, you may need to restore an earlier version (see below).

Fix 1: Pause and Resume Sync

The simplest fix often works: pause OneDrive sync, wait a few seconds, then resume it. This forces the app to re-check the file state.

  1. Right-click the OneDrive cloud icon in the system tray (Windows) or menu bar (Mac).
  2. Select Pause syncing and choose a duration (e.g., 2 hours).
  3. Wait a few seconds, then right-click again and choose Resume syncing.
  4. Try opening the file again.

If that doesn’t help, move on to the next step.

Fix 2: Reset the OneDrive App

Resetting the app clears the local cache and re-establishes the sync connection without deleting your files. This is the most common fix for persistent corruption errors.

On Windows:

  1. Press Win + R, type onedrive.exe /reset, and press Enter.
  2. Wait a minute. OneDrive should restart automatically. If it doesn’t, search for “OneDrive” in the Start menu and open it.

On Mac:

  1. Quit OneDrive (right-click the menu bar icon and choose Quit).
  2. Open Terminal and run: killall OneDrive (if it hasn’t quit).
  3. Reopen OneDrive from Applications.

After the reset, OneDrive will re-sync your files. This can take a while if you have a large library, but it usually resolves corruption errors.

Fix 3: Restore a Previous Version

If the file is genuinely corrupted on the server, you can roll back to an earlier version. OneDrive keeps version history for all files, including those synced from your PC.

  1. In the browser, right-click the corrupted file and select Version history.
  2. You’ll see a list of previous versions with timestamps.
  3. Click the three dots next to a version from before the corruption and choose Restore.

This replaces the current version with the older one. If you don’t see version history, the file may not have been edited multiple times, or the corruption happened on the first upload.

Fix 4: Delete and Re-upload

If version history isn’t available, and the file is corrupted on the server, the only option is to delete it and re-upload a good copy. First, make sure you have a good copy somewhere—check your local folder, another device, or an email attachment.

  1. In the browser, delete the corrupted file (move it to the recycle bin).
  2. On your local device, remove the file from the OneDrive folder (or delete it there too).
  3. Copy the good version into the OneDrive folder.
  4. Wait for it to upload, then verify it opens.

If you don’t have a good copy, you may need to use data recovery software on your local drive, but that’s outside OneDrive’s scope.

Common Mistakes and Misconceptions

One misconception is that OneDrive “corrupts” files on its own. In reality, the sync engine doesn’t alter file content—it only copies bytes. If a file is corrupted after syncing, it was likely corrupted before the upload, or the local disk had issues (bad sectors, full drive, etc.).

Another common mistake is ignoring the “online-only” status. If you have “Files On-Demand” enabled, files may appear in your folder but not actually be downloaded. When you open them, OneDrive downloads them on the fly. If the download is interrupted (e.g., network drop), you might get a corrupted or unreadable file. Solution: right-click the file and select Always keep on this device to force a full download.

Also, don’t confuse OneDrive’s “corrupted file” error with the “We can’t find this item” error. The latter usually means the file was moved or deleted elsewhere, not corrupted.

Frequently Asked Questions

Can OneDrive files get corrupted during sync?

Yes, but it’s rare. Sync interruptions (like a sudden shutdown or network drop) can leave a partially written file that appears corrupted. The fixes above—pausing/resuming or resetting—typically resolve this by re-downloading the full file.

Does resetting OneDrive delete my files?

No. Resetting the app only clears the local cache and re-establishes the sync connection. Your files remain on your hard drive and in the cloud. It’s safe to do.

How do I prevent OneDrive corruption errors?

Keep your device’s storage healthy (run disk checks), avoid force-quitting the app, and ensure a stable internet connection during large uploads. Also, regularly check version history for important files.

Why does OneDrive say “This file can’t be synced”?

That error usually means the file is locked by another program, the file name contains invalid characters, or the file is larger than OneDrive’s limit (250 GB per file). It’s not corruption—it’s a sync restriction.

Can I recover a corrupted OneDrive file if I don’t have version history?

If version history isn’t available, try checking the recycle bin on the web (files deleted within 30 days). If it’s not there, your best bet is a local backup or data recovery software on your device’s hard drive.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →