Reset the OneDrive sync client first; unlike unlinking the PC, a reset rebuilds OneDrive’s local settings and sync database and is the most directly supported next step for this restart loop.
1. Reset the desktop sync client
Resetting does not delete local or cloud files, but it disconnects sync connections and triggers a full synchronization afterward.^1^
- Press Windows+R.
- Run:
%localappdata%\Microsoft\OneDrive\OneDrive.exe /reset
- If Windows cannot find that executable, run:
C:\Program Files\Microsoft OneDrive\OneDrive.exe /reset
- If that also fails, try:
C:\Program Files (x86)\Microsoft OneDrive\OneDrive.exe /reset
- Wait two minutes. Then open Start, search for OneDrive, and launch the desktop app manually.
- Sign in and select the existing OneDrive folder if prompted. Expect OneDrive to recheck all files; previously selected folder-sync settings might need to be selected again.
Because unlinking has already failed, do not unlink the PC again.
2. If it restarts during or before sign-in
Clear the pre-sign-in configuration used by the desktop client:
- Quit OneDrive if it remains open.
- Press Windows+R and enter:
%localappdata%\Microsoft\OneDrive\settings
- Delete only PreSignInSettingsConfig.json.
- Start OneDrive from Start and sign in again.
Microsoft documents removing this file as a workaround for stale OneDrive sign-in state.^2^
3. If the reset does not stop the loop, reinstall the correct app
Your files visible on OneDrive.com remain in the cloud when the desktop client is uninstalled.^3^
- Open Settings → Apps → Installed apps.
- Find Microsoft OneDrive, select … → Uninstall.
- Restart Windows.
- Download and install the Microsoft OneDrive backup and sync app using the download referenced in Microsoft’s reinstall instructions.
- Open the downloaded installer, sign in, and select the existing OneDrive folder when prompted.
Be careful not to install only OneDrive by Microsoft Corporation from Microsoft Store. That Store app can display cloud files, but it is not the desktop backup-and-sync client that integrates the synchronized OneDrive folder into File Explorer.^3^
Conditional checks
- If OneDrive shows “Couldn’t start Files On-Demand”: update Windows and any third-party antivirus software. Microsoft identifies legacy antivirus filters as a possible blocker for Files On-Demand.^2^
- If sign-in works on another network: test briefly through a phone hotspot. If OneDrive connects there, the normal network’s firewall or provider is blocking access; Microsoft recommends this test for connection failures during sign-in.^4^
- If the exact message is “OneDrive cannot connect to Windows”: that is a specific Files On-Demand condition with its own workaround, rather than a general cloud sign-in error.[^5^](https://support.microsoft.com/en-au/onedrive/onedrive-cannot-connect-to-windows-error-when-accessing-files-in-onedrive ""OneDrive cannot connect to Windows" error when accessing files in OneDrive | Microsoft Support")
There is no publicly documented known issue specifically matching OneDrive 26.212.1029.0006, Windows build 26300.10075, and continuous restarts. OneDrive versions are released gradually, and an installed version can be newer than the version currently shown in public release notes.^6^
If a reset, removal of PreSignInSettingsConfig.json, and clean installation of the desktop sync client all fail, use Contact Microsoft Support from the personal-account section of Microsoft’s reset page. Include the exact time of the latest restart loop, Windows build, OneDrive build, and any displayed error code.^1^
References
- Reset OneDrive | Microsoft Support
- [Error codes](https://support.microsoft.com/onedrive/what-do-the-onedrive-error-codes-mean)
- Reinstall OneDrive | Microsoft Support
- Can't sign in to OneDrive | Microsoft Support
- "OneDrive cannot connect to Windows" error when accessing files in OneDrive | Microsoft Support
- OneDrive Sync release notes - SharePoint in Microsoft 365 | Microsoft Learn