When you click a shared document link in Microsoft Teams, SharePoint, or OneDrive, Word may fail to open the file in the desktop app. Instead, you might see an error message, a blank window, or the file opens in the browser. This problem usually occurs because of broken file associations, outdated Office activation, or incorrect default app settings in Windows. This article explains the root causes and provides a complete set of fixes to get shared documents opening in the Word desktop app again.
Key Takeaways: Restoring Word Desktop App for Shared Documents
- Settings > Apps > Default apps > Choose defaults by file type > .docx > Word: Reassigns the .docx file type to the Word desktop app, fixing the most common cause of shared document failures.
- Settings > Apps > Default apps > Microsoft Word > Manage > Set as default: Forces Word to handle all supported file types and protocols, including the ms-word: URI used by shared links.
- File > Account > Update Options > Enable Updates > Update Now: Installs pending Office updates that may contain fixes for shared document opening issues.
Why Word Fails to Open Shared Documents From Teams or SharePoint
When you open a shared document link, Windows uses a URI protocol handler to launch the correct app. For Office documents, the protocol is ms-word:. If the handler is misconfigured, Windows sends the request to the wrong app or to the web browser instead of the Word desktop app. Common triggers include a Windows update that resets default app associations, a corrupted Office profile, or a partially installed Office update. Another frequent cause is that the Office Click-to-Run service is not running, which prevents Word from responding to the protocol request. The fixes below address each of these root causes.
Steps to Fix Word Desktop App Not Opening Shared Documents
Perform these steps in the order shown. After each step, test by clicking a shared document link. If the problem persists, move to the next step.
Fix 1: Reset Default App Associations for Office Documents
- Open Windows Settings
Press Windows key + I to open Settings. Go to Apps > Default apps. - Search for the Word app
In the Default apps page, type Word in the search box at the top. Click the Microsoft Word result that appears. - Set Word as default for all file types
Click the Set default button at the top of the page. Windows assigns all file types and protocol handlers that Word supports to the desktop app. Wait for the confirmation message.
Fix 2: Manually Assign .docx and Other File Types to Word
- Open Default apps by file type
In Settings > Apps > Default apps, scroll down and click Choose defaults by file type. - Locate .docx in the list
Scroll or use the search box to find .docx. The current default app is shown to the right. - Change the default to Word
Click the current app icon next to .docx. From the menu, select Microsoft Word. If Word is not listed, click Look for an app in the Microsoft Store and choose Word from the list. - Repeat for .doc and .dotx
Repeat the same process for .doc and .dotx file types. These are also used by shared document links.
Fix 3: Repair Office Installation
- Open Programs and Features
Press Windows key + R, type appwiz.cpl, and press Enter. - Select Microsoft 365 or Office
In the list of installed programs, find Microsoft 365 or Microsoft Office. Right-click it and choose Change. - Run a Quick Repair
In the Office setup window, select Quick Repair and click Repair. Follow the on-screen instructions. This fixes corrupted registry entries and protocol handlers without removing your files. - Run an Online Repair if Quick Repair fails
If the problem persists, repeat the steps and choose Online Repair. This takes longer but replaces all Office files.
Fix 4: Clear Office Cache and Reset Protocol Handlers
- Close all Office apps
Ensure Word, Outlook, and any other Microsoft 365 applications are closed. - Open Command Prompt as administrator
Press Windows key + X and select Terminal (Admin) or Command Prompt (Admin). - Run the protocol reset command
Type the following command and press Enter:ftype Word.Document.12=C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE "%1"
If your Office is installed in the default location, this command reassigns the .docx protocol handler to the Word desktop app. - Verify the handler
Typeftype Word.Document.12and press Enter. The output should show the path to WINWORD.EXE. If it shows a different path or is empty, repeat the previous step with the correct path.
Fix 5: Update Office to the Latest Version
- Open Word
Launch the Word desktop app. If it does not open, use the Start menu to find and open it. - Go to Account
Click File > Account (or Office Account). - Enable updates and update now
Under Product Information, click Update Options > Enable Updates if it is disabled. Then click Update Options > Update Now. Wait for the update to download and install. - Restart Word
Close and reopen Word. Test the shared document link again.
If Word Still Has Issues After the Main Fix
Shared Document Opens in the Browser Instead of the Desktop App
This indicates that the ms-word protocol handler is still pointing to the browser. Open Settings > Apps > Default apps > Choose defaults by protocol. Find MS-WORD in the list. Click the current app and select Microsoft Word. If Word is missing from the list, run the Office repair in Fix 3.
Word Opens but Shows a Blank Window or Crashes
A blank window often means the document failed to download from the server. Clear the Office document cache by opening Word, going to File > Options > Save, and clicking Clear cached files under the Cache settings section. Then restart Word and try opening the shared link again.
Error: “Word Cannot Open the Document: No File Name Specified”
This error appears when the shared link is malformed or the file has been moved or deleted. Ask the document owner to resend the sharing link. If the link works for others, the issue is on your side. Run the Office Quick Repair from Fix 3 to reset the protocol handler.
Word Desktop vs Word Web App: Shared Document Opening Behavior
| Item | Word Desktop App | Word Web App (Browser) |
|---|---|---|
| Default when clicking a shared link | Depends on Windows default app settings and protocol handler configuration | Opens automatically if the desktop app is not set as default |
| Offline access | Full editing and saving without internet connection after initial sync | Requires continuous internet connection; limited offline mode in some browsers |
| Advanced features | All Word features available including macros, add-ins, and advanced formatting | Limited to basic editing; no macros or advanced add-ins |
| Performance with large documents | Faster scrolling and rendering for files over 50 pages | Slower performance; may time out for very large files |
After applying the fixes above, you should be able to open any shared document link directly in the Word desktop app. Start by resetting the default app associations for .docx and the ms-word protocol. If the problem continues, run an Office Quick Repair to fix corrupted registry entries. As a long-term preventive measure, keep Office updated and avoid manually changing default app associations after Windows updates.