How to Fix Microsoft Word URI Scheme Not Opening Local Files
Question details
The user is trying to use the ms-word:file:// URI scheme to open local or SMB network files, but the protocol successfully opens files on one Word 2016 installation while failing on another that only recognizes HTTP and HTTPS schemes.

- Product
- Microsoft Word 2016
- Device & OS
- not provided
- Scenario
- Using a custom URI scheme command to launch local or network (SMB) documents directly in Microsoft Word.
- Observed behavior
- The ms-word:file:// command successfully opens the document on one computer but fails on another, indicating an inconsistency in how the protocol handler is recognized or supported between the two installations.
Before making changes to protocol handlers, ensure you have administrative privileges on the affected computer and avoid storing your target data files directly in the root directory of the C: drive due to Windows permission restrictions.
Verify Office Updates and Protocol Handler Registration
Check if the Microsoft Word installation is fully updated and compare the default app settings for protocol handlers between the working and non-working machines.
Different build versions of Office 2016 may handle URI schemes differently due to security patches. Ensuring both installations are on the same update level is the first step in resolving protocol recognition issues.
Open Microsoft Word, navigate to 'File' > 'Account', and click 'Update Options' followed by 'Update Now' to ensure the machine runs the latest build.
Press the Windows Key + I to open Windows Settings, then navigate to 'Apps' and select 'Default apps' from the left sidebar.
Scroll down to the bottom of the Default apps page and click the 'Choose default apps by protocol' link.
Locate 'MS-WORD' in the protocol list and ensure it is explicitly associated with Microsoft Word. If it is not, click the current application to change it to Word.

Adjust the Target File Path
Ensure the file being targeted by the URI scheme is not stored in a restricted system directory, which can block the file protocol.
Try WPS Office for Seamless Document Handling
If you are experiencing persistent protocol compatibility issues with Microsoft Word, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative to Microsoft Office, ensuring smooth document management across all your devices without complex registry or protocol configurations.
- 1. Visit the Official Website: Go to the official WPS Office website to download the free installation package for your operating system.
- 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to complete the setup.
- 3. Open Your Documents: Launch WPS Writer and easily open or edit your existing Word documents with full format compatibility.

Frequently Asked Questions
What is the Microsoft Word URI scheme?
The Microsoft Word URI scheme (ms-word:) allows web pages or custom applications to launch Microsoft Word directly and open a specific document using protocols like HTTP, HTTPS, or FILE.
Why does the ms-word URI scheme only recognize HTTP and HTTPS on my computer?
Certain versions or specific update builds of Microsoft Word restrict the URI scheme to HTTP and HTTPS for security reasons. This disables the local FILE protocol to prevent malicious web scripts from silently executing local system files.
Can I use the ms-word scheme to open network files?
Yes, you can open network files by pointing the URI to an SMB share (e.g., ms-word:file:////server/share/document.docx), provided the specific Office installation supports the file protocol and your network permissions are properly configured.
How do I fix a broken protocol handler in Windows?
You can fix broken protocol handlers by running a quick repair on your Microsoft Office installation via the Windows Control Panel, or by navigating to Windows Settings > Apps > Default apps and manually reassigning the specific protocol to the correct application.




