sodcalculator

10 Tech How-To

Fix 0x8004de45 OneDrive Error: Step-by-Step

Guide 10-59158 · Updated · Step by step

If you’re seeing error 0x8004de45 in OneDrive, it usually means the app can’t connect to the cloud or there’s a problem with your local cache. This guide walks you through the most effective fixes, from clearing corrupted files to resetting the app entirely. You’ll need to be signed in to Windows with an administrator account for some steps.

What You’ll Need

  • Windows administrator access
  • Your Microsoft account credentials (to sign back in)
  • Stable internet connection

Step-by-Step

  1. Check your internet connection. OneDrive needs a live connection. Open a browser and visit any website. If it fails, restart your router or modem and try again.
  2. Restart OneDrive. Right-click the OneDrive cloud icon in the system tray (bottom-right near the clock). Select Exit. Then reopen OneDrive from the Start menu. Wait a minute to see if the error clears.
  3. Clear the OneDrive cache. Press Win + R, type %localappdata%\Microsoft\OneDrive\ and press Enter. Delete the contents of the cache folder (if it exists). Then restart OneDrive. This removes temporary files that may be corrupted.
  4. Reset OneDrive completely. Press Win + R, type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset and press Enter. A command prompt window may flash. Wait a few minutes – OneDrive should restart automatically. If it doesn’t, launch it manually from Start.
  5. Unlink and relink your account. Right-click the OneDrive icon, go to Settings (or Help & Settings), then Account, and click Unlink this PC. Follow the prompts. After unlinking, sign in again with your Microsoft account.
  6. Check for Windows updates. Go to Settings > Windows Update and click Check for updates. Install any pending updates and restart your PC.
  7. Reinstall OneDrive. If nothing else works, uninstall OneDrive via Settings > Apps > Installed apps. Then download the latest version from the official Microsoft site and install it.

Common Mistakes

  • Skipping the reset step. Many users jump straight to reinstalling, but a simple reset often fixes the issue without losing your local files.
  • Deleting the wrong folder. When clearing cache, make sure you’re in the OneDrive folder under LocalAppData, not your personal OneDrive folder (the one with your files).
  • Not closing OneDrive before resetting. If OneDrive is still running, the reset command may not work. Always exit from the system tray first.
  • Ignoring file conflicts. Sometimes the error appears when a file is open or has a sync conflict. Close all Office apps and try again.

Tips

  • Keep OneDrive updated. Set it to auto-update in Settings to avoid known bugs.
  • If you use a VPN, try disconnecting it – some VPNs interfere with OneDrive’s connection.
  • Ensure your system date and time are correct. Wrong time can cause authentication errors.
  • If you have many files, give the sync time to catch up after resetting – it may take a while.

Troubleshooting

If the error persists after trying all steps, here’s what to do:

  • Check the OneDrive service status. Visit the Microsoft 365 Service Status page (or the OneDrive status page) to see if there’s an ongoing outage. If so, wait and try again later.
  • Run the built-in troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters and run the Internet Connections and Windows Store Apps troubleshooters.
  • Check file permissions. Right-click your OneDrive folder, go to Properties > Security, and ensure your user account has Full control. If not, click Edit and grant it.
  • Create a new Windows user profile. If the issue is tied to your profile, create a temporary admin account and try OneDrive there. If it works, you may need to migrate your files.
  • Contact Microsoft Support. If nothing helps, visit the official support site and use the virtual agent or live chat. They can check your account for sync issues.

Frequently Asked Questions

Will resetting OneDrive delete my files?

No. Resetting only clears the local cache and re-establishes the sync connection. Your files remain on your hard drive and in the cloud.

Why does error 0x8004de45 happen?

It’s typically caused by corrupted cache files, an outdated OneDrive version, or a temporary issue with Microsoft’s servers.

Can I fix this error on a Mac?

Yes, but the steps are slightly different. On Mac, you’d quit OneDrive, then run ~/Library/Application Support/OneDrive/OneDrive.app/Contents/MacOS/OneDrive with the --reset flag from Terminal.

How long does the reset take?

Usually a few minutes. If you have a large library, the initial re-sync may take longer, but the error should disappear quickly.

Do I need to back up my files before trying these fixes?

It’s always good practice to back up important files, but these steps are safe and won’t delete your data. However, if you’re unsure, copy your OneDrive folder to an external drive.

Will this error affect my Office apps?

No, it’s specific to OneDrive sync. Office apps will continue to work, but saving to OneDrive may fail until the issue is resolved.

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 →