Forum Discussion

Dean_Gross's avatar
Dean_Gross
Silver Contributor
Feb 23, 2018

Unable to Delete Doc Library synced folder from Windows Explorer

Using Windows 10 OneDrive Sync client (17.005.0107.0008), synced a document library from SPO with one file.  

In windows Explorer, right clicked on synced doc library, received error message that the Action can't be completed because the folder or file is open in another program. The file was deleted from SPO and shows up in the Recycle bin, but the folder can't be deleted from Windows Explorer. Is this expected behavior? Is it due to the fact the library has been synced? 

 

Stephen Rose  Salvatore Biscari

  • Right click on the Windows Explorer Tenant folder - click on settings.  Click on 'Stop Sync' for the folder you want to delete. Hit OK.  Now you can delete the folder.

    ..At least my experience for O365 SharePoint Sync.

    • NickVanMaele's avatar
      NickVanMaele
      Copper Contributor

      David ChamberlainThanks. This works on most folders, but not on all. Two folders refuse to disappear from the Windows Explorer view. A pop-up windows displays this error: 

      Title: "Location is not available."

      Error text: "C:\users\<abc>\<sharepointname> - documents\<channelname>\<projectname>\...\ABC is not accessible. The tag present in the reparse point buffer is invalid."

       

      I found a post on that error on this link

       

      In the above path, <abc> represents my user name, <sharepointname> represents a SharePoint site of which I sync the entire document folder to Windows. <channelname> is a document subfolder and also a channel in Teams. <projectname> is the name of a project. The entire path C:\...\ABC is a 14-level deep folder tree. ABC is the lowest level folder and contains no files. 

       

      The relevant history is that this folder structure had contained project documentation, but the full tree, starting from <channelname> on down had been moved to a new SharePoint site. The path above was the longest one in the tree, and perhaps this triggered a bug. 

       

       

      • kjunkov3s's avatar
        kjunkov3s
        Copper Contributor
        I have the same or similar issue.

        A specific folder cannot be deleted or accessed. The folder is part of a OneDrive teams folder shared via MS Teams and locally synced in Windows.

        The error I get when trying to access the folder is:
        "Location is not available"
        <Path to folder> "is not accessible.
        "The tag present in the reparse point buffer is invalid"

        Really annoying. Please fix.
        Best
  • Is your OneDrive under a preservation policy? If so you cannot delete folders.... which kind of makes the feature pretty bad experience. Hoping it's being looked at on the compliance side. You can tell if you look at the site contents of your OneDrive site and see if you have the preservation library. I forget what it's called off the top of my head.

    If not could be something else I guess, but I would look there.
    • Dean_Gross's avatar
      Dean_Gross
      Silver Contributor

      Thanks, but it is not a users onedrive site, it a document library from a team site. 

      • Deleted's avatar
        Deleted
        Same rules apply. If SharePoint is under preservation/hold etc.

Resources