Disable local content safety in general for the user.
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 disables local content safety in general for the user.
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 user.
- If this policy setting is disabled, local content safety in general is enabled for the user.
- If this policy setting is not configured, local content safety in general is enabled for the user.
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_CURRENT_USER\software\policies\microsoft\office\16.0\common\ai\contentsafety\general- Nom de la valeur
disablecontentsafety
| État | Valeur é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_DisableContentSafetyGeneralUser
$k = 'HKCU:\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 DWordDésactiver
# Désactiver : office16/L_DisableContentSafetyGeneralUser
$k = 'HKCU:\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 DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : office16/L_DisableContentSafetyGeneralUser
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\ai\contentsafety\general'
Remove-ItemProperty -Path $k -Name 'disablecontentsafety' -ErrorAction SilentlyContinueApplication
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.