How to Open OneDrive Files in Desktop Office by Default in OneDrive for Business
🔍 WiseChecker

How to Open OneDrive Files in Desktop Office by Default in OneDrive for Business

When you click a Word, Excel, or PowerPoint file stored in OneDrive for Business, the file opens in the browser version of Office by default. This default behavior can slow down your workflow if you prefer the full feature set of the desktop applications. The browser version lacks some advanced tools, macros, and add-ins that only the desktop apps provide. This article explains how to change the default open behavior so that Office files in OneDrive always launch in the desktop version of Word, Excel, or PowerPoint.

Key Takeaways: Force Desktop Office for OneDrive Files

  • OneDrive settings > Office > Open Office files in the browser: Toggle this setting to Off to open files in desktop apps by default.
  • Windows Default Programs > Choose default apps by file type: Set .docx, .xlsx, and .pptx to open with the desktop Office app instead of Edge or Chrome.
  • Office app settings (Word, Excel, PowerPoint) > Options > General > Startup: Disable the option “Open e-mail attachments and other uneditable files in reading view” to prevent read-only browser openings.

ADVERTISEMENT

Why OneDrive Opens Office Files in the Browser Instead of the Desktop App

OneDrive for Business is configured by default to open Office files in the browser for speed and compatibility. The browser version loads faster on slow connections and does not require a local Office installation. However, this default setting can be changed by the user or by an IT administrator through tenant-wide policies.

The setting that controls this behavior lives in two places. First, inside the OneDrive sync app on Windows, there is a toggle labeled “Open Office files in the browser.” Second, the Windows operating system itself defines which program handles file types such as .docx, .xlsx, and .pptx. If the browser is set as the default handler for these extensions, clicking a file in OneDrive will always open the browser version regardless of the OneDrive setting.

Additionally, the Office desktop applications have their own startup options that can force read-only or browser-based openings. If an IT administrator has deployed a Group Policy or Microsoft 365 policy that enforces browser-only opening, the individual user settings will be overridden. In that case, you need to contact your administrator to change the tenant-wide policy.

Steps to Change the OneDrive Setting to Open Files in Desktop Office

  1. Open OneDrive Settings
    Right-click the OneDrive cloud icon in the system tray at the far right of the taskbar. Select Settings from the context menu. If you do not see the icon, click the up arrow to show hidden icons.
  2. Go to the Office Tab
    In the OneDrive settings window, click the Office tab at the top of the dialog. This tab contains all settings related to how Office files behave when opened from OneDrive.
  3. Toggle the Browser Opening Setting
    Under the Office tab, locate the option labeled Open Office files in the browser. Uncheck this box. When the box is unchecked, OneDrive will launch the desktop version of Word, Excel, or PowerPoint when you double-click a file in File Explorer or click Open in OneDrive online.
  4. Apply the Change
    Click OK at the bottom of the settings window. No restart is required. The change takes effect immediately for all new file openings.

ADVERTISEMENT

Steps to Set Windows Default Programs for Office File Types

If the OneDrive setting is correct but files still open in the browser, the Windows default app association may be overriding the OneDrive setting. Follow these steps to force .docx, .xlsx, and .pptx files to open with the desktop Office app.

  1. Open Windows Settings
    Press Windows key + I to open Windows Settings. Click Apps in the left pane, then click Default apps on the right.
  2. Search for a File Type
    In the Default apps page, type .docx into the search box labeled “Enter a file type or link type.” The current default app for .docx files will appear below the search box.
  3. Change the Default App for .docx
    Click the current app icon next to .docx. A pop-up list of available apps appears. Select Word from the list. If Word does not appear, scroll to the bottom and click Look for an app in the Microsoft Store or Choose an app on your PC to browse to the Word executable, typically located at C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE.
  4. Repeat for .xlsx and .pptx
    Type .xlsx in the search box and set the default to Excel. Type .pptx and set the default to PowerPoint. Repeat this process for .doc, .xls, .ppt, .pdf, and any other Office file types you use regularly.

If OneDrive Still Opens Files in the Browser After These Changes

OneDrive Shows a Red X on Shared Office Files

A red X on a file in OneDrive indicates a sync conflict or a permissions issue. The file may be locked by another user or the sync engine may have failed to download the latest version. To fix this, right-click the file in File Explorer and select View online. Resolve any conflicts on the web version, then try opening the file again from File Explorer.

Desktop Office App Opens but Shows a Blank Window

If the desktop app launches but displays a blank gray window, the file may be corrupt or the Office application may be in a failed state. Close all Office apps, press Windows key + R, type %localappdata%\Microsoft\Office\16.0\OfficeFileCache, and delete all files in that folder. Then reopen the file from OneDrive.

IT Policy Forces Browser Opening

Your organization may have a Microsoft 365 policy that forces all Office files to open in the browser. This is controlled in the Microsoft 365 admin center under Settings > Org settings > SharePoint and OneDrive > Office on the web. If the option “Let people open files in the browser” is set to On, users cannot change this behavior individually. Contact your IT administrator to request an exception or a policy change.

OneDrive Setting vs Windows Default App Setting: Key Differences

Item OneDrive Office Tab Setting Windows Default Apps Setting
Scope Applies only to files opened from the OneDrive sync folder Applies to all file types across the entire system, including email attachments and local files
Override behavior Can be overridden by Windows default apps if the default app is a browser Overrides the OneDrive setting if the default app is a desktop Office app
Ease of change One checkbox in OneDrive settings Requires changing each file extension individually in Windows Settings
IT policy control Can be controlled by Group Policy or Microsoft 365 policy Can be controlled by Group Policy or MDM policy
Effect on web links Does not affect links shared via email or Teams Does not affect links shared via email or Teams

You can now control whether OneDrive files open in the desktop version of Office or the browser. Start by changing the OneDrive Office tab setting. If files still open in the browser, adjust the Windows default app associations for .docx, .xlsx, and .pptx. As an advanced tip, use the Group Policy setting Open Office files in the browser under Computer Configuration > Administrative Templates > Microsoft OneDrive to enforce this behavior across all users in your organization.

ADVERTISEMENT