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?
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?
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
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.
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 the trusted location is on a network location then you need to add:
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations] "AllowNetworkLocations"=dword:00000001
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]
For anyone interested, the equivalent put into HKEY_LOCAL_MACHINE also works for all users (rather than the HKEY_CURRENT_USER which only works for the current user), tested for Access Runtime 365.
© 2022 - 2024 — McMap. All rights reserved.