Stop syncing my SharePoint library with OneDrive desktop application, and remove all local copies

john john 946 Reputation points
2022-04-07T18:44:34.563+00:00

I have synced some document libraries with OneDrive desktop application:-

191073-image.png

now i want to stop the sync and remove all local copies, but i do not want the online files to be affected..

I find this way, but not sure if it is the correct way:-

1) right click on the OneDrvive icon inside my windows tray area >> click on settings >> then under "Account" tab >> click on "stop sync" for the intended library/s:-

191085-image.png

2) After the unlink >> to delete all the files from my local PC and recycle bin.

are the above 2 steps valid?

Thanks

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,300 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,810 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Xuyan Ding - MSFT 7,561 Reputation points
    2022-04-08T06:24:03.36+00:00

    Hi @john john

    1.The online files in libraries will not be affected after you cancel the synchronization and delete the local copies.
    2. You did the right operation to set the OneDrive.
    By the way, OneDrive will automatically remove the online files after canceling the synchronization and remain the locally available files, so if your synced files are all online, your operation to delete the local copies is unnecessary.
    191176-screenshot-2022-04-08-110845.png

    Per my test, synchronizing:
    191139-image.png
    After canceling the sync, only the local files are left, and the online files in the folder are also removed.
    191254-image.png 191140-screenshot-2022-04-08-111414.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.