?
Solved

Access 2013 Trust Center Macro Settings

Posted on 2014-09-08
11
Medium Priority
?
394 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
  • 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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

593 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