Solved

Access 2013 Trust Center Macro Settings

Posted on 2014-09-08
11
377 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 - Access MVP) earned 500 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
 
LVL 84
ID: 40310862
0
 

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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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 84
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now