• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

Stopping users from opening links in email

Slipstick Systems

› Outlook › Email › Stopping users from opening links in email

Last reviewed on May 9, 2014     9 Comments

An administrator asked about a policy solution to prevent users from clicking on links in email.

While you can't prevent users from clicking on links, you can take advantage of a fairly common problem to make the links unusable. This won't stop clever users from copying the links and pasting them into the browser but it will slow them down, hopefully, slow them down enough to make them think.

Most users want to fix the “This operation has been cancelled due to restrictions in effect on this computer.” error, but you can force this error in Outlook (and other programs) by editing a registry key:

Rename or delete the command key found at

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\htmlfile\shell\open\command

Once you do this, users will get an annoying error when they click on links in email and other applications. Links will work as expected within the browser and users can copy and paste the links into a browser to view them.

On a related note, its also possible to block users from opening specific attachments, either by blocking them completely, as if they were exe attachments, or by forcing users to save them to the hard drive before opening. We have instructions for using the Level1Add and Level1Remove keys at Block Additional Attachment Types.

Stopping users from opening links in email was last modified: May 9th, 2014 by Diane Poremsky
Post Views: 36

Related Posts:

  • Allow or block file types in OWA
  • Outlook Links Won't Open In Windows 10
  • Opening XML files in Outlook
  • Outlook Error: General failure. The system cannot find file specified.

About 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.

Comments

  1. Dhruva Kudva says

    July 28, 2020 at 9:18 am

    Does not seem to work in Outlook C2R versions as well. Do we have any other options available?

    Reply
    • Diane Poremsky says

      March 3, 2021 at 10:33 pm

      No, this is the only way I'm aware to block it.

      Reply
  2. Eric says

    January 8, 2020 at 11:10 pm

    This works on Outlook 2010 but not on Outlook 2019 desktop version. Any ideas? Thank you.

    Reply
    • Diane Poremsky says

      January 9, 2020 at 10:33 pm

      No, not right now. I need to test it.

      Reply
      • Eric says

        June 27, 2020 at 1:59 pm

        It would be great to have a solution on this before Outlook 2010 sunsets in October and we have to move to Outlook 2019.

      • Eric says

        March 1, 2021 at 3:23 pm

        Still nothing on this? The only solution I have found is to set IE as default and then block IE thru group policy. The disadvantage is that it blocks links everywhere not just outlook.

      • Diane Poremsky says

        March 3, 2021 at 10:33 pm

        Yeah, there is no good way to prevent using from clicking links. You would need to scan the messages at the server and remove the links.

  3. vito romano says

    July 17, 2019 at 8:01 am

    Hi, I love the reg hack for disabling links in emails, but is there a way to disable these links on a user account and not just on a machine? We need to target specific users.

    Thanks
    Vito

    Reply
    • Diane Poremsky says

      July 17, 2019 at 2:46 pm

      If users log into computers, you can use group policy or a logon script to set it.

      If you use office 365 and Advanced threat protection, you can also block links per user.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 31 Issue 7

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Use Classic Outlook, not New Outlook
  • How to Remove the Primary Account from Outlook
  • Reset the New Outlook Profile
  • Disable "Always ask before opening" Dialog
  • How to Hide or Delete Outlook's Default Folders
  • This operation has been cancelled due to restrictions
  • Change Outlook's Programmatic Access Options
  • Adjusting Outlook's Zoom Setting in Email
  • Outlook Windows won't open or resize
  • Removing Suggested Accounts in New Outlook
  • Sync Issues and Errors with Gmail and Yahoo accounts
  • Error Opening iCloud Appointments in Classic Outlook
  • Opt out of Microsoft 365 Companion Apps
  • Mail Templates in Outlook for Windows (and Web)
  • Urban legend: Microsoft Deletes Old Outlook.com Messages
  • Buttons in the New Message Notifications
  • Move Deleted Items to Another Folder Automatically
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
  • Google Workspace and Outlook with POP Mail
Ajax spinner

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in classic Outlook (Windows).

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

Update history for supported Office versions is at Update history for Office

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Sync Issues and Errors with Gmail and Yahoo accounts

Error Opening iCloud Appointments in Classic Outlook

Opt out of Microsoft 365 Companion Apps

Mail Templates in Outlook for Windows (and Web)

Urban legend: Microsoft Deletes Old Outlook.com Messages

Buttons in the New Message Notifications

Move Deleted Items to Another Folder Automatically

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Google Workspace and Outlook with POP Mail

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2026 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.