Allowed severity of self-harm content to and from the Image Question and Answering scenario 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 local content safety policy setting adjusts the allowed severity of self-harm content to and from the Image Question and Answering scenario for the user. The allowed severity may range from 0 to 7.
0 means allow no self-harm content.
7 means allow all self-harm 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 self-harm content to and from the Image Question and Answering scenario 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 self-harm content to and from the Image Question and Answering scenario defaults to 2.
For this policy setting, the order of priority is:
1. Allowed severity of self-harm content to and from the Image Question and Answering scenario for the computer.
2. Allowed severity of self-harm content in general for the computer.
3. Allowed severity of self-harm content to and from the Image Question and Answering scenario for the user.
4. Allowed severity of self-harm content in general for the user.
Registre
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\imagequestionandanswering- 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_AllowedSelfHarmContentSpecificImageQuestionAndAnsweringUser
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\imagequestionandanswering'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Allowed severity of self-harm content
Set-ItemProperty -Path $k -Name 'allowedselfharmcontent' -Value 2 -Type DWord # entre 0 et 7Désactiver
# Désactiver : office16/L_AllowedSelfHarmContentSpecificImageQuestionAndAnsweringUser
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : office16/L_AllowedSelfHarmContentSpecificImageQuestionAndAnsweringUser
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\imagequestionandanswering'
Remove-ItemProperty -Path $k -Name 'allowedselfharmcontent' -ErrorAction SilentlyContinueOptions (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| Allowed severity of self-harm contentL_AllowedSelfHarmContentSpecificImageQuestionAndAnsweringUserDecimal | Zone numériquedecimal | allowedselfharmcontent | REG_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.