Office Settings & Configuration

How to Fix Microsoft Word Blocked Macros from Untrusted Network Files

Emma BrownEmma Brown Oct 28, 2026 869 views

Question details

Users are encountering blocked macros when opening Word documents stored on network shares, accompanied by untrusted file source error messages.

How to Fix Microsoft Word Blocked Macros from Untrusted Network Files
Product
Microsoft Word
Device & OS
not provided
Scenario
Opening macro-enabled Word documents that are hosted on a shared network drive or server.
Observed behavior
Word blocks the macros and displays a warning that the file source is untrusted or code cannot run in design mode. This problem can also occur intermittently when opening multiple documents at the same time.
Before you start

Ensure you have the exact server name for your network drive (UNC path) ready, and verify that you have administrative permissions to modify Trust Center settings in Microsoft Word.

Solution 1Recommended

Add the Network Share as a Trusted Location

Configure Word's Trust Center to recognize your specific network drive as a safe location, bypassing the default internet security blocks.

Microsoft Office treats network drives similarly to internet locations for security purposes. By default, macros from these locations are blocked to protect your system. You must explicitly add the network path to your Trusted Locations.

1
Open Trust Center Settings

Launch Microsoft Word. Click on 'File' in the top-left corner, select 'Options' at the bottom, then click on 'Trust Center' in the left sidebar and click the 'Trust Center Settings' button.

2
Enable Network Trusted Locations

In the Trust Center window, select 'Trusted Locations' from the left menu. At the bottom of the window, check the box that says 'Allow Trusted Locations on my network (not recommended)'.

3
Add the UNC Path

Click the 'Add new location' button. In the path field, enter the server-based UNC path (e.g., \\FileServerName\ShareFolder) rather than an IP address (e.g., \\192.168.1.200). Check 'Subfolders of this location are also trusted' if necessary, then click 'OK'.

Add the Network Share as a Trusted Location
Use UNC Paths over IP Addresses: Office specifically requires the UNC server name path. Using an IP address for your network share will often cause the Trust Center to continue treating the location as untrusted.
Free Microsoft Office alternative

Try WPS Office for a Seamless Document Experience

If you are tired of struggling with strict and complicated Microsoft Office security policies blocking your workflow, consider switching to WPS Office. It provides a lightweight, user-friendly environment with excellent format compatibility and straightforward settings.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install and Launch: Run the installer and follow the quick setup wizard. Once installed, launch WPS Office.
  3. 3. Open Your Files: Simply drag and drop your existing Word documents into WPS Office to continue working seamlessly without format loss.
Free to use with a lightweight installation package.High compatibility with Microsoft Word formats, including .doc, .docx, and templates.Intuitive interface that makes managing document settings simple without aggressive macro blocks.Seamless migration with a familiar layout.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Word block macros from my network drive by default?

Microsoft recently updated its security policies to treat network drives similarly to internet locations. Because malicious files often originate from the internet or unverified network locations, Office blocks macros from these sources by default to protect your computer from malware.

What is the difference between an IP address and a UNC path for Trusted Locations?

An IP address (like 192.168.1.100) identifies a network device numerically, which Office often rejects in the Trust Center. A UNC (Universal Naming Convention) path uses the server's actual hostname (like \\FileServerName\Share) and is properly recognized by Microsoft Office as a valid intranet location.

Why do my macros get blocked only when I open multiple files at once?

When you select multiple files in File Explorer and open them simultaneously, the operating system sends a batch command to Word. This rapid succession can cause Office's security checks to misfire or apply inconsistent trust states to the files. Opening them individually usually bypasses this glitch.

What is a Workgroup Templates location?

A Workgroup Templates location is a shared network folder designated in Word's advanced settings where teams can store centralized templates. Files opened from a configured Workgroup Templates location are generally trusted by Word, allowing macros within them to run without being blocked.