Fix OneDrive “Did You Mean to Switch Apps?” Prompt in Windows 10
Question details
The user wants to stop the OneDrive confirmation prompt that appears when selecting Open and then Open in app for a file in Windows 10.
- Product
- Microsoft OneDrive
- Device & OS
- Windows 10
- Scenario
- Opening a file from OneDrive and choosing Open in app triggers a confirmation dialog asking if OneDrive should switch to another application.
- Observed behavior
- The “Did You Mean to Switch Apps?” prompt appears every time, adding an extra confirmation step before the file opens.
Before resetting OneDrive, save and close any files you have open from OneDrive, and make sure you are signed in to the correct Microsoft account.
Reset OneDrive with the Run command
Use this first to clear OneDrive's local app state and stop the repeated switch-app confirmation.
Resetting OneDrive restarts the sync client without deleting your online files, which can clear the persistent “Did You Mean to Switch Apps?” prompt.
Press Windows key + R to open the Run dialog.
Paste %localappdata%\Microsoft\OneDrive\onedrive.exe /reset into the Run box and press Enter.
Wait for the OneDrive cloud icon to reappear in the notification area, then try opening the file again.
Unlink and relink this PC in OneDrive Settings
Use this if the prompt continues after resetting OneDrive.
Open and edit Office files without OneDrive switch prompts in WPS Office
If OneDrive prompts continue to interrupt your workflow, WPS Office offers a free, lightweight Microsoft Office alternative with familiar tools, so you can open and edit documents directly without the OneDrive app switching prompt.
- 1. Download WPS Office: Download WPS Office Free from the official WPS website.
- 2. Install and open WPS Office: Run the installer and open WPS Office on your Windows 10 PC.
- 3. Open your Office files directly: Open Word, Excel, or PowerPoint files from local folders or WPS Cloud without OneDrive switch prompts.

Frequently Asked Questions
Why does OneDrive ask “Did you mean to switch apps?” when I open a file?
It appears when you choose Open in app from OneDrive and Windows tries to hand the file to another installed application. Resetting OneDrive or unlinking and relinking the PC can clear the persistent prompt.
Does resetting OneDrive delete my files?
No. The Reset command restarts the OneDrive sync client locally. Files stored in OneDrive remain in the cloud and sync back after sign-in.
Will unlinking OneDrive remove files from my PC?
Unlinking removes the account connection on that PC, not your online files. After you link the account again, OneDrive resynchronizes the library.
Can I avoid the prompt by opening files in WPS Office instead?
Yes. WPS Office opens Microsoft Office formats directly from local folders or WPS Cloud, so you can work without the OneDrive switch-app confirmation.




