How to Fix Word This Operation Has Been Cancelled Due to Restrictions in Effect on This Computer

Clicking an embedded web hyperlink inside a Microsoft Word document, Outlook email, or Excel spreadsheet only to be stopped by the alarming dialog box This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator prevents you from opening external references. Despite the intimidating wording suggesting severe IT security lockouts, this issue almost always arises on personal and unmanaged Windows computers when an uninstalled web browser (such as Google Chrome, Firefox, or Brave) leaves corrupted protocol associations for .html and http protocol handlers in the Windows Registry. Resetting default browser handlers and repairing the registry restores instant hyperlink navigation.

Reset Default Web Browser Associations in Windows Settings

When Windows loses track of the registered application assigned to handle web URLs, Office applications refuse to execute shell execute commands.

  1. Press Windows Key + I to launch the Settings app.
  2. Select Apps from the left sidebar and click Default apps.
  3. In the search box under “Set defaults for applications”, type your preferred web browser (e.g. Google Chrome or Microsoft Edge) and click on it.
  4. Click the Set default button at the top to ensure the browser owns all standard web extensions (including .htm, .html, HTTP, and HTTPS).
  5. Restart Microsoft Word and click the hyperlink to test if the default browser launches cleanly.

Repair Corrupted .html File Associations in the Windows Registry

If third-party uninstaller utilities fail to clean up browser registry entries, the .html root key retains orphaned class names that block shell execution.

  1. Press Windows Key + R, type regedit, and press Enter to open the Registry Editor.
  2. Navigate to the following top-level registry key:
    HKEY_CURRENT_USER\Software\Classes\.html
  3. In the right pane, double-click the (Default) string value.
  4. If you use Microsoft Edge, set the Value data to MSEdgeHTM. If you use Google Chrome, set it to ChromeHTML.
  5. Navigate to:
    HKEY_CLASSES_ROOT\.html
  6. Similarly verify that the (Default) value matches your chosen browser class (e.g. htmlfile, ChromeHTML, or MSEdgeHTM).
  7. Close the Registry Editor and reboot your PC to apply the updated protocol associations.

Reset Internet Options and Security Zones to Defaults

Legacy Internet Explorer security zone policies still govern how Office COM objects handle hyperlinks.

  1. Press Windows Key + R, type inetcpl.cpl, and press Enter to launch Internet Properties.
  2. Switch to the Advanced tab and click Restore advanced settings.
  3. Switch to the Security tab and click Reset all zones to default level.
  4. Click Apply, click OK, and confirm that hyperlinks in Word documents now open without security restriction alerts.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.