Ouvrir dans l'explorateur

Disable local content safety in general for the computer.

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Microsoft Office 2016 (ordinateur) › AI › Sécurité du contenu › Général EN : Computer Configuration › Policies › Administrative Templates › Microsoft Office 2016 (Machine) › AI › Content Safety › General
Pris en charge sur
SUPPORTED_Windows10_0
Fichier ADMX
office16.admx
Nom interne
office16/L_DisableContentSafetyGeneralMachine

Explication

This policy setting disables local content safety in general for the computer.

For local content safety policy, scenario-specific settings are prioritized over general settings and computer settings are prioritized over user settings.

If a higher priority policy setting is not configured, then:
- If this policy setting is enabled, local content safety in general is disabled for the computer.
- If this policy setting is disabled, local content safety in general is enabled for the computer.
- If this policy setting is not configured, local content safety in general is determined by lower priority policy settings.
- If this policy setting is not configured and lower priority policy settings are also not configured, local content safety in general is enabled for the computer.

For this policy setting, the order of priority is:
1. Disable local content safety to and from [a specific scenario] for the computer.
2. Disable local content safety in general for the computer.
3. Disable local content safety to and from [a specific scenario] for the user.
4. Disable local content safety in general for the user.

Registre

HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\common\ai\contentsafety\general
Nom de la valeur
disablecontentsafety
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

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_DisableContentSafetyGeneralMachine
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\ai\contentsafety\general'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'disablecontentsafety' -Value 1 -Type DWord

Désactiver

# Désactiver : office16/L_DisableContentSafetyGeneralMachine
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\ai\contentsafety\general'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'disablecontentsafety' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : office16/L_DisableContentSafetyGeneralMachine
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\ai\contentsafety\general'
Remove-ItemProperty -Path $k -Name 'disablecontentsafety' -ErrorAction SilentlyContinue

Application

Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.