I have created a Microsoft Access file.
How do I add this file to the trusted locations on my client's PC where there is only the runtime version of Access installed?
Just create a Windows registry entry under
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations]
And then add String Value entry "Path" and set desired path as value. Another String Value entry "Description" is required to add a description of the path.
e.g.
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\Location3]
Below are some instructions i found awhile ago which i had saved, which allow you to add trusted locations, allow network locations & include sub folders.
Access 2007:
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Access\Security\Trusted Locations]
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Access\Security\Trusted Locations\Location(n)]
Access 2010:
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations]
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\Location(n)]
Access 2013:
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Access\Security\Trusted Locations]
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Access\Security\Trusted Locations\Location(n)]
Access 2016 & Access 2019 & Office 365:
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations]
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location(n)]
Example of how it will look
"Path"="C:\PathToDB\"
"AllowSubfolders"=dword:00000001
"Description"="The description"
"Date"="01.01.2007 12:00"
If editing Reg is not cup of your Tea, then use AddPath http://www.accessribbon.de/en/?Trust_Center:Trusted_Locations
It is much easier to just copy your Access file to a folder that is already trusted by any user.
One example is %LocalAppData%
which works even in a Citrix environment.
Create a folder here named you or your company and a subfolder named your application. Copy you database file to this, and provide a shortcut for the users.
Full documentation here:
Deploy and update a Microsoft Access application with one click
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With