logo
search
OneDrive File Issues

How to Fix OneDrive Not Syncing After Deleting Files on a Laptop

Maira MehtabMaira Mehtab Sep 20, 2026 869 views

Question details

The user is experiencing an issue where files deleted from the local OneDrive directory are not being removed from the cloud, and the OneDrive client has completely stopped synchronizing.

Product
OneDrive
Device & OS
not provided
Scenario
Attempting to keep local folders and cloud storage in sync after deleting files on a laptop.
Observed behavior
The OneDrive client stops synchronizing correctly, leaving locally deleted files still accessible online in the cloud storage.
Before you start

Before beginning the troubleshooting process, sign in to your OneDrive account through a web browser and manually download copies of any critical files to ensure you do not lose important data during a client reset.

Solution 1Recommended

Check Sync Status and Reset the OneDrive Client

Resetting the OneDrive client can clear stuck synchronization processes and resolve conflicts caused by local deletions that fail to register with the server.

A client reset restarts the synchronization engine from scratch. It does not delete any of your files, but it will perform a full scan of your directory once it restarts, which may take some time depending on the number of files you have.

1
Check for Sync Errors

Click the OneDrive cloud icon in your system tray (Windows) or menu bar (Mac) to see if there are specific error messages or files displaying a red 'X' or sync pending status.

2
Open the Run Dialog

If you are on Windows, press the Windows key + R on your keyboard to open the Run dialog box.

3
Execute the Reset Command

Type '%localappdata%\Microsoft\OneDrive\onedrive.exe /reset' and press Enter. The OneDrive icon will disappear from the taskbar and should reappear after a minute or two.

4
Restart OneDrive Manually (If Needed)

If the OneDrive icon does not automatically reappear, open your Start menu, search for 'OneDrive', and click the application to launch it and resume syncing.

Mac Users: If you are using a Mac, you can reset OneDrive by quitting the app, navigating to the Applications folder, right-clicking OneDrive to select 'Show Package Contents', and running the ResetOneDriveApp.command file located in Contents/Resources.
Free Microsoft Office alternative

Experience Hassle-Free Document Management with WPS Office

If you are tired of dealing with synchronization errors and complex settings in Microsoft services, consider switching to WPS Office. It provides a lightweight, free alternative to Microsoft Office, offering built-in cloud support, full compatibility with Office formats, and a stable working environment for all your documents.

  1. 1. Download and Install: Visit the official WPS Office website to download the free installer. Follow the on-screen instructions to complete the setup on your laptop.
  2. 2. Sign In to WPS Cloud: Launch WPS Office and create or sign in to your free account to activate the built-in cloud synchronization features.
  3. 3. Open and Edit Your Files: Drag and drop your existing Microsoft Office documents into WPS to begin editing immediately without worrying about formatting loss.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx) to ensure seamless file sharing.Built-in WPS Cloud storage offers a reliable, error-free alternative for backing up and syncing your important files.Lightweight installation ensures smooth and fast performance, even on older laptops.Familiar, intuitive user interface requires zero learning curve to get started.
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive stop syncing when I delete files locally?

This typically occurs if OneDrive encounters a conflict between the local deletion command and the cloud state. It often happens if 'Files On-Demand' is enabled and the synchronization process was interrupted before the Microsoft server could acknowledge the deletion.

Will unlinking my OneDrive account delete my local files?

No, unlinking your account only stops the synchronization process between your laptop and the cloud. Your locally downloaded files will remain safely on your computer's hard drive.

How do I ensure files are deleted both locally and online?

Before deleting files, ensure the OneDrive client is actively running and displaying an 'Up to date' status. When you delete a file in the local OneDrive folder while the app is actively syncing, it will automatically send the deletion command to the cloud.

Can I recover files if I accidentally delete them from the OneDrive cloud?

Yes. Files deleted from OneDrive are moved to the online Recycle Bin. You can log into OneDrive via your web browser, navigate to the Recycle Bin on the left sidebar, and restore your deleted files within 30 days (or 93 days for work/school accounts).