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

Disable the Unsafe Hyperlink Warning when Opening Attachments

Slipstick Systems

› How to › Disable the Unsafe Hyperlink Warning when Opening Attachments

Last reviewed on July 10, 2025     37 Comments

Applies to: Outlook (classic), Outlook 2007, Outlook 2010

When you open templates or files using a hyperlink button or from Outlook's Shortcut navigation pane, you'll receive an unsafe hyperlink warning. You can disable the warning by editing the registry.
Unsafe attachment warning

You may also receive the file open or save dialog when using a hyperlink button or shortcut. To disable this dialog when the "Always ask" field is grayed out, run Outlook as administrator. The "always ask" checkbox should be clickable. If not, you'll need to edit the registry for each file type. See Disable "Always ask before opening" dialog for more information.
Open or Save dialog

The solution

The solution applies to all Office applications, not just Outlook.

Add a registry value to disable the warning dialog.

Open the registry editor and browse to the following registry subkey for

Office / Outlook 16.0 (Outlook 2016 and up):

HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Security
DWORD: DisableHyperlinkWarning
Value: 1 (disable the warning), 0 (enable the warning)

Office / Outlook 2013:

HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Security
DWORD: DisableHyperlinkWarning
Value: 1 (disable the warning), 0 (enable the warning)

Office / Outlook 2010:

HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\Security
DWORD: DisableHyperlinkWarning
Value: 1 (disable the warning), 0 (enable the warning)

Office / Outlook 2007:

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\Security
DWORD: DisableHyperlinkWarning
Value: 1 (disable the warning), 0 (enable the warning)

Note: If the Security key does not exist in your registry, you'll need to create it too.

Right click on Security key and choose New, DWORD.
Type (or paste) DisableHyperlinkWarning as the Value name then double click on it.
Enter 1 as the Value data to disable the warning. Delete the key or use a value of 0 to enable the warning.

Change the registry value

 

Do It For Me

If you don't want to edit the registry yourself, you can download and run the following registry key for your version of Outlook. These files set the key in the User path.

Outlook 2016 and newer Outlook 2013 Outlook 2010 Outlook 2007

 

Group Policies Registry Edit

Administrators will add the DisableHyperlinkWarning DWORD to the Policies key instead:

Outlook 16.0 (Outlook 2016 and up):

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Common\Security
DWORD: DisableHyperlinkWarning
Value: 1 (disable the warning), 0 (enable the warning)

Outlook 2013:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\15.0\Common\Security
DWORD: DisableHyperlinkWarning
Value: 1 (disable the warning), 0 (enable the warning)

Outlook 2010:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Common\Security

Outlook 2007:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Common\Security

Do It For Me

If you don't want to edit the registry yourself, you can download and run the following registry key for your version of Outlook. These files update the Policies path.

Outlook 16.0 (Policies path) Outlook 2013 (Policies path)
Outlook 2010 (Policies path) Outlook 2007 (Policies path)

More Information

How to enable or to disable hyperlink warning messages in 2007 Office programs and in Office 2010 programs MSKB

Disable the Unsafe Hyperlink Warning when Opening Attachments was last modified: July 10th, 2025 by Diane Poremsky
Post Views: 193

