Fix OneDrive Stuck on Getting Things Ready to Sync
In this article
If OneDrive is stuck on “Getting things ready to sync,” the quickest fix is to restart the OneDrive app, then sign out and back in. If that doesn't help, reset OneDrive using its built-in reset command or clear the sync cache. Below are the exact steps, in order, with what to do if each one fails.
What You'll Need
- Windows PC or Mac with OneDrive installed
- Your Microsoft account credentials (email and password) to sign back in
- Administrator access on the computer (for some reset steps)
- Internet connection
Step-by-Step
- Fully quit OneDrive. Right-click the OneDrive cloud icon in the system tray (Windows) or menu bar (Mac) and select Exit or Quit OneDrive. If the icon isn't visible, click the up arrow in the system tray to show hidden icons. On Mac, also check the menu bar icons.
- Restart OneDrive. Open the Start menu (Windows) and type “OneDrive,” then press Enter. On Mac, open Finder > Applications and double-click OneDrive. Wait 30 seconds and see if the sync starts.
- Sign out and back in. If still stuck, right-click the OneDrive icon and choose Settings (Windows) or Preferences (Mac). Go to the Account tab and click Sign out. Confirm. Then sign in again with your Microsoft account. This re-establishes the sync connection.
- Reset OneDrive (Windows only). Press Win + R to open the Run dialog. Type the following exactly and press Enter:
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
A command prompt window may flash. Wait a few minutes. OneDrive should restart automatically. If it doesn't, open Start and type “OneDrive” to launch it manually. - Reset OneDrive (Mac). Quit OneDrive completely. Open Terminal (Finder > Applications > Utilities > Terminal) and run:
killall OneDrive
Then run:~/Applications/OneDrive.app/Contents/MacOS/OneDrive
This relaunches OneDrive with a fresh sync state. - Clear the sync cache (Windows). If the reset didn't work, close OneDrive completely. Press Win + R, type
%localappdata%\Microsoft\OneDrive\cache, and press Enter. Delete everything inside that folder (but not the folder itself). Then restart OneDrive. This forces a full re-sync of file metadata. - Clear the sync cache (Mac). Quit OneDrive. Open Finder and press Cmd+Shift+G, type
~/Library/Application Support/OneDrive, and press Enter. Look for a folder named Cache or Logs. Delete the contents of the Cache folder. Then relaunch OneDrive. - Check for updates. In OneDrive settings (right-click icon > Settings), go to the About tab and click Check for updates. Install any available update and restart OneDrive.
- Pause and resume sync. Right-click the OneDrive icon and choose Pause syncing (select 2 hours). After it pauses, right-click again and choose Resume syncing. This sometimes clears a stuck state.
- Run the sync troubleshooter (Windows). Open Settings > System > Troubleshoot > Other troubleshooters (Windows 11) or Settings > Update & Security > Troubleshoot (Windows 10). Find “OneDrive” and run it. Follow the prompts.
Common Mistakes
- Not fully quitting OneDrive before resetting. The reset command won't work if OneDrive is still running in the background. Always exit completely first.
- Deleting the wrong folder. When clearing the cache, only delete the contents of the cache folder, not the entire OneDrive folder or your actual synced files.
- Skipping the sign-out step. A simple sign-out refreshes the authentication token and often fixes the issue without a full reset.
- Ignoring a pending restart. If Windows has a pending update, OneDrive may not start properly. Restart the PC before troubleshooting further.
Tips
- Make sure your system date and time are correct. An incorrect clock can cause sync authentication failures.
- If you have a large number of files, give OneDrive more time. The “Getting things ready” phase can take several minutes on first sync or after a big change.
- Keep OneDrive updated automatically. On Windows, it updates via Microsoft Store; on Mac, via the App Store or the standalone updater.
- If you use a VPN or proxy, temporarily disable it to see if that's interfering with the sync connection.
Troubleshooting
If the steps above don't resolve the issue, try these in order:
- Restart your computer. This clears any temporary file locks that might be blocking OneDrive.
- Check Microsoft's service status. Visit the Microsoft 365 Service Status page (admin.microsoft.com/Adminportal/Home#/servicehealth) to see if there's an ongoing outage. If there is, wait and retry later.
- Reinstall OneDrive. Uninstall OneDrive from Control Panel (Windows) or Applications (Mac). Then download the latest version from Microsoft's official site and reinstall. Sign in again. This will not delete your local files, but it will reset all sync settings.
- Check for conflicting software. Antivirus or backup software that locks files can interfere. Temporarily disable real-time protection (if you know how) and test. Re-enable after.
- Move your OneDrive folder. If your OneDrive folder is on an external drive or a network location, move it back to the default local drive (C:\Users\YourName\OneDrive). You can do this via OneDrive settings > Account > “Choose folders” or by unlinking and relinking.
- If nothing works, contact Microsoft support. Use the “Contact Support” link in the OneDrive settings or the Microsoft 365 admin center. They can check server-side issues.
Frequently Asked Questions
Will resetting OneDrive delete my files?
No. The reset command and cache clearing only remove sync metadata and temporary files. Your actual files remain on your computer and in the cloud.
Why does OneDrive get stuck on “Getting things ready” after a Windows update?
Windows updates can change file permissions or leave background processes running that conflict with OneDrive. A sign-out and sign-in, or a reset, usually clears it.
Can I fix this without signing out?
Sometimes a simple restart works, but signing out is the most reliable low-level fix because it refreshes your authentication token.
How long should I wait before trying a reset?
Wait at least 10 minutes after restarting OneDrive. Large libraries can take a while. If it's still stuck after 15–20 minutes, proceed with the reset.
Does this work on OneDrive for Business?
Yes, the same steps apply to OneDrive for Business, but you may need to sign in with your work account and the reset command path might differ slightly (check with your IT admin).
What if I see an error code?
Look up the exact error code on Microsoft's support site. Codes like 0x8004de40 often indicate a sign-in issue, which the sign-out/back-in step fixes.