by Joakim

Error when clicking a hyperlink in Outlook (Win8/Chrome)

I switched to Windows 8 on my computer as soon as it was available as an RTM version on MSDN, and so far I’m really happy with Microsoft’s latest OS offering. I have however run into a few problems related to using Chrome as my default browser (e.g. the problem I had with external links in Visual Studio 2012).

The problem for today is the error message I got when clicking hyperlinks in emails using Outlook. Instead of the hyperlink launching a website in my default web browser (Chrome) I would get an error message saying;
This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.”

outlook-link-error

The cause of this problem lay in the registry. It turns out that Chrome modifies some values in the registry that it (probably) shouldn’t, namely ComputerHKEY_CLASSES_ROOT .htm and ComputerHKEY_CLASSES_ROOT .html

outlook-link-error2

Chrome had changed the (Default) value of both these entries from htmlfile to ChromeHTML….  Changing the value back to htmlfile fixed the problem. Clicking hyperlinks in emails now opens up the web address in my default browser (namely Chrome) just as expected. No annoying error message.

It looks like you could run into this problem under other circumstances than mine (Win8/Chrome as default browser), as Microsoft has written a support article about it which can be found here. The support article lists several methods to fix the problem, depending on what the root cause for the error is.