Trusted Locations
You can add folders to trusted locations from "Office Button" / "Access Options" / "Trust Center" / "Trust Center Settings..." / "Trusted Loactions"
The entries will be stored in the registry under:
Access 2007:
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Access\Security\Trusted Locations]
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Access\Security\Trusted Locations\Location(n)]
Access 2010:
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations]
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\Location(n)]
"Path"="C:\PathToDB\"
"AllowSubfolders"=dword:00000001
"Description"="The description"
"Date"="01.01.2007 12:00"
For each trusted folder an entry with following keys will be created in the registry:
|
Path: |
Path of trusted location (ending with „\“) |
|
AllowSubfolders: |
Determines whether subfolders are trusted as well (0=No; 1=Yes). |
|
Description: |
Free description. |
|
Date: |
Date of last update (Format: DD.MM.YYYY hh:nn) |
Microsoft TechNet:
Tool (AppPath):
Download: AddPath.exe (Access 2007)
Download: AddPath2010.exe (Access 2010)
(by double-click on AppPath.exe the folder with subfolders will be added to the trusted locations list.)
Parameter (AddPath/AddPath2010):
AddPath.exe / AddPath2010.exe supports following parameters:
/Path: Folder to be added.
/noSubFolder: Only the folder or folder/subfolders will be trusted.
/s: Silent Mode
/LangEN: English Message Boxes
Example (AddPath):
Parameters:
C:\MyFolder\AddPath.exe /Path C:\MyFolder\SecondFolder\
C:\MyFolder\AddPath.exe /Path C:\MyFolder\SecondFolder\ /noSubFolder
C:\MyFolder\AddPath.exe /noSubFolder
C:\MyFolder\AddPath.exe /Path C:\MyFolder\SecondFolder\ /noSubFolder /s
C:\MyFolder\AddPath.exe /Path C:\MyFolder\SecondFolder\ /noSubFolder /LangEN
Example (AddPath2010):
Parameters:
C:\MyFolder\AddPath2010.exe /Path C:\MyFolder\SecondFolder\
C:\MyFolder\AddPath2010.exe /Path C:\MyFolder\SecondFolder\ /noSubFolder
C:\MyFolder\AddPath2010.exe /noSubFolder
C:\MyFolder\AddPath2010.exe /Path C:\MyFolder\SecondFolder\ /noSubFolder /s
C:\MyFolder\AddPath2010.exe /Path C:\MyFolder\SecondFolder\ /noSubFolder /LangEN
|