Solved

Access 2013 Trust Center Macro Settings

Posted on 2014-09-08
11
372 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

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…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
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…
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…

705 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

15 Experts available now in Live!

Get 1:1 Help Now