Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

URI Scheme ms-word:nft|u| not working and not opening word

When using URI schemes to open a new document from from a word template hosted on a web page does not work.

https://msdn.microsoft.com/en-us/library/office/dn906146.aspx

The issue just seems to be with my PC. I have tried others and it works fine.

I have office 365 Pro Plus and Visio Professional 2016 installed.

An example of a URI Scheme which opens a new document from a template is the link below.

ms-word:nft|u|https://omextemplates.content.office.net/support/templates/en-us/tf10067038.dotx

I have checked my registry under HKEY_CLASSES_ROOT\ms-word which exists and looks right.

If I run the command below it works correctly

C:\Program Files (x86)\Microsoft Office\Root\Office16\protocolhandler.exe "ms-word:nft|u|https://omextemplates.content.office.net/support/templates/en-us/tf10067038.dotx"

I have also changed key HKEY_CLASSES_ROOT\ms-word\shell\open\command to

cmd /k echo %1

but this does not execute. But if I create a custom uri protocol handler like ms-wordTest then it will execute the shell command.

I now think that for Office products it does not use the uri protocol handler but something at the OS layer is taking control of uri's for office products.

No idea why it does not work on my PC but works on other PCs. Not sure where to look now.

Any help?

like image 629
Adrian Halid Avatar asked Dec 30 '25 08:12

Adrian Halid


1 Answers

Doing a repair of Office 365 Pro Plus has fixed the issue

like image 153
Adrian Halid Avatar answered Jan 05 '26 22:01

Adrian Halid



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!