How to Fix Hyperlinks Not Working in Outlook (Registry Method)

Outlook hyperlinks may stop working due to incorrect HTML file associations in the Windows registry. Resetting .html, .htm, and .shtml keys to htmlfile resolves policy restriction errors.

Symptoms: Hyperlinks Not Opening in Outlook

Users often report that hyperlinks inside Outlook emails do nothing when clicked, even though:

  • Google Chrome or another browser is set as default
  • Links work in other applications
  • Outlook opens normally

Instead, one of the following error messages appears:

  • “This operation has been cancelled due to restrictions in effect on this computer.”
  • “Your organization’s policies are preventing us from completing this action.”

These errors commonly confuse users because they appear even on personal or unmanaged computers.


Why This Happens (Root Cause Explained)

This issue is not caused by Outlook itself.

The problem occurs when:

  • HTML file associations in the Windows registry become corrupted
  • Browser uninstallations overwrite default handlers
  • Windows updates reset protocol mappings
  • Default browser settings are only partially applied

Outlook relies on Windows HTML handlers, not browser UI settings alone.


When Should You Use This Fix?

Apply this solution if:

  • Outlook hyperlinks stopped working suddenly
  • Default browser is already set correctly
  • You receive policy restriction warnings
  • Reinstalling Outlook or Chrome did not help
  • The system is not domain-restricted

⚠️ Important Precautions (Read Before Proceeding)

Editing the Windows registry incorrectly can cause system issues.

Before proceeding:

  • Log in using an account with local admin rights
  • Create a registry backup (recommended)
  • Close Outlook completely

This fix only modifies HTML file associations, not system policies.


Option 1: Fix Outlook Hyperlinks Using Registry Editor (Recommended)


Step 1: Open Registry Editor

  1. Press Windows + R
  2. Type regedit
  3. Press Enter
  4. Click Yes if prompted by User Account Control

Step 2: Navigate to the HTML File Association Key

Go to the following path:

HKEY_CURRENT_USER\Software\Classes\.html

Step 3: Verify the Default Value

On the right pane:

  • The Default value must be:
htmlfile

If You See Any of These Instead:

  • ChromeHTML
  • FirefoxHTML
  • MSEdgeHTM

Then Outlook hyperlinks will fail.


Step 4: Modify the Default Value

  1. Right-click (Default)
  2. Click Modify
  3. Change the value to:
htmlfile
  1. Click OK

Step 5: Repeat for Other Extensions

Repeat Steps 2–4 for the following keys:

HKEY_CURRENT_USER\Software\Classes\.htm
HKEY_CURRENT_USER\Software\Classes\.shtml

Each Default value must be htmlfile.


Step 6: Restart the Computer

A restart is mandatory to:

  • Reload file associations
  • Clear cached protocol handlers
  • Restore Outlook hyperlink functionality

Option 2: Fix the Issue Using Command Line (Alternative Method)

This method performs the same registry fix without manually opening Registry Editor.


Step 1: Open Start Menu Search

  • Click Start
  • Type the command directly into the search box (Windows 7 / 8 / 10 / 11)

Step 2: Run the Registry Command

Enter the following command and press Enter:

REG ADD HKEY_CURRENT_USER\Software\Classes\.htm /ve /d htmlfile /f

Step 3: Repeat for Other Extensions

Run similar commands for:

REG ADD HKEY_CURRENT_USER\Software\Classes\.html /ve /d htmlfile /f
REG ADD HKEY_CURRENT_USER\Software\Classes\.shtml /ve /d htmlfile /f

Step 4: Restart the Computer

Once restarted, Outlook hyperlinks should open normally.


Why This Fix Works

Outlook does not launch browsers directly.

Instead, it:

  • Calls Windows HTML handlers
  • Relies on registry-based file associations
  • Fails if associations point to browser-specific handlers

Resetting values to htmlfile restores the Windows-native behavior Outlook expects.


Common Issues This Fix Resolves

  • Hyperlinks not opening in Outlook emails
  • Policy restriction popup errors
  • Outlook links do nothing when clicked
  • Issue persists despite default browser being set
  • Errors on personal (non-domain) PCs
Previous Post Next Post