How to Enable Microsoft Access Macros from a Remote Server
Question details
The user needs to enable macros in Microsoft Access when opening a database stored on a remote server or accessed over a VPN.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Accessing a server-hosted database over a VPN or network drive where security settings block macro execution by default.
- Observed behavior
- Microsoft Access blocks macros from running because the remote server folder is not recognized as a trusted location over the network.
Ensure you have the exact network path to your remote server folder and verify that your VPN connection is stable before modifying the Trust Center settings.
Configure Network Trusted Locations in Access
This is the primary method to unblock macros for files hosted on a remote server by explicitly telling Access to trust the network path.
Open Microsoft Access, click on the File menu in the top-left corner, and select Options at the bottom of the sidebar.
In the Access Options window, click on Trust Center in the left pane, then click the Trust Center Settings button on the right.
Select Trusted Locations from the left menu. Check the box at the bottom that says 'Allow Trusted Locations on my network (not recommended)'.
Click 'Add new location...', enter your remote server folder path, check 'Subfolders of this location are also trusted' if necessary, and click OK to save your changes.

Split the Database for Better Performance and Security
Running both the front end and back end of a database over a VPN can cause severe performance issues and macro blocks; splitting them is the industry best practice.
Use a Remote Desktop or Terminal Server Session
If network latency or VPN speeds continue to cause macro issues or poor performance, running the application directly on the server environment is a highly reliable alternative.
Looking for a Free and Lightweight Office Suite?
While WPS Office does not include a database management tool like Microsoft Access, it offers a highly compatible, free alternative for all your Word, Excel, and PowerPoint needs. Experience a seamless transition with a familiar interface and excellent performance.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button to get the latest version.
- 2. Install the Software: Run the downloaded executable file and follow the simple on-screen instructions to install the suite.
- 3. Open Your Files: Launch WPS Office and seamlessly open your existing Microsoft Office documents, spreadsheets, and presentations without losing formatting.

Frequently Asked Questions
Why does Access block macros on a network drive by default?
Microsoft Access blocks macros on network drives by default as a security measure to prevent potentially malicious code from running automatically when opening files from external, shared, or untrusted sources.
What should I do if my VPN connection causes the database to perform slowly?
If your database is slow over a VPN, it is highly recommended to split the database. Keep the back end (data) on the server and distribute the front end (forms and macros) to each user's local computer. Alternatively, use Remote Desktop.
Can I trust all network locations in Microsoft Access?
No. You should only add specific, secure network folders to your Trusted Locations. Enabling 'Allow Trusted Locations on my network' carries security risks, so ensure the server is fully managed and secured by your IT department.




