This operation has been cancelled due to restrictions

Last reviewed on April 3, 2014

Note: These solutions work in all versions of IE and Outlook.

A very common question comes up often in the Microsoft forums:

When clicking on a hyperlink in an e-mail, I get this Message : “This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.” I get this message every time that I attempt to use the hyperlink. I am the administrator on this stand alone computer. How do I deactivate this feature so that I activate hyperlinks ?

Restrictions in effect error in Outlook

If you use Outlook 2013, you’ll receive following error message instead of the “restrictions in effect error” message.

Your organization’s policies are preventing us from completing this action for you. For more info, please contact your help desk

error message caused by uninstall firefox or chrome

This is not “an Outlook error”.

The typical cause is an application installs Chrome (and makes it the default browser) along with their own updates. When Chrome is uninstalled without setting Internet Explorer as default first, this error results. Lately, the blame falls squarely on Adobe Flash updates that install Chrome unless you opt out. It’s easy to miss the option before hitting Next.

If you uninstalled Chrome (or Firefox) and then received the error, see Edit Registry, Part 2. Thanks to Adobe Flash and other application updates installing Chrome by default, this is by far the most common cause.

In addition to Chrome and Firefox, Maxthon and other HTML rendering and editing programs may take the HTML open command and cause this error. Greg reports UltraEdit is one such program. See Edit Registry, Part 2 for the fix.

If you don’t want to edit the registry (or use my reg file), Alan suggests reinstalling Chrome (or the offending program). Set IE as default before uninstalling Chrome.

You can find solutions suggested by others users below.

If you are using Outlook 2010 or 2013, see tgrf’s suggestion to change your Junk email settings. It’s quick to try and won’t be a waste time if it doesn’t fix your problem.

If the problem is not due to uninstalling Chrome or Firefox, it could be a corrupt registry key in Internet Explorer. The registry key found at


To fix it, try resetting Web settings in Internet Explorer. If this does not resolve the issue, set IE as the default browser following the steps in Set Program Access in Control Panel. If you use a different browser as your default, you need to set IE as the default until you verify the links work in Outlook.

Edit Registry, Part 2 | Import the Registry Key | Set Program Access in Control Panel
User’s Solutions | Other Causes | More Information

Edit Registry, Part 2

If you received this error after uninstalling any application that takes over the HTML open command (including, but not limited to, Chrome & Firefox browsers) you may also need to change the HTM/HTML association in the registry.

  1. Start, click Run, type Regedit in the Open box, and then click OK.
  2. Browse to HKEY_CURRENT_USER\Software\Classes\.html
  3. Right click the value for the .html key and select Modify…
  4. Change the value from “ChromeHTML” to “htmlfile” (or from FireFoxHTML to htmlfile)
  5. Repeat for .htm, shtml, .xht, .xhtml, .xhtm keys

Repeat these steps for htm and .shtml keys if they exist. You may also want to check the xhtml and xhtm keys. Don’t want to edit the registry? Download this file (right click and choose Save target as…) Then double click on the file to run and restart Windows.

You need to restart Windows for the change to take effect.

Reset Web Settings

If Edit Registry, Part 2 doesn’t fix your problem, try resetting the web settings.

To Reset Web settings in Windows XP:

  1. Close Outlook
  2. Open Internet Explorer.
  3. On the Tools menu, click Internet Options.
  4. Click the Advanced tab, and then click the Reset button.
  5. Under Internet programs, verify that the correct e-mail program is selected.
  6. Click to select the Internet Explorer should check to see whether it is the default browser check box.
  7. Click Apply, and then click OK.

If you receive a message when Internet Explorer starts telling you that IE is not currently your default browser, click Yes to make it your default.

If you are using Windows 7 or Vista:

  1. Close Outlook
  2. Open Internet Explorer.
  3. On the Tools menu, click Internet Options.
  4. Click the Advanced tab, and then click the Reset button.
  5. On the Programs tab, under Internet programs, click Set Programs, then “Set your Default Programs”, select your e-mail program and click “Set this program as Default”. Repeat for Internet Explorer.
  6. Click OK and close the dialogs.

