Office Settings & Configuration

How to Stop OneNote from Creating Links from Network Paths

Steve KSteve K Oct 8, 2026 871 views

Question details

The user wants to stop OneNote from automatically converting UNC network paths (starting with two backslashes) into clickable hyperlinks.

Product
OneNote
Device & OS
not provided
Scenario
Documenting or sharing network file paths (UNC paths) in notes without wanting them to become active clickable links.
Observed behavior
OneNote automatically transforms network paths into hyperlinks, and the desktop application lacks a built-in setting or right-click option to turn off this automatic formatting.
Before you start

Since desktop versions of OneNote do not currently offer a built-in toggle to disable automatic hyperlinking for UNC paths, you will need to utilize text formatting workarounds. Keep your network path handy to test these methods.

Solution 1Recommended

Insert a Zero-Width Space in the Network Path

This is the most seamless workaround to break the automatic hyperlink recognition without altering the visible text.

By placing an invisible character between the two leading backslashes, you interrupt the pattern OneNote uses to recognize a UNC path. As a result, the text remains unlinked.

1
Type the first backslash

Begin typing your network path by entering the first backslash (\) into your OneNote page.

2
Insert the zero-width space

Insert a zero-width space immediately after the first backslash. You can do this by pasting a previously copied zero-width space character from your clipboard.

3
Complete the path

Type the second backslash and the remainder of your network path (e.g., \server\folder). OneNote will no longer convert it into a link.

Insert a Zero-Width Space in the Network Path
Copying Paste Issues: Be aware that if someone copies this path from your notes, the invisible zero-width space will be included. This might cause an error if pasted directly into File Explorer, requiring them to retype the leading backslashes.
Free Microsoft Office alternative

Looking for a Hassle-Free Office Suite? Try WPS Office

If you are frustrated by restrictive settings and lack of control over automatic formatting in Microsoft Office apps, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly suite for all your document, spreadsheet, and presentation needs.

  1. 1. Download the installer: Visit the official WPS Office website and click the free download button.
  2. 2. Install the suite: Run the downloaded installer and follow the quick on-screen instructions to set up WPS Office on your device.
  3. 3. Open your files: Launch WPS Office and instantly open, edit, and save your existing Office documents with seamless compatibility.
Free and lightweight alternative to Microsoft OfficeFully compatible with Microsoft Word, Excel, and PowerPoint formatsIntuitive settings with easy control over automatic formatting and hyperlinksConvenient tabbed interface to manage multiple documents in a single window
QA img-9

Frequently Asked Questions

Why can't I right-click and select 'Remove Link' in OneNote for Windows?

In desktop versions of OneNote, including OneNote for Windows 10, the 'Remove Link' option is intentionally disabled for UNC network paths by design. You must use the web or mobile versions to access this feature for network paths.

Is there a global setting to turn off automatic hyperlinking in OneNote?

Currently, OneNote does not offer a global setting to disable automatic hyperlinking for URLs or network paths. Microsoft recommends submitting feedback through their portal if you want this feature added.

Will the zero-width space affect copying and pasting the network path?

Yes, if someone copies the path containing the zero-width space, the invisible character is included. When pasted into File Explorer or a Run dialog, it may cause an error because the path is technically invalid. They would need to delete and retype the backslashes to use it.