How to Stop OneDrive Documents from Opening in the Web Browser
Question details
The user wants to configure OneDrive and SharePoint so that Word, Excel, and PowerPoint documents open directly in their respective desktop applications rather than defaulting to the web browser.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Opening Office documents stored in a OneDrive or SharePoint library, or accessing files via shared links.
- Observed behavior
- Files continuously open in the web browser, even when OneDrive settings are seemingly configured to use the desktop client applications.
Ensure you have the desktop versions of Microsoft Office installed on your computer and that you are signed in with the same account you use for OneDrive or SharePoint.
Toggle the Default Open Behavior in Library Settings
Force documents to open in the desktop application by adjusting and resetting the advanced library settings in OneDrive or SharePoint.
Sometimes the configuration gets stuck. Even if it appears to be set correctly to open in the client application, toggling the setting off and back on can resolve the issue for files stored in your own library.
Open OneDrive or SharePoint in your web browser. Click the Settings (gear) icon in the top right corner, select 'Library settings', and then click on 'More library settings'.
Under the General Settings section, click on 'Advanced settings'.
Scroll down to the 'Opening Documents in the Browser' section. Select the 'Open in the client application' radio button.
If 'Open in the client application' is already selected, switch it to 'Open in the browser', scroll down, and click 'OK'. Then, repeat the steps to switch it back to 'Open in the client application' and click 'OK' again to refresh the policy.

Use the Desktop App Button for Shared Links
Understand how shared links operate and use the manual ribbon option to switch to the desktop app.
Contact Microsoft 365 Administrator
Escalate the issue to your IT admin if the local settings do not override the tenant-wide browser defaults.
Enjoy a Seamless Desktop Experience with WPS Office
Tired of your documents unexpectedly opening in a web browser? WPS Office offers a powerful, lightweight desktop alternative that opens your files instantly on your local machine, keeping you focused and productive.
- 1. Download and Install: Get the free WPS Office suite from the official website and install it on your PC or Mac.
- 2. Set as Default: During installation, choose to set WPS Office as your default application for opening Word, Excel, and PowerPoint formats.
- 3. Open Locally: Use your local OneDrive sync folder in File Explorer or Finder to open files directly in the WPS Office desktop app.

Frequently Asked Questions
Why do shared links from OneDrive always default to opening in the web browser?
Microsoft defaults shared links to the web browser to ensure maximum accessibility. This guarantees the recipient can view or edit the document immediately, even if they do not have the desktop Office applications installed on their device.
Does the 'Open in client application' setting apply to mobile devices?
No, this library setting primarily affects desktop environments (Windows and Mac). On mobile devices, opening documents usually relies on whether you have the respective Microsoft Office or OneDrive mobile apps installed and configured to handle those file types.
What should I do if the 'Advanced settings' option is missing in my library?
If you do not see 'Advanced settings' under your Library settings, it means you lack the necessary site owner or administrator permissions to modify these configurations. You will need to contact your organization's Microsoft 365 admin to make the change.




