Trusted Catalog Location #2
Explanation
This policy setting sets the URL location of a Trusted SharePoint Catalog or Shared Folder Catalog. All web add-ins at this location are trusted so that users can work with these add-ins in their documents. However, the user cannot insert these add-ins into an Office document.
If you enable this policy setting and set the URL, users can work with web add-ins from the SharePoint Catalog or Shared Folder Catalog at that URL. Shared Folder Catalogs at that URL will be ignored if the policy to allow users to control the Trusted Shared Folder Catalogs is enabled.
If you disable this policy setting, users will not be able to work with any web add-ins on Internet zone catalogs, and they will be prompted before they start web add-ins from any other catalogs. If the policy to allow users to control the Trusted Shared Folder Catalogs is enabled, users can set their own Trusted Shared Folder Catalog locations and web add-ins in the their Trusted Catalogs locations will be started without a trust prompt.
If you do not configure this policy setting or any other policy settings in the Trusted Catalogs folder, users can set their own Trusted Sharepoint Catalog and Shared Folder Catalog locations
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\wef\trustedcatalogs\catalog02- Value name
- not defined in the ADMX
| State | Value written | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Enabled |
| |||||||||
| Disabled | not defined in the ADMX (see the options below) |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: office16/L_TrustedCatalog02
$k = 'HKCU:\software\policies\microsoft\office\16.0\wef\trustedcatalogs\catalog02'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'id' -Value 'catalog02' -Type String
Set-ItemProperty -Path $k -Name 'flags' -Value 0 -Type DWord
# URL
Set-ItemProperty -Path $k -Name 'url' -Value '<value>' -Type ExpandStringDisable
# Disable: office16/L_TrustedCatalog02
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": office16/L_TrustedCatalog02
$k = 'HKCU:\software\policies\microsoft\office\16.0\wef\trustedcatalogs\catalog02'
Remove-ItemProperty -Path $k -Name 'id' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'flags' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'url' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| URL:L_URL | Text boxtext | url | REG_EXPAND_SZ |
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.