I used to use this code to create modify the registry so that every user would just have to click on a simple bat file to run my dbase without getting the security warnings. I just need to add this dir to the trust center
"C:\USERS\PUBLIC\DESKTOP\WETCLEANS\"
I don't want users to have to modify this themselfs. Any ideas on how to update the trust center using a bat file?
"C:\USERS\PUBLIC\DESKTOP\WETCLEANS\"
I don't want users to have to modify this themselfs. Any ideas on how to update the trust center using a bat file?
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Access\Security\Trusted Locations]
"AllowNetworkLocations"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Access\Security\Trusted Locations\Wetcleans]
"Path"="c:\\Wetcleans\\"
"AllowSubfolders"=dword:00000001
"Description"="Part Tracker dbase"
"Date"="05.01.2009 12:00"
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Access\Security]
"Level"=dword:00000001
"VBAWarnings"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\ Access Connectivity Engine\Engines]
"SandBoxMode"=dword:00000002