Default Shared Folder Location
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
This policy setting allows you to set the location of the Shared Folder Catalog that is designated as Default. The web add-ins contained in the Default Catalog can be inserted into Office documents by users. If the policy setting that allows users to control the Trusted Shared Folder Catalogs is enabled, this setting will be ignored.
If you enable this policy setting and do not enable the policy setting that allows users to control the Trusted Shared Folder Catalogs, you can set the URL for the Shared Folder from which users can insert web add-ins into their Office documents.
If you disable this policy setting and do not enable the policy setting that allows users to control the Trusted Shared Folder Catalogs, users cannot insert web add-ins from a Shared Folder.
If you do not configure this policy or any other policy settings in the Trusted Catalogs folder, users can set their own Default Shared Folder location.
Registre
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\wef\trustedcatalogs\catalogfsdefault- Nom de la valeur
- non défini dans l'ADMX
| État | Valeur écrite | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Activé |
| |||||||||
| Désactivé | non défini dans l'ADMX (voir les options ci-dessous) |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : office16/L_DefaultFileShareCatalog
$k = 'HKCU:\software\policies\microsoft\office\16.0\wef\trustedcatalogs\catalogfsdefault'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'id' -Value 'catalogFSDefault' -Type String
Set-ItemProperty -Path $k -Name 'flags' -Value 1 -Type DWord
# URL
Set-ItemProperty -Path $k -Name 'url' -Value '<valeur>' -Type ExpandStringDésactiver
# Désactiver : office16/L_DefaultFileShareCatalog
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : office16/L_DefaultFileShareCatalog
$k = 'HKCU:\software\policies\microsoft\office\16.0\wef\trustedcatalogs\catalogfsdefault'
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)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| URL:L_URL | Zone de textetext | url | REG_EXPAND_SZ |
Application
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.