Stop syncing a library with the OneDrive for Business app
If you’ve synced OneDrive for Business or a SharePoint site library to folders on your computer, you can stop syncing these folders at any time. When you stop syncing a folder, you disconnect the folder on your computer from the library on the server. You can always sync the library to your computer again.
Why stop syncing a library?
Usually, you stop syncing when you no longer need to sync updates between the folder and the library on the server, or because you’ve completed a project. If something goes wrong with the connection between the folder and the library on the server, you can often fix the problem by stopping the current sync relationship, and Sync files with the OneDrive sync client in Windows, as if for the first time.
Note: If you’re having sync problems, you can also run Repair. Repair disconnects and reconnects all libraries you’re currently syncing.
You can also pause syncing a folder. This allows you to temporarily stop syncing a folder without disconnecting it from the library on the server. You might pause syncing if you don’t want to use your system resources for syncing at the present time. You can resume syncing at any time.
Syncing a OneDrive for Business library is a function of Windows and the OneDrive for Business app, and is specific to your computer. You can only pause and stop syncing from your local computer, not from the online app.
Once you've stopped syncing a set of files, you can delete them from either your local computer, or from OneDrive for Business. If you delete a file from OneDrive for Business online, and then sync again, that file will be deleted from your local computer.
You can stop syncing a library, but not individual files or folders under that library.
Note: You can only stop syncing a library if you're using the previous OneDrive for Business sync client. Not sure which sync client you're using?
When you stop syncing a folder, the folder is disconnected from its library. All files are retained in the previously synced folder. You can sync the library to your computer again at any time. When you start syncing a library again, it will create a new folder on your computer. If it's using the same name, it will add a number to the end, such as 1, 2, and so on.
Right click the OneDrive for Business icon in the Windows notification area at the bottom of your screen, and then click More… then click Settings.
Note: If the OneDrive for Business icon isn't visible, click the Show hidden icons button in the notification tray. If you still don't see the icon, OneDrive for Business might not be running. Go to Start, type OneDrive in the search box, and select OneDrive for Business.
Select the folder you want to stop syncing, and then click Stop syncing.
Click Yes to agree to permanently stop syncing the folder, and then click OK.