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-11-17T23:11:41+00:00

    It is now working with the expanded path.  I have no idea why it didn't work before, and is working now, but thank you all for your help.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-11-17T22:21:04+00:00

    I have reported this to others to do more testing.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-11-17T18:56:49+00:00

    Yes, the difference is the ones where it doesn't work are on a terminal server.

    However, just to note, these terminal server workstations worked without issue on version 2007.

    No, the full version of Microsoft Office Professional 2007 was not removed from the terminal server before installing 2010 runtime.  However, I did remove the Access registry keys for Access 12.0.

    Also, just to note, the 2007 version was not removed from the NON-Terminal server workstations before installing 2010 runtime, and they do not have the "trust" issue.

    Was this answer helpful?

    0 comments No comments