← Al Davies, 250 High Street

How to stop syncing a SharePoint library without deleting the files

Stopping sync disconnects the folder on your computer from the library online, and Microsoft says the files in the old folder are kept. Microsoft's page does not say that files online are removed.

What is the worry?

The asker on Microsoft Q&A said: "I am concerned if I do the files will be deleted from SharePoint." That is a fair worry, so here is what the cited pages say and do not say.

What does Microsoft say happens?

Microsoft's support page on stopping a library says the computer folder is disconnected from its library and that all files are retained in the previously synced folder. It describes the change as a disconnect and does not say server files are removed.

That page covers the previous OneDrive sync app. Its steps there: click the OneDrive icon in the notification area, then the Settings icon, then Settings, then Account, then Choose folder, pick the folder and select OK. Microsoft says you can only stop a library in the previous app, and that if you still use the old Groove.exe client you should upgrade first. That page lists no steps for the current app, so check Microsoft's site for your version.

What if I want a pause, not a stop?

Microsoft says to use Pause syncing if you want to stop for a while and keep the connection. In the new sync app you can choose 2 hours, 8 hours or 24 hours.

What happens to files after you stop?

A Microsoft Q&A answer says stopping a sync removes the Online Only files from the synced folder, while files downloaded to the device stay on the PC but are no longer synced. In another Q&A thread, the asker reported that after Stop Sync, deleting the local files did not affect SharePoint. A tester in that same thread deleted a folder that was still syncing, and it was deleted from the SharePoint site too, so stop the sync before you delete anything.

Microsoft's support page adds a warning. After you stop syncing, you can delete files from either the computer or the online library. If you delete a file online and then sync again, it is deleted from your computer too. Syncing the library later makes a new folder, with a number added if the name is taken.

What if the folder keeps coming back in File Explorer?

In the same Q&A thread, the folder kept reappearing for one person. The answer said to check that the status icon is blank and try deleting it, and otherwise to open a support ticket in the Microsoft 365 admin center, which only admins can do. The thread did not confirm a registry fix, so do not edit the registry based on it.

What is a safe order of steps?

Open the library online and check the files are there, stop the sync, then look at the old folder on your computer before you delete anything. If a file you need is only in the folder, copy it somewhere safe first. If someone else may still have a file locked, read about a file someone else has locked. For flows that read a library, see the folder trigger for new files.

Want a simpler way to share files?

Al Davies builds tools that cut busywork and missed steps for teams. The first call is free and takes 45 minutes.

FAQ

Does stopping sync delete my files online?

Microsoft's page describes a disconnect and does not say server files are removed.

What if I want to pause only?

Microsoft says to use Pause syncing, with 2, 8 or 24 hour choices in the new sync app.

Will the old folder keep my files?

Microsoft says all files are retained in the previously synced folder.

Sources