Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix OneDrive High CPU Usage: Step-by-Step Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

OneDrive sometimes spikes your CPU to 100%, making your PC sluggish. This usually happens because of sync loops, corrupted cache files, or too many files being processed at once. The quickest fix is to pause syncing, clear the cache, and reset the app. Below is a step-by-step guide to resolve it permanently.

What You'll Need

  • Administrator access to your Windows PC (to run commands and change settings)
  • Your Microsoft account password (you'll sign out and back in)
  • About 15–20 minutes of uninterrupted time

Step-by-Step

  1. Pause OneDrive 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 8 hours. This immediately stops the CPU-hungry sync process. If you don't see the icon, click the up arrow to show hidden icons.
  2. Close OneDrive completely. Right-click the same cloud icon and select Exit or Quit OneDrive. This stops all background processes. If the icon isn't there, open Task Manager (Ctrl+Shift+Esc), find “OneDrive” under Processes, right-click it, and choose End task.
  3. Clear the OneDrive cache. Open File Explorer and type %localappdata%\Microsoft\OneDrive\ in the address bar, then press Enter. Look for a folder named cache (or OneDrive\cache). Delete its contents (select all files inside, not the folder itself). Do not delete the whole OneDrive folder—that would remove your synced files. If you can't find a cache folder, skip to step 4.
  4. Reset OneDrive using the built-in tool. Press Windows + R, type onedrive.exe /reset, and press Enter. A command prompt window will flash and OneDrive will restart automatically. If it doesn't restart, launch OneDrive from the Start menu. This clears the local database and forces a fresh start.
  5. Re-launch OneDrive and sign in. Open OneDrive from the Start menu. If it asks you to sign in, use your Microsoft account. If it opens directly, sign out (right-click icon > Settings > Account > Sign out), then sign back in. This refreshes the connection.
  6. Check for a sync loop. After signing back in, watch the OneDrive icon for a few minutes. If it still shows “Processing changes” or “Syncing” with no progress, there may be a file stuck. Open OneDrive's settings (right-click icon > Settings > Account > Choose folders) and temporarily uncheck folders that you don't need immediately. This reduces the load.
  7. Update OneDrive. Right-click the cloud icon > Settings > About. If there's an “Update” button, click it. If not, your version is current. Outdated versions have known CPU bugs.
  8. Restart your PC. After all the above, restart your computer. This clears any lingering processes and gives OneDrive a clean slate.

Common Mistakes

  • Deleting the entire OneDrive folder – This removes your local files and can cause data loss. Only clear the cache folder's contents, not the main folder.
  • Skipping the reset step – The reset command is crucial because it rebuilds the sync database. Without it, the cache clear may not help.
  • Not pausing sync first – If you try to clear cache while OneDrive is running, files may be locked and the process will fail.
  • Ignoring the sync loop – If a specific file is stuck, just resetting won't fix it. You need to identify and remove or rename that file.

Tips

  • Limit OneDrive's bandwidth – In OneDrive settings (right-click icon > Settings > Network), set upload and download rates to a lower value. This reduces CPU usage during large syncs.
  • Use “Files On-Demand” – In Settings > Sync and backup, enable “Files On-Demand.” This makes files online-only by default, so OneDrive doesn't download everything at once, reducing CPU load.
  • Schedule sync during idle times – If you have a laptop, set OneDrive to pause syncing when on battery or during specific hours (Settings > Network > Pause syncing).
  • Keep your system updated – Windows updates often include fixes for OneDrive integration. Regularly check Windows Update.

Troubleshooting

If the above steps don't work:

  1. Check for a corrupted file. Open OneDrive's activity center (right-click icon > View sync activity). Look for files with errors. Right-click the file and choose “Clear” or “Resolve.” If it's a large file, try moving it out of OneDrive and back in.
  2. Run Windows System File Checker. Open Command Prompt as administrator (search “cmd”, right-click, Run as administrator) and type sfc /scannow. This repairs corrupted system files that might interfere with OneDrive.
  3. Reinstall OneDrive. Uninstall OneDrive from Settings > Apps > Apps & features. Then download the latest version from the official Microsoft website and install it. This is a last resort because it resets all settings, but it often fixes persistent CPU issues.
  4. Check for third-party antivirus conflicts. Some antivirus software scans every file OneDrive touches. Temporarily disable your antivirus (not Windows Defender) and see if CPU usage drops. If it does, add OneDrive to the antivirus's whitelist.

Frequently Asked Questions

Why does OneDrive use 100% CPU even when idle?

This often happens because OneDrive is stuck in a sync loop, constantly trying to upload or download a file that keeps changing. It can also be caused by a corrupted cache or a conflict with another program.

Will resetting OneDrive delete my files?

No. The reset command (onedrive.exe /reset) only clears the local sync database and cache. Your files remain on your PC and in the cloud. You'll need to sign in again after reset.

Can I disable OneDrive permanently to save CPU?

Yes, you can uninstall OneDrive or disable it from starting up. However, you'll lose automatic syncing of your files. If you only use OneDrive occasionally, you can set it to not start at boot (Task Manager > Startup > disable OneDrive).

Does OneDrive use more CPU on large files?

Yes, syncing large files (like videos or databases) requires more CPU and memory. If you have many large files, consider using “Files On-Demand” to keep them online-only and avoid downloading them all.

Is it safe to delete the OneDrive cache folder?

Yes, it's safe. The cache contains temporary data that OneDrive rebuilds automatically. Deleting it can actually fix corruption. Just make sure you only delete the contents of the cache folder, not the folder itself.

Why does OneDrive keep restarting after I close it?

OneDrive is set to start automatically with Windows. To stop it, open Task Manager (Ctrl+Shift+Esc), go to the Startup tab, right-click OneDrive, and select Disable. You can still launch it manually when needed.