?
Solved

Access 2013 Trust Center Macro Settings

Posted on 2014-09-08
11
Medium Priority
?
387 Views
Last Modified: 2014-09-12
I have a small .accdb file that resides on a server.The file is used as part of version control process. It is automatically opened by more that 100 users on 100 work stations every time a new version of an application is available. The problem is that I seem to have to open the file once for every user on every work station to set the Trust Center Macro Settings to Enable all macros. So I have set that setting every time we have a new user on some work station.

Is there not some what to set that once and have it apply to all users on all work stations?
0
Comment
Question by:rmk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
11 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 2000 total points
ID: 40310831
Not really. TL's need to be set in each person's Registry.
0
 
LVL 75
ID: 40310835
Somewhere on Gunter's site (http://www.ribboncreator2013.de/en/) ... he has code to automate this at least ...instead of manually having to do it.  I used his code to create an EXE that I can email to users (here at work) that will set the TLs and Macro Security setting.  I use it frequently.,

mx
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:rmk
ID: 40310871
Could I ask the network administrator have a .reg file run at each user login with the following contents?

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Access\Security]
"VBAWarnings"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Access\Security\Trusted Locations]
"AllowNetworkLocations"=dword:00000001
0
 
LVL 75
ID: 40310880
You could ... but I suspect good luck with that.  But hey ...

mx
0
 

Author Comment

by:rmk
ID: 40310901
I'm confused as to how all of this works. The registry tree for the VBAWarnigs entry implies that it should be a global setting for the user. Yet it "seems" that some users have a problem opening \\server\setup\setupmgr.accdb but have no problem opening a file further down \\server\setup\15.0\setup.accdb. Is that possible?

I spoke with the network administrator and he already been setting the AllowNetworkLocations entry in a login script. So he's going to add the VBAWarnings to the login script and we'll see if that helps or not.
0
 
LVL 85
ID: 40310912
The registry settings must be on the workstation, not the server (although the server may need reg changes as well, depending on where that file is located).

I could see where a folder that was "downtree" from another could allow access, but and "uptree" folder would not (or the other way around, for that matter). Just because have permissions on C:\Folder1\Folder1A\Folder1AA does not mean I have permission on C:\Folder1\Folder1A.
0
 
LVL 75
ID: 40310924
"although the server may need reg changes as well, depending on where that file is located"
Fortunately, I never had to do that here at work.

Trusted Locations need to include the Folder (and any subfolder) on the Server where that back end is location, as well as where the FE resides on a local workstation.
And be sure to check "Subfolders of this location are also trusted" ... And "Allow Trusted Locations on my network."
0
 

Author Comment

by:rmk
ID: 40310935
I just met with the network administrator again and got some different information this time.

The login script for VBAWarnings did not set the registry entry. So he looked further into the AllowNetworkLocations setting and found that he was not using a login script to set it. He was setting it via group policy which probably explains why the AllowNetworkLocations check box is checked (but disabled) in the Access Trust Center Settings. He has used group policy to EnableAllMacros. We'll have to what a while to have it propagate to the servers and network. I'll test it later this evening or early tomorrow morning by re-booting my work station and let you know if that solves the problem or not.

BTW, all the appropriate users do have read / write permissions to all the appropriate server folders. I probably just don't accurately recall exactly what worked and didn't work.
0
 

Author Comment

by:rmk
ID: 40311041
It looks like group policy worked. After rebooting a work station the EnableAllMacros radio button is selected (and disabled) in the Access Trust Center settings and everything seems to be working fine.
0
 
LVL 75
ID: 40311056
Cool.  You have officially circumvented Macro (in)Security :-)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question