SharePoint Document Issues

How to Safely Remove a SharePoint Sync Folder from File Explorer

Olivia MillerOlivia Miller Oct 26, 2026 869 views

Question details

Users need to remove a locally synced SharePoint folder from File Explorer without deleting the original files stored in the cloud.

How to Safely Remove a SharePoint Sync Folder from File Explorer
Product
SharePoint
Device & OS
not provided
Scenario
Freeing up local storage or cleaning up the File Explorer interface by removing unneeded synchronized SharePoint folders.
Observed behavior
Deleting the folder directly removes files from both the local drive and the SharePoint server. The goal is to keep the cloud files intact while removing the local copy.
Before you start

Ensure you have a stable internet connection so that your OneDrive sync client can properly register the stop-sync command with the SharePoint server before any local files are deleted.

Solution 1Recommended

Stop Synchronization Before Deleting the Local Folder

The safest method to remove a local SharePoint folder without affecting the files in the cloud is to stop the synchronization process through your OneDrive settings before deleting anything.

SharePoint relies on the OneDrive sync client to mirror files to your local File Explorer. When sync is active, any deletion on your PC is automatically replicated in the cloud.

1
Open OneDrive Settings

Click the blue OneDrive cloud icon located in the Windows system tray (taskbar). Click on the gear icon and select 'Settings' from the menu.

2
Locate Synced Folders

Navigate to the 'Account' tab in the settings window. Here, you will see a list of all locations currently syncing to your computer.

3
Stop Syncing

Find the specific SharePoint folder you wish to remove and click the 'Stop sync' link next to it. Confirm the action if prompted.

4
Delete the Local Folder

Open File Explorer, navigate to the previously synced SharePoint folder, and delete it. Because synchronization has been stopped, this action will not delete the files on SharePoint.

Stop Synchronization Before Deleting the Local Folder
Recovering Accidentally Deleted Files: If you deleted the folder before stopping the sync, the files were likely moved to the cloud recycle bin. You can restore them from the SharePoint or OneDrive recycle bin within the standard 93-day retention period.
Free Microsoft Office alternative

Try WPS Office for Seamless Document Management

Looking for a fast, reliable, and lightweight way to manage your documents? WPS Office offers a powerful alternative to Microsoft Office, featuring high compatibility with standard document formats and built-in cloud solutions.

  1. 1. Download WPS Office: Visit the official WPS Office website to download the free installation package for your operating system.
  2. 2. Install and Launch: Run the installer and follow the on-screen instructions. Once installed, launch the application to explore its familiar interface.
  3. 3. Open Existing Documents: Directly open your existing Microsoft Word, Excel, or PowerPoint files within WPS Office without losing any formatting.
Fully compatible with Microsoft Office formats like Word, Excel, and PowerPointFree and lightweight Office suite that runs smoothly on almost any deviceBuilt-in WPS Cloud for secure file backup, synchronization, and easy accessFamiliar user interface for immediate productivity and quick onboarding
microsoft office alternative - wps office

Frequently Asked Questions

What happens if I delete a SharePoint folder without stopping the sync first?

If you delete a synced folder directly from File Explorer without clicking 'Stop sync' first, the files will be simultaneously deleted from your local drive, OneDrive, and the SharePoint cloud.

Can I recover files if I accidentally deleted them from an active SharePoint sync folder?

Yes, accidentally deleted files can usually be recovered. You can log into your SharePoint or OneDrive account on the web and restore the files from the online recycle bin, provided it is within the 93-day retention period.

Will stopping the sync delete my files on the SharePoint server?

No. Stopping the sync simply severs the connection between your local PC and the cloud. Your files remain completely safe and accessible on the SharePoint server.

How can I access my SharePoint files after stopping the local sync?

After stopping the local sync, you can continue to access all your SharePoint files by logging into your organization's SharePoint portal via a web browser.