How to Fix Word Trusted Location Errors for Network Macro Files
Question details
Users need to resolve security errors where Microsoft Word blocks macros inside documents that are stored on a network drive or server.

- Product
- Microsoft Word
- Device & OS
- Windows
- Scenario
- Opening macro-enabled Word documents directly from a shared network folder or mapped server drive.
- Observed behavior
- Word displays a security warning and prevents the macro from running because the network path is not recognized as a trusted location.
Before modifying your security settings to trust network locations, verify that the target network server is secure and that you implicitly trust the source of the macro files to avoid executing malicious code.
Add the Network Location to Trusted Sites and Word Trust Center
By modifying both your Windows Internet Options and the Word Trust Center settings, you can establish full trust for the network server hosting your macro-enabled documents.
Microsoft Office relies on both its own Trust Center settings and the underlying Windows Internet security zones. When accessing macro files on a local network, you often must declare the server's IP address or hostname as a Trusted Site in Windows before Word will allow it as a Trusted Location.
Open the Windows Control Panel, go to 'Internet Options', and select the 'Security' tab. Click on 'Trusted Sites', then click the 'Sites' button. Type your network location (e.g., file://192.168.1.1) into the field and click 'Add'. If prompted, uncheck the 'Require server verification (https:) for all sites in this zone' box.
Launch Microsoft Word and click on 'File', then 'Options'. Navigate to the 'Trust Center' tab on the left and click the 'Trust Center Settings' button. Select 'Trusted Locations' from the left-hand menu and check the box that says 'Allow Trusted Locations on my network'.
Still in the Trusted Locations menu, click 'Add new location'. Enter the mapped server path by name (e.g., \\fileserver\servername) instead of the raw IP address. Check 'Subfolders of this location are also trusted' if necessary, then click 'OK' to save all settings.

Try WPS Office for Seamless Macro Compatibility
If you frequently encounter complex security blocks and trusted location issues in Microsoft Word, WPS Office offers a highly compatible, secure, and user-friendly alternative. It supports VBA macros reliably while remaining completely free to use.
- 1. Download and Install: Download WPS Office for free from the official website and complete the quick installation process.
- 2. Open Your Network Files: Launch WPS Writer and navigate directly to your shared network drive to open your macro-enabled documents.
- 3. Enable Macros: Click 'Enable Macros' upon opening the document to run your VBA scripts smoothly without complex Trust Center configurations.

Frequently Asked Questions
Why does Word block my network macros by default?
Microsoft Word blocks macros from network drives by default as a strict security measure. This is designed to protect your computer from potentially malicious code that could be executed automatically over external or shared network connections.
Can I use an IP address for a Word Trusted Location?
While you can add an IP address to the Windows Trusted Sites list in Internet Options, Word's Trust Center typically requires network locations to be added using the server name or a mapped drive letter (e.g., \\servername\share) to function correctly.
What if the 'Allow Trusted Locations on my network' option is grayed out?
If this option is grayed out or unavailable in the Word Trust Center, it has likely been disabled by your organization's IT policy. You will need to contact your system administrator to request Group Policy changes that permit network trusted locations.




