Office Settings & Configuration

How to Disable the Hyperlink Security Warning in OneNote

Kushani NimanthikaKushani Nimanthika Oct 23, 2026 869 views

Question details

The user wants to prevent the security warning pop-up that appears when clicking on hyperlinks pointing to local files on the same computer.

How to Disable the Hyperlink Security Warning in OneNote
Product
OneNote
Device & OS
Windows
Scenario
Clicking a newly created hyperlink (via Ctrl+K) to a local file or folder triggers a security prompt, interrupting the workflow.
Observed behavior
A security warning dialog appears every time a local link is clicked. Previous attempts to bypass it by editing the registry failed because an incorrect value type (QWORD) or incorrect data value (7 instead of 1) was used.
Before you start

Completely close OneNote and all other Microsoft Office applications, and check your specific Office version number (e.g., 16.0 for Office 365/2019) so you can navigate to the correct registry path.

Solution 1Recommended

Configure the DisableHyperlinkWarning Registry Key Correctly

Create or edit a 32-bit DWORD value in the Windows Registry to explicitly disable the security warning for hyperlinks.

The most common reason this registry workaround fails is due to creating a QWORD instead of a DWORD, or assigning the wrong numerical value. The Office security component specifically looks for a 32-bit DWORD set to 1.

1
Open the Registry Editor

Press the Windows key + R to open the Run dialog, type 'regedit', and press Enter. Click 'Yes' if prompted by User Account Control.

2
Navigate to the Office Security Key

Go to HKEY_CURRENT_USER\Software\Microsoft\Office\[Your Version]\Common\Security. Replace [Your Version] with your actual version number (e.g., 16.0 for Office 2016 and newer).

3
Create or Edit the DWORD Value

Right-click in the right pane, select New > DWORD (32-bit) Value. Name it exactly 'DisableHyperlinkWarning'. Do not select QWORD, even if you are on a 64-bit system.

4
Set the Value Data to 1

Double-click 'DisableHyperlinkWarning' and change the Value data to 1 (ensure Base is set to Hexadecimal). Click OK. Do not set this value to 7.

5
Restart the Application

Close the Registry Editor and relaunch OneNote. Test the hyperlink again to confirm the warning is bypassed.

Configure the DisableHyperlinkWarning Registry Key Correctly
Security Consideration: Disabling this warning removes a layer of protection against potentially unsafe links. Only proceed if you strictly use trusted, local hyperlinks and understand the associated security risks.
Free Microsoft Office alternative

Experience Seamless Document Linking with WPS Office

Tired of complicated registry tweaks just to open a linked file? WPS Office offers a streamlined, lightweight alternative to Microsoft Office. It provides robust document management, high compatibility with Office formats, and a user-friendly interface that doesn't interrupt your workflow with excessive security warnings for local files.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for Windows.
  2. 2. Install the Software: Run the installer and follow the on-screen instructions to set up WPS Office on your computer.
  3. 3. Open and Edit Documents: Launch WPS Office to easily open, edit, and link your existing Microsoft Office files without complex configuration.
Highly compatible with Microsoft Office file formats (.docx, .xlsx, .pptx)Intuitive hyperlink management without excessive security interruptionsLightweight installation and smooth performance on Windows OSFree and powerful suite for all your daily document needs
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneNote show a security warning for links on my own computer?

Microsoft Office implements a strict security protocol to prevent the accidental execution of malicious files. By default, it treats most hyperlinked files as potential risks, triggering a warning even if the files are stored on your local hard drive.

Can I disable the warning using the Trust Center instead of the registry?

While adding folders to the Trusted Locations in the Microsoft Trust Center solves macro and add-in warnings, it often does not bypass the specific hyperlink execution warning. The registry tweak is usually required for hyperlink warnings.

What happens if I accidentally created a QWORD value in the registry?

The Office application will simply ignore it, and the security warning will continue to appear. You must delete the incorrect QWORD value, right-click to create a new DWORD (32-bit) Value, and set its data to 1.