Others

Fix OneDrive Crashing Before Login Screen on Windows

Tauseeq MagsiTauseeq Magsi Oct 29, 2026 869 views

Question details

Microsoft OneDrive crashes abruptly before the sign-in screen appears, making it impossible to log in, set up an account, or synchronize files.

How to Fix OneDrive Crashing Before the Login Screen
Product
Microsoft OneDrive
Device & OS
Windows
Scenario
Attempting to launch or sign into the desktop application to sync personal or work files.
Observed behavior
The application window closes unexpectedly before reaching the login prompt, and standard uninstallation and reinstallation do not resolve the issue.
Before you start

Ensure your Windows operating system is up to date and temporarily save any open documents locally to prevent data loss during troubleshooting.

Solution 1Recommended

Reset the OneDrive Application

Executing a manual reset clears the application's configuration and cache, which often resolves unexpected startup crashes without affecting your stored files.

Resetting Microsoft OneDrive can fix syncing problems and startup crashes. This process resets all OneDrive settings, so it will perform a full sync afterward, which might take some time depending on your file volume.

1
Open the Windows Run dialog

Press the Windows key + R simultaneously on your keyboard to open the Run command window.

2
Run the reset command

In the text box, type exact path `%localappdata%\Microsoft\OneDrive\OneDrive.exe /reset` and click OK or press Enter.

3
Restart OneDrive manually

Wait for a couple of minutes. The OneDrive cloud icon should disappear from the system tray and reappear. If it does not restart automatically, open the Windows Start menu, type "OneDrive" in the search bar, and click the application to launch it.

Reset the OneDrive Application
Data Safety: Resetting OneDrive does not delete any of your files. It only resets the application preferences and initiates a fresh synchronization process.
Free Microsoft Office alternative

Try WPS Office for Seamless Document Management

While troubleshooting Microsoft OneDrive issues, you need a reliable suite to keep your work flowing. WPS Office is a free, lightweight alternative to Microsoft Office that offers robust tools and its own integrated cloud storage solution, ensuring your documents remain safe and accessible across all devices.

  1. 1. Download and Install: Visit the WPS Office website to download the free installer and follow the simple on-screen instructions to set it up.
  2. 2. Sign In to WPS Cloud: Launch the application and create a free account to instantly activate your personal cloud storage space.
  3. 3. Edit and Sync: Open any existing Microsoft Office document. Your changes will automatically save and sync to WPS Cloud without relying on external sync clients.
Comes with 1GB of free WPS Cloud storage for easy and reliable file synchronization.Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation that runs smoothly on older and newer Windows PCs.All-in-one interface allowing you to open documents, spreadsheets, and PDFs in a single window.
microsoft office alternative - wps office

Frequently Asked Questions

Will I lose my files if I reset OneDrive using the Run command?

No, executing the reset command only clears the application's system cache and resets its settings. All your local files on your PC and your data stored in the cloud will remain completely safe and untouched.

Why does OneDrive crash immediately upon opening?

Immediate crashes are typically caused by corrupted application cache files, an outdated client version, conflicting background services, or a corrupted Windows user profile. A clean reset usually clears the corrupted cache causing the failure.

How do I access my files while the OneDrive desktop app is crashing?

Even if the desktop application is failing to launch, you can access, upload, and download all your synced files by visiting the OneDrive website through any web browser and signing in with your Microsoft account.

What should I look for in the Event Viewer to diagnose the crash?

In Event Viewer (Windows Logs > Application), look for 'Application Error' events where the Faulting Application Name is OneDrive.exe. The Faulting Module Name and Exception Code (e.g., 0xc0000005) can help identify if a specific DLL file or permission issue is causing the crash.