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