How to Fix Security Warnings When Opening Local File Links in OneNote
Question details
Users want to know how to stop the security warning prompts that appear when clicking hyperlinks pointing to local files 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 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.
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.
Press the Windows key + R to open the Run dialog box. Type 'regedit' and press Enter to launch the Registry Editor.
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).
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.
Close the Registry Editor and restart your computer for the changes to take effect.

Submit Feature Request Feedback to Microsoft
Request that Microsoft add Trusted Locations or per-link trust settings to OneNote by submitting feedback directly through the app.
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. Visit the Official Website: Go to the official WPS Office website to download the free installation package.
- 2. Run the Installer: Double-click the downloaded setup file and follow the on-screen instructions to install WPS Office on your device.
- 3. Open and Create: Launch WPS Office to start managing your documents with full Microsoft Office compatibility.

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.




