Ouvrir dans l'explorateur

Allowed severity of violent content 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_AllowedViolentContentGeneralMachine

Explication

This local content safety policy setting adjusts the allowed severity of violent content in general for the computer. The allowed severity may range from 0 to 7.

0 means allow no violent content.

7 means allow all violent content.

For more information on content safety severities, please refer to the following documentation:
https://learn.microsoft.com/en-us/azure/ai-services/content-safety/concepts/harm-categories?tabs=definitions

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 not configured, the allowed severity of violent content 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, the allowed severity of violent content in general defaults to 2.

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

Registre

HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\common\ai\contentsafety\general
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : 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_AllowedViolentContentGeneralMachine
$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 }
# Allowed severity of violent content
Set-ItemProperty -Path $k -Name 'allowedviolentcontent' -Value 2 -Type DWord  # entre 0 et 7

Désactiver

# Désactiver : office16/L_AllowedViolentContentGeneralMachine
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

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

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Allowed severity of violent contentL_AllowedViolentContentGeneralMachineDecimalZone numériquedecimalallowedviolentcontentREG_DWORD
Min : 0 · Max : 7 · Défaut (interface) : 2

Application

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

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