Trusted Location

Anonymous
2016-11-14T19:29:13+00:00

We have recently updated our MSAccess 2010 runtime to MSAccess 2016 runtime.

We have added all necessary info to our registry, and we are still getting the trusted location message referencing the accde that is located in %appdata%\lp:

Here are the registry settings:

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Access\Security]

"VBAWarnings"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations]

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location0]

"Path"="%AppData%\LP\"

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location2]

"Path"="C:\Program Files (x86)\Microsoft Office\Office16\ACCWIZ\"

"Description"="Access default location: Wizard Databases"

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2016-11-16T01:38:52+00:00

You should be able to use environment variables such as %AppData% if the path string is a REG_EXPAND_SZ type, instead of REG_SZ.  This tells the registry API to expand the variable in the string before returning the value.

Was this answer helpful?

0 comments No comments
Answer accepted by question author
Anonymous
2016-11-15T17:29:49+00:00

I do not believe you can specify a path like:

"Path"="%AppData%\LP\"

rather you have to spell it out completely,

"Path"="C:\Users\gdtest\AppData\Roaming\LP\"

Was this answer helpful?

0 comments No comments

20 additional answers

Sort by: Newest
  1. Anonymous
    2016-12-06T17:25:16+00:00

    as I reported on the 17th, it is now working with the expanded key. Thank you for following up.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-11-23T19:09:49+00:00

    I still have not heard any updates on your problem yet.

    I have tested myself by created a Windows 2012 Essentials server and installed the Access 2016 runtime.  When I then try to run a test Access app, I get the same security warning.  When I then use the AddPath2016 utility I mentioned earlier from the directory where the Access app is installed, the warning goes away.  I checked the Registry entry.  It is what I would expect, so I really don't know what your problem might be coming from.

    Exported key

    [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location0]

    "Date"="23.11.2016 10:40"

    "Description"="Set by AddPath2016"

    "Path"="C:\Users\Admin\AppData\Roaming\Access Apps\"

    "AllowSubfolders"=dword:00000001

    How about deleting the key you created and try the utility from

    http://www.accessribbon.de/en/index.php?Trust\_Center:Trusted\_Locations

    Was this answer helpful?

    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more