Office Admin Explorer

Allowed severity of self-harm content to and from the Rewrite scenario for the computer.

Registry value
allowedselfharmcontent
Group PolicyAllowed severity of self-harm content to and from the Rewrite scenario for the computer.
German versionZulässiger Schweregrad von selbstschädigenden Inhalten in und aus dem Szenario „Umschreiben“ für den Computer.
ScopeComputer · HKLM
ADMXoffice16.admx · L_AllowedSelfHarmContentSpecificRewriteMachine
Open in the interactive explorer+ Add to my collection

Group Policy path

Computer Configuration\Policies\Administrative Templates\Microsoft Office 2016 (Machine)\AI\Content Safety\Specific\Rewrite
Computerkonfiguration\Richtlinien\Administrative Vorlagen\Microsoft Office 2016 (Computer)\AI\Inhalt Sicherheit\Spezifisch\Umschreiben

Registry

ValueData
HKLM\Software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\rewrite
allowedselfharmcontentdecimal 0–7

Not configured = the value does not exist – the application default applies and users may change the setting.

PowerShell

Check the current value (read-only)

# --- Settings ---
$root = 'HKLM:'   # needs an elevated session

$key = "$root\Software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\rewrite"
foreach ($name in @('allowedselfharmcontent')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}

Admin rights needed: HKLM values require an elevated PowerShell.

Enable

# --- Settings ---
$root = 'HKLM:'   # needs an elevated session

try {
    $key = "$root\Software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\rewrite"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'allowedselfharmcontent' -PropertyType DWord -Value 0 -Force -ErrorAction Stop | Out-Null   # range 0–7
    'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }
Reset to Not configured
# --- Settings ---
$root = 'HKLM:'   # needs an elevated session

$key = "$root\Software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\rewrite"
Remove-ItemProperty -Path $key -Name 'allowedselfharmcontent' -ErrorAction SilentlyContinue
'Policy values removed (Not configured).'

Intune (settings catalog)

Not found in the current settings catalog export. Search the catalog for Allowed severity of self-harm content to and from the Rewrite scenario for the computer. (Microsoft Office 2016 (Machine) › AI › Content Safety › Specific › Rewrite).

Cloud Policy

Not available: Cloud Policy only applies user policies, this is a computer policy (HKLM).

Microsoft explanation

This local content safety policy setting adjusts the allowed severity of self-harm content to and from the Rewrite scenario for the computer. 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 this policy setting is not configured, the allowed severity of self-harm content to and from the Rewrite 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 Rewrite scenario defaults to 2.

For this policy setting, the order of priority is:

1. Allowed severity of self-harm content to and from the Rewrite 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 Rewrite scenario for the user.

4. Allowed severity of self-harm content in general for the user.

Same category: Microsoft Office 2016 (Machine) › AI › Content Safety › Specific › Rewrite

All policies in this category · All 945 policies of office16.admx