Because resets, reinstalls, and a second administrator profile produce the same crash, test OneDrive in a Windows clean-boot environment to identify a device-wide background service or startup-app conflict.
1. Test OneDrive in a clean boot
A clean boot temporarily starts Windows without non-Microsoft services and startup applications.
- Select Start, type msconfig, and open System Configuration.
- Open Services.
- Select Hide all Microsoft services—do not skip this checkbox.
- Select Disable all, then Apply.
- Open Startup → Open Task Manager.
- Disable each enabled startup item, recording what you disable.
- Restart Windows and try signing in to OneDrive.
These changes temporarily disable third-party background functionality. Microsoft documents the clean-boot procedure and the process of re-enabling items in groups to find the conflicting component.^1^
- If OneDrive works: re-enable half the disabled services/startup items at a time, restarting after each change, until the conflicting application is identified. Common categories to investigate include third-party security, VPN, filtering, and laptop-vendor utility software.
- If it still crashes: restore normal startup and continue below.
2. Separate an account problem from a network or app problem
- Sign in to the same personal Microsoft account through the Microsoft Account dashboard or OneDrive website.
- If browser sign-in succeeds, test the laptop using a phone’s mobile hotspot rather than the normal Wi-Fi.
- Launch OneDrive and try signing in again.
Microsoft recommends the hotspot test when a firewall or internet provider may be blocking OneDrive.^2^
Interpret the result as follows:
- Works on the hotspot: investigate the router, ISP filtering, VPN, firewall, or security software.
- Fails on every network but works in a browser: continue with local sign-in-state cleanup.
- Browser sign-in also fails: use the Microsoft account sign-in helper from the support page rather than troubleshooting the desktop client further.
3. Clear the pre-sign-in state not necessarily removed by a reinstall
This is different from performing another OneDrive reset:
- Press Windows+R.
- Enter:
%localappdata%\Microsoft\OneDrive\settings
- Delete PreSignInSettingsConfig.json.
- Restart Windows and launch OneDrive.
Microsoft documents deleting this file when locally stored OneDrive credentials have expired.^3^ This does not delete files stored online.
4. Capture the actual crash record
If OneDrive closes again:
- Right-click Start → Event Viewer.
- Open Windows Logs → Application.
- Reproduce the crash and refresh the log.
- Find the Error at the matching time—typically an Application Error or Windows Error Reporting entry.
- Record:
- Faulting application
- Faulting module
- Exception code
- Event ID
- OneDrive version
- Use Save Selected Events to export the record.
Event Viewer is the supported Windows location for application event details, error codes, and exportable logs.^4^
If the faulting module is a Windows component, run these commands from Terminal (Administrator), restart, and retest:
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
Microsoft documents DISM followed by SFC for repairing the Windows image and protected system files.^5^
Support escalation
Microsoft’s current known-issues page does not list Windows OneDrive crashing during sign-in as a published active issue, so the Event Viewer crash details are important when escalating.^6^
For a personal account, use Contact Microsoft Support from the bottom of the OneDrive sign-in support page. If the web flow remains unavailable, Microsoft also documents opening OneDrive on a mobile device and gently shaking it to reach support.^3^ Include the exported event, exact crash time, laptop model, Windows version, and the clean-boot/hotspot results.
References
- [Windows 11](https://support.microsoft.com/windows/experience/startup-boot/how-to-perform-a-clean-boot-in-windows)
- Can't sign in to OneDrive | Microsoft Support
- Clear OneDrive cached credentials | Microsoft Support
- System configuration tools in Windows | Microsoft Support
- [Windows 11](https://support.microsoft.com/windows/deployment/updates-lifecycle/troubleshoot-problems-updating-windows#repair-hard-drive-errors)
- Fixes or workarounds for recent issues in OneDrive