Office Settings & Configuration

How to Automatically Add a Trusted Location in Microsoft Access

Camila MilosovichCamila Milosovich Oct 21, 2026 868 views

Question details

The user needs a method to automatically register a database folder as a trusted location when Microsoft Access starts.

How to Automatically Add a Trusted Location in Microsoft Access
Product
Microsoft Access
Device & OS
not provided
Scenario
Deploying ACCDE and runtime database applications that require their installation folder to be trusted so startup code can execute without security blocks.
Observed behavior
Microsoft Access blocks active database content and prevents startup code from running because the deployment folder is considered untrusted.
Before you start

Ensure you have full administrative rights on the deployment machine. Only designate secure, fully controlled folders as trusted locations to prevent the execution of malicious database code.

Solution 1Recommended

Configure the Folder through the Microsoft Office Trust Center

Use the built-in Microsoft Access Trust Center to manually register the database deployment folder as a safe location.

This is the standard and safest method for individual users or developers configuring their own workstations. It tells Microsoft Access that any database opened from this specific directory is safe to run.

1
Open Access Options

Launch Microsoft Access, click on the 'File' tab in the top-left corner, and select 'Options' from the bottom of the menu.

2
Access the Trust Center

In the Access Options dialog box, select 'Trust Center' from the left navigation pane, then click the 'Trust Center Settings' button on the right.

3
Add a New Trusted Location

Select 'Trusted Locations' from the left menu and click the 'Add new location' button at the bottom of the window.

4
Select the Database Folder

Click 'Browse' to locate the folder containing your ACCDE or runtime application. Check the box for 'Subfolders of this location are also trusted' if necessary, then click 'OK' to apply the settings.

Configure the Folder through the Microsoft Office Trust Center
Security Warning: Avoid adding your entire hard drive (e.g., C:\) or public download folders as trusted locations, as this can severely compromise your system's security.
Free Microsoft Office alternative

Looking for a Lightweight Alternative for Your Office Needs?

While Microsoft Access handles complex databases, for your everyday document, spreadsheet, and presentation tasks, WPS Office offers a free, lightweight, and highly compatible alternative to the broader Microsoft Office suite. It easily handles standard Office formats within a fast, tabbed interface.

  1. 1. Download WPS Office: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install the Suite: Run the setup file and follow the quick installation prompts to set up WPS Office on your computer.
  3. 3. Open Your Files Seamlessly: Launch WPS Office and immediately start opening, editing, and saving your existing Microsoft Office documents.
Highly compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight application that uses minimal system resourcesFree to use with a familiar, easy-to-navigate user interfaceBuilt-in PDF reader and editor for versatile document management
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Access block my database macros and startup code?

Access disables active content from untrusted sources by default to protect your system from potentially malicious VBA code or macros. Moving the database to a Trusted Location tells Access that the file is safe, allowing the code to run seamlessly.

Can I trust network folders for Access databases?

Yes, you can trust network paths, but it requires an extra step. You must first open the Trust Center Settings, go to Trusted Locations, and check the box labeled 'Allow Trusted Locations on my network (not recommended)' before adding the network path.

How do registry keys work for Trusted Locations in Access?

Microsoft Access stores trusted locations in the Windows Registry under the specific Office version's Security hive. Automated deployment utilities work by writing these exact registry keys for the user during the installation process, bypassing the need for manual Trust Center configuration.