sodcalculator

10 Tech How-To

Fix OneDrive High CPU or Memory Usage on Windows

Guide 10-37550 · Updated · Step by step

If OneDrive is eating your CPU or RAM, it usually means it’s stuck syncing, scanning, or indexing a large number of files. This guide walks you through the most effective fixes—from pausing sync and resetting the app to adjusting advanced settings—so you can get your system resources back without losing your files.

What You’ll Need

  • Administrator access to your Windows PC (for some steps)
  • Your Microsoft account password (if you need to re-link OneDrive)
  • About 15–20 minutes of time

Step-by-Step

  1. Pause syncing temporarily. Right-click the OneDrive cloud icon in the system tray (bottom-right, near the clock). Click Pause syncing and choose 2 hours or 24 hours. This immediately stops the sync process and should drop CPU/memory usage. If it doesn’t, continue with the steps below.
  2. Check which files are syncing. Open OneDrive by clicking the cloud icon and selecting View sync activity. Look for files stuck on “Syncing” or showing errors. Large files (videos, ZIPs, disk images) can cause prolonged high usage. If you see a massive file, right-click it in File Explorer and choose Free up space (if it’s a cloud-only file) or move it out of the OneDrive folder temporarily.
  3. Restart the OneDrive app. Right-click the cloud icon and select Exit. Then press Win + R, type onedrive, and press Enter. This relaunches OneDrive cleanly, clearing any temporary glitches.
  4. Reset OneDrive. If restarting doesn’t help, press Win + R, type the following, and press Enter:
    onedrive /reset
    This re-syncs the app’s local database without deleting your files. Wait a few minutes for it to restart. If it doesn’t open automatically, launch it from the Start menu.
  5. Disable automatic sync of Office files. In OneDrive settings (right-click cloud icon → Settings → Office tab), uncheck Use Office apps to sync Office files that I open. This prevents Office from constantly checking file status, which can cause high CPU.
  6. Turn off advanced sync settings. In the same Settings window, go to the Sync and backup tab. Under Advanced settings, uncheck Use enhanced file monitoring and Automatically sync files as soon as they change. These features can cause background scanning that hogs resources.
  7. Limit upload/download bandwidth. In Settings → Sync and backup → Advanced settings, set rate limits for both upload and download. For example, set them to 50% of your normal speeds. This prevents OneDrive from saturating your network and CPU.
  8. Move your OneDrive folder to a local drive. If your OneDrive folder is on an external or network drive, move it to your internal SSD/HDD. Right-click the cloud icon → Settings → Account → Choose folders and uncheck folders you don’t need locally. You can also use Files On-Demand to keep files cloud-only (right-click files → Free up space).
  9. Run a full system scan for malware. High CPU can sometimes be caused by malware hiding in the OneDrive process. Use Windows Security (or your preferred antivirus) to run a full scan.
  10. Update Windows and OneDrive. Go to Settings → Windows Update and install any pending updates. OneDrive updates automatically, but you can also download the latest version from the Microsoft website.
  11. Unlink and relink your account. As a last resort, right-click the cloud icon → Settings → Account → Unlink this PC. Then sign back in. This forces a fresh sync state, but it may take a while for OneDrive to rebuild its index.

Common Mistakes

  • Deleting files to stop sync. Deleting files from your OneDrive folder will delete them from the cloud too (unless you move them to a non-synced location first).
  • Ignoring the sync activity panel. Many users don’t check what’s actually syncing. A single stuck file can cause endless retries.
  • Disabling OneDrive at startup. This prevents sync but also means your files won’t be backed up. It’s a temporary fix, not a solution.
  • Assuming it’s a virus. While malware can hide, OneDrive’s high usage is usually legitimate sync activity. Don’t kill the process without checking first.

Tips

  • Use Files On-Demand. Keep files cloud-only unless you need them offline. This reduces local scanning and sync load.
  • Schedule large transfers. If you must upload huge files, do it during off-hours using the pause feature.
  • Keep your OneDrive folder tidy. Remove old or duplicate files. Fewer files = less indexing.
  • Check for other apps. Sometimes Windows Search or antivirus scans conflict with OneDrive. Temporarily disable real-time protection to see if CPU drops (re-enable it after).
  • Use the OneDrive support tool. Microsoft provides a free OneDrive Setup tool that can diagnose sync issues. Search for it in the Microsoft Store.

Troubleshooting

If the steps above don’t resolve the issue:

  • Check for a corrupted cache. Close OneDrive, then delete the contents of %localappdata%\Microsoft\OneDrive\cache. Restart OneDrive—it will rebuild the cache.
  • Ensure your system drive has free space. OneDrive needs at least 10% free space to operate smoothly. If your drive is full, it will struggle.
  • Check for file name or path issues. Files with invalid characters (like ? or :) can cause sync loops. Rename them.
  • Try a clean boot. Disable all third-party startup programs (via Task Manager → Startup) and restart. If OneDrive works fine, a conflicting app is the culprit.
  • Reinstall OneDrive. Uninstall OneDrive from Settings → Apps, restart, then download and install the latest version from Microsoft’s site.

Frequently Asked Questions

Why does OneDrive use so much CPU even when not syncing?

OneDrive may be scanning for changes, updating its index, or running background maintenance. Disabling enhanced file monitoring and automatic sync can reduce this.

Will pausing sync stop all CPU usage?

Pausing sync stops most background activity, but OneDrive may still use a small amount of CPU for the tray icon and monitoring. It should drop to near zero.

Can I stop OneDrive from running at startup without breaking it?

Yes, but you’ll lose automatic sync. You can disable it in Task Manager’s Startup tab, then launch OneDrive manually when needed.

Does resetting OneDrive delete my files?

No. The /reset command only clears the local cache and sync database. Your files remain in the cloud and on your PC.

Why is OneDrive using memory even after I exit it?

Sometimes the process lingers. Open Task Manager, find OneDrive, right-click and End task. If it returns, check for a scheduled task or startup entry.

Is it safe to uninstall OneDrive?

Yes, but you’ll lose cloud sync. Your files stay in the cloud, but you won’t have local copies unless you download them manually.

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 →