How to Fix Microsoft Word Blocked Macros from Untrusted Network Files
Question details
Users are encountering blocked macros when opening Word documents stored on network shares, accompanied by untrusted file source error messages.

- 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.
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.
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.
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.
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)'.
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'.

Deploy as a Local Macro-Enabled Template
Save the file as a template in the local Startup folder to bypass network restrictions entirely.
Open Documents Individually
Avoid an intermittent glitch in Windows File Explorer by opening documents one at a time.
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. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install and Launch: Run the installer and follow the quick setup wizard. Once installed, launch WPS Office.
- 3. Open Your Files: Simply drag and drop your existing Word documents into WPS Office to continue working seamlessly without format loss.

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.




