After a system restart, OneDrive for Business may repeatedly restart the sync process for shared libraries without ever completing a full sync. This looping behavior is most common on slow or metered network connections where the initial sync handshake times out. The sync cycle creates constant disk activity, high CPU usage, and prevents any files from being available offline. This article explains why the restart triggers the loop and provides specific fixes to stop the cycle and stabilize sync on slow networks.
Key Takeaways: Stopping Shared Library Sync Loops After Restart
- OneDrive Settings > Sync and backup > Advanced settings > Download rate: Throttles the sync speed to prevent timeouts on slow connections.
- OneDrive Settings > Sync and backup > Manage backup > Stop backup: Disconnects Known Folder Move libraries that may compete for bandwidth with shared libraries.
- Registry key HKCU\Software\Microsoft\OneDrive\Accounts\Business1\ThrottlingAutoModeDisabled: Set to 1 to force manual throttling and prevent aggressive retry behavior after restart.
Why OneDrive Shared Library Sync Loops After Restart on Slow Networks
When Windows starts, OneDrive resumes sync for all configured libraries including shared libraries from other organizations or teams. On a slow network, the initial connection handshake and metadata download for a shared library may exceed the default timeout window. OneDrive detects the failure, marks the library as needing a full resync, and restarts the process from the beginning. This creates an infinite loop because the network conditions do not improve between retries.
The root cause is OneDrive’s aggressive retry logic combined with a lack of bandwidth throttling for shared library sync. The default sync engine does not distinguish between a personal library and a shared library when allocating network resources. After a restart, all libraries attempt to sync simultaneously, overwhelming the slow connection. The shared library fails first due to its larger metadata set and triggers the restart loop.
Network Timeout and Retry Behavior
OneDrive uses a default HTTP timeout of 30 seconds for initial sync requests. On a slow network, downloading the shared library’s file listing can take longer than 30 seconds. The sync engine interprets this as a network error and schedules a full retry after a brief pause. After each restart, the same timeout occurs, and the loop continues indefinitely until the network improves or the sync settings are changed.
Steps to Break the Sync Loop and Stabilize Shared Library Sync
The following steps stop the active loop and configure OneDrive to handle slow networks properly. Perform these steps in order. If your computer is currently stuck in a loop, start with Step 1 to pause sync immediately.
- Pause all sync activity
Right-click the OneDrive cloud icon in the system tray. Select Pause syncing then choose 2 hours. This stops all sync threads including the looping shared library. Wait 30 seconds for the current retry to finish before proceeding. - Open OneDrive advanced sync settings
Right-click the OneDrive cloud icon and select Settings. Go to the Sync and backup tab. Click Advanced settings under the Sync and backup section. - Reduce the download rate limit
In the Advanced settings window, locate Download rate. Change the value from Not limited to Limit to and set a value between 100 KB/s and 500 KB/s. For a slow network, start with 100 KB/s. This prevents the sync engine from sending a burst of data that causes the timeout. - Set the upload rate limit
Below the download rate, find Upload rate. Set it to Limit to and choose 100 KB/s. Limiting uploads frees bandwidth for the shared library download. - Disable automatic throttling via Registry
Press Win + R, type regedit, and press Enter. Navigate to HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\Business1. Right-click the right pane, select New > DWORD (32-bit) Value. Name it ThrottlingAutoModeDisabled. Set its value to 1. Close Registry Editor. This forces OneDrive to use the manual throttling limits you set instead of its automatic aggressive retry logic. - Resume sync and monitor the shared library
Right-click the OneDrive cloud icon and select Resume syncing. Open File Explorer and navigate to the shared library. Watch the sync status column. The library should start downloading metadata slowly without restarting. If the loop returns, repeat steps 1 through 5 and reduce the download rate further to 50 KB/s.
If OneDrive Still Has Sync Loops After the Main Fix
OneDrive restarts sync for all libraries after resume
After pausing and resuming, OneDrive may still restart sync for all libraries because of a corrupted sync database. Open OneDrive settings, go to Sync and backup > Advanced settings, and click Unlink this PC. Confirm unlinking. Set up OneDrive again by signing in. This rebuilds the sync database and clears any stuck retry markers. After relinking, reapply the download rate limits from the steps above before any library syncs.
Shared library shows a grey cloud icon and never syncs
A grey cloud icon with a pause symbol indicates the library is excluded from sync. Right-click the library in File Explorer, select OneDrive > Settings, and ensure Sync this library is checked. If it is already checked, uncheck it, click OK, then recheck it. This forces a fresh sync request that respects the throttling limits.
Sync loop only happens after a Windows Update
Windows Updates can reset OneDrive throttling settings to default. After an update, repeat steps 3 through 5 from the main fix. To prevent this, export the registry key HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\Business1 as a .reg file and reapply it after each update by double-clicking the file.
Manual Throttling vs Automatic Throttling: Key Differences for Shared Libraries
| Item | Manual Throttling (Registry Disabled) | Automatic Throttling (Default) |
|---|---|---|
| Download rate control | User-defined fixed limit | Dynamically adjusted by OneDrive based on network speed |
| Retry timeout | Standard 30-second timeout per chunk | Aggressive retry with 10-second timeout on slow networks |
| Behavior after restart | Slow, steady sync with no restart loops | Immediate burst sync that causes timeout and loop |
| Recommended for | Slow networks under 5 Mbps | Fast networks over 25 Mbps |
Manual throttling with the registry override is the only reliable method to stop shared library sync loops on slow networks. Automatic throttling is designed for stable connections and will keep restarting sync on slow links.
You can now stop the shared library sync loop after restart by applying the download rate limit and the registry key. The next time your computer restarts, OneDrive will sync the shared library slowly without restarting. For additional stability, consider disabling Known Folder Move for desktop and documents on the same slow network to reduce the total sync load.