Office Admin Explorer

Allowed severity of hate content to and from the Alternative Text scenario for the computer.

Registry value
allowedhatecontent
Group PolicyAllowed severity of hate content to and from the Alternative Text scenario for the computer.
German versionAllowed severity of hate content to and from the Alternative Text scenario for the computer.
ScopeComputer · HKLM
ADMXoffice16.admx · L_AllowedHateContentSpecificAlternativeTextMachine
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\Alternative Text
Computerkonfiguration\Richtlinien\Administrative Vorlagen\Microsoft Office 2016 (Computer)\AI\Inhalt Sicherheit\Spezifisch\Alternativer Text

Registry

ValueData
HKLM\Software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\alternativetext
allowedhatecontentdecimal 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\alternativetext"
foreach ($name in @('allowedhatecontent')) {
    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\alternativetext"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'allowedhatecontent' -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\alternativetext"
Remove-ItemProperty -Path $key -Name 'allowedhatecontent' -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 hate content to and from the Alternative Text scenario for the computer. (Microsoft Office 2016 (Machine) › AI › Content Safety › Specific › Alternative Text).

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 hate content to and from the Alternative Text scenario for the computer. The allowed severity may range from 0 to 7.

0 means allow no hate content.

7 means allow all hate 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 hate content to and from the Alternative Text 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 hate content to and from the Alternative Text scenario defaults to 2.

For this policy setting, the order of priority is:

1. Allowed severity of hate content to and from the Alternative Text scenario for the computer.

2. Allowed severity of hate content in general for the computer.

3. Allowed severity of hate content to and from the Alternative Text scenario for the user.

4. Allowed severity of hate content in general for the user.

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

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