Monday, October 8, 2012

the operation has been cancelled outlook 2010

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 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:
    HKEY_Local_Machine\Software\Classes\htmlfile\shell\open\command
  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 You receive an error message when you click a hyperlink in Outlook (MSKB 310049). Note that the FixIt in this KB articles will not work with Windows 8. Use the this reg file instead.
You 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 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.


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