Forum Discussion

inframaster's avatar
inframaster
Copper Contributor
May 14, 2025
Solved

OneDrive unlink a sharepoint site on its own

Hello, I admit, this is a weird one. 10 users have a sharepoint site synced to their computer, using onedrive "sync" feature. Everything works fine. Out of the blue, one of the users complains th...
  • NikolinoDE's avatar
    May 22, 2025

    Maybe you can Use OneDrive Group Policy to Prevent Auto-Unlinking.

    You can apply this registry-based Group Policy to suppress auto-unsync behavior:

    Policy Name: Prevent users from syncing libraries and folders OneDrive considers invalid
    Registry Key:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive]

    "DisableLibraryUnlinking"=dword:00000001

     

    This tells OneDrive not to unsync libraries automatically if they temporarily appear unavailable.

    Deploy via GPO or Intune.

     

    My answers are voluntary and without guarantee!

     

    Hope this will help you.

Resources