Article ID: 925757 - Last Review: April 7, 2009 - Revision: 3.0

How to disable hyperlink warning messages in 2007 Office programs

On This Page

Expand all | Collapse all

INTRODUCTION

This step-by-step article describes how to prevent 2007 Microsoft Office programs from displaying a warning message every time that you click a hyperlink in a 2007 Office program.

MORE INFORMATION

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756  (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows


In 2007 Office, when you click a hyperlink or an object that links to an executable file, you receive the following warning message:
Opening "path/filename".
Hyperlinks can be harmful to your computer and data. To protect your computer, click only those hyperlinks from trusted sources. Do you want to continue?
This behavior occurs regardless of your security level settings.

Note To locate your security level settings, point to Macro on the Tools menu, and then click Security.

Additionally, when you open either TIFF images or Microsoft Document Imaging (MDI) files, you receive the following warning message:
Opening path/filename.
Some files can contain viruses or otherwise be harmful to your computer. It is important to be certain that this file is from a trustworthy source. Would you like to open this file?
You receive this warning message even when you have already implemented the registry key that this article describes. This warning message comes from the HLINK.dll file when link navigation is handled. You can differentiate the 2007 Office hyperlink warning message from the HLINK warning message by looking for quotation marks around the file path in the warning message. The 2007 Office message contains quotation marks. The HLINK message does not contain quotation marks. 2007 Office tries to determine whether the file type itself is unsafe by checking the extension, the progid, the classid, and the MIME type of the document.

Disable hyperlink warnings for 2007 Office programs

To disable the hyperlink warnings in 2007 Office Programs when an http:// address, notes:// or an ftp:// address is used, you must create a new registry subkey. To do this, follow these steps:
  1. Click Start, and then click Run.
  2. In the Open dialog box, type regedit, and then click OK.
  3. In Registry Editor, locate one of the following registry subkeys:
    • HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common
    • HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Common
    NoteYou only have to modify one of these registry subkeys. You do not have to modify both of them.
    Note If the Security subkey already exists, skip to Step 6 after selecting the Security subkey.
  4. Click the registry subkey, point to New on the Edit menu, and then click Key.
  5. Type Security, and then press ENTER to name the key.
  6. On the Edit menu, point to New, and then click DWORD Value.
  7. Type DisableHyperlinkWarning, and then press ENTER to name the entry.
  8. In the right pane, right-click DisableHyperlinkWarning, and then click Modify.
  9. In the Edit DWORD Value dialog box, click Decimal, and then type 1 under Value data.

    Note A value of 0 enables the hyperlink warning message. A value of 1 disables the hyperlink warning message.
  10. Click OK.
  11. Exit Registry Editor.

If you still receive a warning message

You may still receive a warning message from Microsoft Windows. If you continue to receive a warning message after you follow the steps in this article, use one of the following methods to resolve the issue.

Method 1: Turn off the "Confirm open after download" option for the file type that you are trying to open

  1. Double-click My Computer.
  2. On the Tools menu, click Folder Options.
  3. On the File Types tab, select the appropriate file name extension (for example, WMV) in the Registered File Types box, and then click Advanced.
  4. Click to clear the Confirm open after download check box, and then click OK.
  5. In the Folder Options dialog box, click Close.

Method 2: Modify the HKEY_CLASSES_ROOT\WMVFile\EditFlags registry subkey

Use this method if the warning message affects multiple computers.

To disable the warning message, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry subkey:
    HKEY_CLASSES_ROOT\WMVFile\EditFlags
  3. Click EditFlags, and then click Rename on the Edit menu.
  4. Type OldEditFlags, and then press ENTER.
  5. On the Edit menu, point to New, and then click DWORD value.
  6. Type EditFlags, and then press ENTER.
  7. On the Edit menu, click Modify.
  8. In the Edit DWORD Value dialog box, click Hexadecimal under Base.
  9. Type 10000, and then click OK.
To re-enable the warning message, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry subkey:
    HKEY_CLASSES_ROOT\WMVFile\EditFlags
  3. Click EditFlags, and then click Modify on the Edit menu.
  4. Type 0, and then click OK.

APPLIES TO
  • Microsoft Office Basic 2007
  • Microsoft Office Enterprise 2007
  • Microsoft Office Home and Student 2007
  • Microsoft Office Professional 2007
  • Microsoft Office Professional Plus 2007
  • Microsoft Office Standard 2007
  • Microsoft Office Ultimate 2007
  • Microsoft Office Access 2007
  • Microsoft Office Excel 2007
  • Microsoft Office Outlook 2007
  • Microsoft Office PowerPoint 2007
  • Microsoft Office Publisher 2007
  • Microsoft Office SharePoint Designer 2007
  • Microsoft Office Word 2007
Keywords: 
kbexpertisebeginner kbhowto KB925757
 

Article Translations