Forum Discussion
inframaster
May 14, 2025Copper Contributor
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
May 22, 2025Gold Contributor
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.
- inframasterMay 22, 2025Copper Contributor
Thank you for the answer.
Out of curiosity, where did you find such registry key?
I wonder why onedrive decide to unlink them in the first place!I will try it