Security Policy Errors

How to Fix Security Warnings When Opening Local File Links in OneNote

Rana GarciaRana Garcia Nov 2, 2026 870 views

Question details

Users want to know how to stop the security warning prompts that appear when clicking hyperlinks pointing to local files in OneNote.

Fixing Security Warnings When Opening Local File Links in OneNote
Product
Microsoft OneNote
Device & OS
not provided
Scenario
Clicking a hyperlink inside OneNote that directs to a local file stored on the user's hard drive or network.
Observed behavior
OneNote displays a security warning alerting the user about potential risks, despite lacking the Trusted Locations settings found in other Office apps.
Before you start

Before modifying the Windows Registry to disable hyperlink warnings, ensure that the local files you are linking to are from completely safe and verified sources, as this workaround lowers security for all Office applications.

Solution 1Recommended

Disable Office Hyperlink Warnings via Windows Registry

Modify the Windows Registry to suppress the default security warnings for all Office hyperlinks, including local files.

Because OneNote lacks a built-in Trusted Locations feature for local files, the only way to bypass the warning is through a global registry edit. Be aware that this procedure removes the security warning for all hyperlink types across all Office applications, which can expose your system to malicious links. Proceed with caution.

1
Open the Registry Editor

Press the Windows key + R to open the Run dialog box. Type 'regedit' and press Enter to launch the Registry Editor.

2
Navigate to the Office Security Key

Go to the path: HKEY_CURRENT_USER\Software\Microsoft\Office\[Version]\Common\Security. Replace [Version] with your installed Office version number (e.g., 16.0 for Office 2016/2019/365).

3
Create or Modify the Value

Look for a DWORD (32-bit) Value named 'DisableHyperlinkWarning'. If it does not exist, right-click the empty space, select New > DWORD (32-bit) Value, and name it. Double-click it and change its Value data to 1 to suppress the warnings.

4
Restart Your Computer

Close the Registry Editor and restart your computer for the changes to take effect.

Disable Office Hyperlink Warnings via Windows Registry
Security Risk Warning: Since OneNote does not support a per-website or per-folder trust list, this registry edit is a blanket change. If you are uncomfortable lowering your system's overall security, do not apply this fix.
Free Microsoft Office alternative

Try WPS Office for Seamless Document Management

If you frequently encounter restrictive security warnings and missing settings in Microsoft Office apps, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for managing your documents, spreadsheets, and presentations without unnecessary interruptions.

  1. 1. Visit the Official Website: Go to the official WPS Office website to download the free installation package.
  2. 2. Run the Installer: Double-click the downloaded setup file and follow the on-screen instructions to install WPS Office on your device.
  3. 3. Open and Create: Launch WPS Office to start managing your documents with full Microsoft Office compatibility.
Fully compatible with Microsoft Word, Excel, and PowerPoint formatsInsert and open local file hyperlinks easily without intrusive global security blocksLightweight application that runs smoothly on Windows, Mac, and LinuxFamiliar user interface ensuring a seamless transition from Microsoft Office
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneNote warn me about local files but not websites?

Microsoft Office has strict default security protocols for local and network file execution to prevent malicious scripts or executables from running on your machine. Web links (HTTP/HTTPS) are handled by your default web browser, which uses its own security sandbox measures.

Can I add my local folder to Trusted Locations in OneNote?

No. Unlike Microsoft Word or Excel, OneNote does not feature the same Trust Center controls for 'Trusted Locations'. Because of this limitation, standard folder whitelisting is not currently possible within OneNote.

Will the registry workaround affect my other Office programs?

Yes. Changing the DisableHyperlinkWarning registry key alters the global hyperlink security policy for all installed Microsoft Office applications. This means you will no longer receive hyperlink warnings in Word, Excel, PowerPoint, or Outlook.