logo
search
OneDrive File Issues

How to Fix OneDrive Keeping Syncing a Deleted File on Mac

WPS Content ManagerWPS Content Manager Sep 25, 2026 870 views

Question details

The user needs to stop OneDrive from repeatedly attempting to sync or download a file that has already been permanently deleted.

How to Fix OneDrive Continuously Syncing a Deleted File on Mac
Product
Microsoft OneDrive
Device & OS
macOS 15.0.1 (Apple Silicon)
Scenario
A file with an unusually long path, its parent folders, and the recycle bins were all deleted and emptied, yet the OneDrive client is stuck in a loop attempting to sync it.
Observed behavior
OneDrive continuously attempts to download the deleted file, and standard troubleshooting like unlinking and relinking the user account fails to resolve the sync loop.
Before you start

Before proceeding, ensure your Mac is connected to a stable internet connection and that you have your administrator password ready, as resetting the OneDrive app requires system permissions.

Solution 1Recommended

Reset the OneDrive App on Mac

Resetting OneDrive clears the local sync cache and forces the app to rebuild its database, which is highly effective for fixing stuck sync loops involving unusually long file paths.

This process will not delete your data, but it will resync all your OneDrive data, which may take some time depending on your library size.

1
Quit the OneDrive App

Click the OneDrive cloud icon in your Mac menu bar, click the gear icon (Help & Settings), and select 'Quit OneDrive'.

2
Locate the App Package

Open Finder, navigate to the Applications folder, right-click the OneDrive app, and select 'Show Package Contents' from the context menu.

3
Run the Reset Command

Navigate to Contents > Resources. Double-click the file named 'ResetOneDriveApp.command' (or 'ResetOneDriveAppStandalone.command' if you are using the standalone version).

4
Restart OneDrive

Once the script finishes executing, open OneDrive from the Applications folder and sign back in to allow the app to rebuild the sync state.

Reset the OneDrive App on Mac
Verified Fix: This method has been confirmed to resolve sync loops involving unusually long file paths on macOS 15.0.1 (Apple Silicon).
Free Microsoft Office alternative

Enhance Your Mac Workflow with WPS Office

While troubleshooting Microsoft OneDrive sync issues on your Mac, consider upgrading your document productivity. WPS Office offers a free, lightweight, and incredibly fast alternative to Microsoft Office, featuring full format compatibility and its own seamless cloud integration to keep you productive without the hassle of sync loops.

  1. 1. Download the App: Download and install WPS Office for Mac directly from the official website.
  2. 2. Sign In for Cloud Access: Sign in to activate your free WPS Cloud space for secure, loop-free document syncing.
  3. 3. Open Your Files: Open your existing Microsoft Office documents to enjoy smooth editing with perfect formatting.
Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Built-in seamless cloud sync (WPS Cloud) to securely save and access your files without persistent sync loops.Lightweight installation optimized for macOS and Apple Silicon, utilizing minimal system resources.An all-in-one suite combining Writer, Spreadsheet, Presentation, and a PDF editor in a single window.
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive keep trying to sync a file I already deleted?

This typically occurs when the local sync cache becomes corrupted or if the deleted file had an unusually long file path that exceeds macOS or OneDrive limitations, causing the client application to get stuck in a continuous sync loop.

Will unlinking my OneDrive account delete my local Mac files?

No, unlinking your account only stops the synchronization process between your Mac and the cloud servers. Your locally downloaded files will remain safely intact in your Mac's OneDrive folder.

Where can I find the ResetOneDriveApp.command on Mac?

You can locate the reset command by right-clicking the OneDrive application in your Applications folder, selecting 'Show Package Contents', and navigating to the Contents > Resources directory.

What should I do if resetting OneDrive doesn't fix the syncing loop?

If resetting fails, you should completely uninstall the OneDrive application, clear out its residual support files from ~/Library/Application Support/, and reinstall the latest standalone version. Alternatively, creating a new macOS Administrator user profile can rule out local profile corruption.