This operation has been cancelled due to restrictions in effect

By jldurham6,

  Filed under: Microsoft Office
  Comments: None

Also see http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q310049

http://www.slipstick.com/problems/this-operation-has-been-cancelled-due-to-restrictions

 

Note: These solutions work in all versions of IE. 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 ?This is not an Outlook error. The most common cause is a corrupt registry key in Internet Explorer. The registry key found at

HKEY_Local_Machine\Software\Classes\htmlfile\shell\open\command

is either damaged or corrupt. 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. If you uninstalled Chrome (or Firefox) and then received the error, see Edit Registry, Part 2 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. You can find solutions suggested by others users below. Many users report successfully using Alan’s suggestion here. If you are using Outlook 2010, 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.

Reset 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 the 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 thisregistry 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 the instructions inYou receive an error message when you click a hyperlink in Outlook (MSKB 310049). You may need to restart Windows for the change to take effect.

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)

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. From After uninstalling Google Chrome Links in e-mail don’t work any more You may 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, logic tells me 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.