Related Posts:

  • Stop Showing Contact Pictures in Messages
  • Folder Home Pages aren't available
  • Embedded Objects are Blocked in Outlook Items
  • Prevent users from adding email accounts to Outlook

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. Robert Vergeer says

    July 4, 2025 at 2:44 am

    This works with Office 365 apps and files on a share or unc pad.

    1:
    Navigate to the following registry subkey:

    HKEYCURRENTUSER\Software\Microsoft\Office\16.0\Common\Security

    If the subkey does not exist, create the subkey.

    Right-click on the Security subkey and select New > DWORD (32-bit) Value.

    Name the item DisableHyperlinkWarning.

    Double-click the DisableHyperlinkWarning entry, select Decimal, enter one of the following values in the Value data field, and then click OK:

    0: Enables the hyperlink warning message
    1: Disables the hyperlink warning message
    Close the Registry Editor.

    2:
    For Powerpoint files
    HKEYLOCALMACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\PowerPoint.Show.12
    It contains an EditFlags with a value that must be 00 00 01 00. 00 00 00 00 will prevent the file from opening.
    This is a binary value.

    For Excel files
    HKEYLOCALMACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Excel.Sheet.12
    It contains an EditFlags with a value that must be 00 00 01 00. 00 00 00 00 will prevent the file from opening.
    This is a binary value.

    For Word files
    HKEYLOCALMACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Word.Document.12
    It contains an EditFlags with a value that must be 00 00 01 00. 00 00 00 00 will prevent the file from opening.
    This is a binary value.

    Kind Regards Robert Vergeer :)

    Reply
  2. Jim says

    June 6, 2025 at 10:53 am

    there is no Security key in 2016 office , wtf !???

    Reply
    • Diane Poremsky says

      June 27, 2025 at 10:51 am

      If the key doesn't exist, you need to create it.

      Reply
  3. Fred says

    July 14, 2022 at 7:10 pm

    This did not work for me running Office 2010. Seems if the hyperlink path is not in quotes then the message is coming from hlink.dll. I have not found a way to fix that. I just have local mp3 files and the hyperlink is in word 2010. This worked until I loaded apples itunes I think. I was trying to use that to move mp3's to my iphone. I uninstalled itunes and made sure that the windows media player was the default for mp3. The mp3's open without any warning from the file menu but not from the word hyperlink.

    Reply
  4. umu says

    April 24, 2021 at 7:47 am

    See https://stackoverflow.com/questions/61765267/how-do-you-disable-the-hyperlink-warning-in-excel-office-365

    Reply
  5. Sibylle Hunziker says

    January 9, 2021 at 12:22 pm

    Thank you so much for this! You saved my life.

    Reply
  6. John Callahan says

    December 16, 2020 at 11:19 am

    Does not work for me with Office 365 (version 16.0). Using PowerPoint and adding an action button to open a video, I get this warning. I have tried both registry hack and neither stops the security warning. Microsoft should make a clearer path to solving this.

    Reply
  7. James G says

    December 8, 2020 at 4:01 am

    Does not work for me, using Acess to try and open PDF Links
    Running MS Office Pro 2019 on Windows 10

    Reply
    • Diane Poremsky says

      December 8, 2020 at 7:59 am

      So you are opening links in Access, not outlook? That might be a different key. I'll see what I can find out.

      Reply
  8. turkanet says

    February 6, 2020 at 4:05 am

    Does not work :(
    i use excel 2019 and i also tried to add location on trusted list in excel settings

    Reply
  9. Bibi says

    September 13, 2019 at 4:36 am

    Hi Diane
    Just tried this and doesnt work for me on Office Pro Plus 2013 nor 2016 both 32bits
    I run Office 2013 15.0.5163.1000 version
    Thank you

    Reply
    • Diane Poremsky says

      September 13, 2019 at 7:48 am

      If you have 2013, you need to use the 15.0 path. Did you restart the apps

      Reply
      • Bibi says

        September 17, 2019 at 5:54 am

        Yes I did use the 15.0 path for 2013 and on another computer with 2016 I used 16.0 and it did not worked for both.

      • Bibi says

        September 17, 2019 at 6:01 am

        BTW I have the Unsafe Hyperlink Warning when opening a docx file stored on my SaaS App server, not on Outlook.
        Thanks

      • Diane Poremsky says

        September 17, 2019 at 6:40 am

        it's opening in Word, so *I would think* the key would apply, but there could be something else coming into play.

        Do you have the SaaS server set as an Trusted Location in Word's Trust center?

  10. Eric Barsalou says

    December 1, 2018 at 12:33 pm

    just does not work for me !

    Reply
    • Diane Poremsky says

      December 3, 2018 at 11:39 pm

      Which version and build of Outlook are you using? See File, Office Account for the information. (I'll test it in that version.)
      Did you restart Outlook?

      Reply
  11. Tribolet says

    September 11, 2018 at 3:54 pm

    Recently installed Office 2016 and i also had this very annoying warning with hyperlinks in an Excel sheet... This method works, though i had no 16.0 folder under Office in my registry... it went up to 15.0... so i created 16.0/Common/Security, with the Dword in it (32-bit, i'm running a 64-bit version) and voila, IT WORKED !! No more stupid warnings when opening hyperlinks from my own HD.

    Reply
    • Diane Poremsky says

      September 11, 2018 at 5:37 pm

      you didn't have this path at all - HKEY_CURRENT_USER\Software\Microsoft\Office\16.0 ? Is this a new computer with a preinstalled version of Office? (That delivery method the OEMs use uses a virtual registry but reads most keys added to the traditional path).

      Reply
  12. Joe says

    May 27, 2017 at 1:30 pm

    I am using Microsoft Access 2016 (Office365) . I have tried everything suggested by everyone to no avail. My database has internal hyperlinks (all within my computer). I can't get rid if that damn warning. HELP if you can.

    Reply
    • Diane Poremsky says

      May 28, 2017 at 7:41 am

      Are you using 32 or 64 bit office? Which suite is it - consumer subscription, business/E subscription, or retail?
      Did you use the policies key or the one under the normal office path? Try the other one.

      Reply
  13. Rudolf Pietersma says

    November 8, 2016 at 8:29 am

    Not working on Windows 10 with Office 2016 (Office 365)

    Reply
    • Diane Poremsky says

      November 9, 2016 at 12:19 am

      did you use the 'do it for me' for outlook 2016?

      Reply
  14. Martin Gerhold says

    September 22, 2016 at 8:20 am

    Hello! I found this page the usual (painful) way, having got really cross about MS' attempts to stop me opening valid pdf files (from Excel hyperlinks). I know I have set the DisableHyperLinksWarning value in the past, but today it would not work. This is Office 2010 on W10. I tried all the Trust Centre settings, allowing everything I could find to run, to no avail.

    Then I saw a suggestion on another page by FrankFromGermany (2 years ago !), but with no mention of whether it had worked for anyone who read it - I was so desperate I had to try it.

    I first ran Sysinternals' 'ProcMon' to confirm that Excel was trying to open a key in HKEY_CLASSES_ROOTSumatraPDF (my pdf reader of choice) called EditFlags key (and failing, of course), but (as I had closed the page with Frank's suggestion), had to simply try values close to my recollection until one worked - the magic value is Hex 10000. I have turned off all the Trust Centre settings I can think of (including the added trusted folder where the pdfs reside), and it still works.

    To my mind it is absurd that MS has allowed this situation to exist for so long, without ever (to my knowledge) publishing a working solution themselves, let alone apologising for wasting so many people's time.

    Thank you for your clear page, and other Office help in the past.

    Reply
  15. Skip Lassiter says

    April 13, 2016 at 12:53 pm

    Hi Diane. I have Office 2016 and Windows 10. I used your "Do it for me" file and it I keep getting a warning for this "C:\Users\Skip\AppData\Roaming\Microsoft\Templates\Skips Outlook Templates". The registry file has been changed because I checked it. Will you please help me?

    Reply
    • Diane Poremsky says

      June 19, 2016 at 12:20 am

      Add the template folder as a trusted location in file, options, trust center.

      Reply
  16. Erik says

    January 14, 2016 at 1:06 pm

    What about Office 2016? I added the key under
    HKEY_CURRENT_USERSoftwarePoliciesMicrosoftOffice16.0CommonSecurity but still get the pop-up warning when hyperlinking to a PDF stored on my local drive.....

    Thx!

    Reply
    • Diane Poremsky says

      January 14, 2016 at 1:13 pm

      I'll check it - it should work. Did you restart Outlook? When using policy keys, you need to restart outlook.

      Reply
      • Diane Poremsky says

        January 14, 2016 at 1:26 pm

        It's working here - i'll update it with a ready-to-use reg file.

  17. Phil Bender says

    December 25, 2015 at 6:46 pm

    Thanks so much for this post!
    I have been annoyed by these warning for over two years.

    Reply
  18. Alejandro says

    October 7, 2013 at 8:50 am

    What about outlook 2013?

    Reply
    • Diane Poremsky says

      October 7, 2013 at 5:02 pm

      It's the same, but version is 15. I updated the "do it for me" and the registry keys for Outlook 2013. Thanks for bringing it to my attention that it needed updated.

      Reply
      • Javier Sánchez says

        January 3, 2018 at 6:01 pm

        I got the same problem with excel, versions 2010 and 2016. When i try to open a hyperlink, that warning msg pops up. I've tryed setting regedit, both files 12 and 14, and i also have checked the options in the trust center, without success.

        I've realised that, if the hyperlink points to an image file, it's open without popping up the warning msg, but when I try to open an pdf (with Nitro PDF), its appears.

        Any idea?

      • Diane Poremsky says

        January 6, 2018 at 10:47 am

        excel 2016 is 16.0... also, have you seen https://www.slipstick.com/problems/disable-always-ask-before-opening-dialog/?

      • Javier Sánchez says

        January 6, 2018 at 11:57 am

        I've already fixed it, i found the solution and made a tutorial (in spanish) explaining how to fix it. You can watch it here: https://www.youtube.com/watch?v=wJoKyvpGXGo

        Im going to undo what i did to fix it and try what you told me, and lets see if that works.

        Thanks!

      • Diane Poremsky says

        January 6, 2018 at 1:43 pm

        Looks like you set the EditFlag for the pdf application you use... that is what i suspected was the problem.

      • Javier Sánchez says

        January 6, 2018 at 12:12 pm

        I've try what you shared me, but it didn't worked to me.

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 5

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
  • Jetpack plugin with Stats module needs to be enabled.
  • 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.