Fix OneDrive Closes Immediately After Starting on Windows 11
Question details
The user needs to resolve an issue where the Microsoft OneDrive desktop application closes and system tray icons disappear immediately after launching and attempting to sign in.

- Product
- Microsoft OneDrive
- Device & OS
- Windows 11 64-bit
- Scenario
- Starting the OneDrive desktop app to sync files on a Microsoft 365 Family subscription.
- Observed behavior
- OneDrive opens File Explorer, attempts to sign in, and then stops running abruptly. Its status icons disappear from the system tray, and reinstalling the app only provides a temporary fix.
Before attempting these fixes, make sure you have saved any open files located in your local OneDrive folder and temporarily pause your antivirus software, as it may interfere with OneDrive's startup process.
Reset the OneDrive Application
Resetting the OneDrive desktop app can resolve continuous crashes by clearing corrupted app data and settings without deleting your personal files.
Running the built-in reset command forces OneDrive to clear its configuration cache and resync all connections. This is the most common fix when reinstalling the app only yields temporary results.
Press the Windows key + R simultaneously on your keyboard to open the Run dialog box.
Type the command %localappdata%\Microsoft\OneDrive\onedrive.exe /reset and press Enter.
If Windows cannot find the path in the previous step, open the Run dialog again and try C:\Program Files\Microsoft OneDrive\onedrive.exe /reset or C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset.
Wait a few minutes. If OneDrive doesn't launch automatically, open the Start menu, search for OneDrive, and click to start it.

Remove Stale Cached Credentials
Old or corrupted login credentials stored in Windows can cause OneDrive to fail during the sign-in phase and shut down automatically.
Check Windows Registry Policies
System policies might be configured to block OneDrive from running, which forces the app to close instantly.
Try WPS Office for a Hassle-Free Productivity Experience
If Microsoft 365 and OneDrive continue to experience sync and crash issues, consider switching to WPS Office. It provides a lightweight, free alternative with seamless file compatibility, an intuitive user interface, and reliable built-in cloud storage for easy file migration.
- 1. Download the Installer: Visit the official WPS website to download the free WPS Office installer optimized for Windows 11.
- 2. Sign In to WPS Cloud: Create a free account or log in to seamlessly access your built-in WPS Cloud storage.
- 3. Open Your Office Files: Open, edit, and save your existing Microsoft Office documents without any loss of formatting.

Frequently Asked Questions
Why does OneDrive keep crashing on Windows 11?
OneDrive may crash repeatedly due to corrupted application cache data, conflicting Windows registry policies, or stale saved login credentials. Reinstalling the app often isn't enough; manually resetting the application's cache usually resolves the underlying corruption.
Will running the OneDrive reset command delete my files?
No, resetting OneDrive via the command line will not delete any local or cloud files. It simply clears the application's configuration settings and triggers a full resync of your existing files once it restarts.
What if the reset command says Windows cannot find the file?
The OneDrive executable is located in different paths depending on your installation. If the %localappdata% path fails, try using 'C:\Program Files\Microsoft OneDrive\onedrive.exe /reset' or 'C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset'.
How do I create a new Windows user profile to test OneDrive?
Go to Settings > Accounts > Other users (or Email & accounts) and select 'Add account'. Follow the prompts to set up a new local account. Log into this new profile and check if OneDrive runs correctly there, which can indicate if your primary profile is corrupted.