Note: You need to set Internet Explorer as default and verify the problem is fixed. If you prefer a different browser, you can set it as default later.

Import a Registry Key

When resetting the web settings doesn’t help, you’ll need to recreate the corrupt key. The easiest way to do this is by exporting the key from another computer. To save exporting it from another computer, download this registry key exported from my computer. Right click on the link and choose Save target as then double click on it to run it.

If you prefer to use a key from a computer you have access to, follow these instructions to export the registry key:

  1. Press Windows key + R to open the Run command
  2. In the Open box, type regedit, and then click OK.
  3. Browse to the following registry key:
  4. On the File menu select Export.
  5. Type in a filename and Save.
  6. Close the Registry Editor.

Copy the *.reg file to the other computer and double-click on the .reg file. Ok the dialogs to update the registry.

These instructions are the same as found in the Microsoft article Hyperlinks are not working in Outlook (MSKB 310049).

You need to restart Windows for the change to take effect.

Set Program Access in Control Panel

Windows XP and Vista allow you to control program defaults through Control Panel. If the above methods fail, use this method to set the default browser. In Windows XP, go to Add and Remove Programs, Set Program Access and Defaults. In “Choose a default web browser”, check on the “Internet Explorer” option and click the OK button. In Vista, access the Default Programs applet from the Start menu or Control panel. Click on the “Set program access and computer defaults” (last option) then expand Custom. In “Choose a default web browser”, check on the “Internet Explorer” option and click the OK button.

Users Solutions

tgrf makes this suggestion as one possible cause and solution:

I am using Outlook in Office 2010, Windows 7, and IE8. I just fixed this problem when trying to set up my junk mail filter. Click on any email header. Select Junk mail menu, then Junk mail options. Clear the check mark at Disable links and other functionality in phishing messages.

Junk Filter menu

I can’t vouch for this solution (as I haven’t experienced the restrictions error with Outlook 2010) but its painless and easy to try. Links are disabled by default for all users. The restrictions error is typically caused by browser settings.

Alan’s Solution

Alan has this suggestion:

I found that re-installing Google Chrome or FireFox and setting it as the default, the hyperlinks worked. I then went to Internet Explorer and set it as the default browser. I again checked the hyperlinks, and again they worked. I then un-installed Google Chrome and have had no problems since. Hopefully this will work for others as well.

While I haven’t tested Alan’s solution, it’s logical that it will work. Possibly the most common cause is because users uninstall Firefox or Chrome while either is set as default and setting IE as default before uninstalling would prevent the problem. If Alan’s solution doesn’t work, make sure Chrome is not running when you set IE as the default browser.

From Greg Chapman: “This is IMPORTANT – Close Chrome and make sure it isn’t running in Task Manager because even when you close it, it can remain running. Open IE and reset it as default.”

Other Causes

There are several other causes of this error. In most cases, they do not affect hyperlinks in Outlook. If you found this page searching for the error message, check out the following pages. Note that if you receive this error on a computer at work, you should contact your administrator, they may want access to applications restricted for security reasons.

Empty Securetemp

This solution suggested by Lain should not cause the restriction error message, however, it’s not harmful (and can be beneficial for other reasons) so I’m going to include it here. If it works, it doesn’t have to make sense to me and if it doesn’t work, you cleaned some old files off your hard drive. It’s a win-win either way.

DELETE everything in the outlooksecuretempfolder
C:\Documents and Settings\USER ID\Local Settings\Temporary Internet Files\OLK###
now all working :o)

This path is for Outlook 2003 under on Windows 7/8 & Vista. See Outlook SecureTemp Files Folder for more information and steps needed to find the folder.

Written by

Diane Poremsky
A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

If the Post Coment button disappears, press your Tab key.