Open in the explorer

Disable local content safety to and from the Rewrite scenario for the computer.

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Office 2016 (Machine) › AI › Content Safety › Specific › Rewrite
Supported on
SUPPORTED_Windows10_0
ADMX file
office16.admx
Internal name
office16/L_DisableContentSafetySpecificRewriteMachine

Explanation

This policy setting disables local content safety of the Rewrite scenario for the computer.

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 enabled, local content safety for the Rewrite scenario is disabled for the computer.
- If this policy setting is disabled, local content safety for the Rewrite scenario is enabled for the computer.
- If this policy setting is not configured, local content safety for 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, local content safety for the Rewrite scenario is enabled for the computer.

For this policy setting, the order of priority is:
1. Disable local content safety to and from the Rewrite scenario for the computer.
2. Disable local content safety in general for the computer.
3. Disable local content safety to and from the Rewrite scenario for the user.
4. Disable local content safety in general for the user.

Registry

HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\rewrite
Value name
disablecontentsafety
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: office16/L_DisableContentSafetySpecificRewriteMachine
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\rewrite'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'disablecontentsafety' -Value 1 -Type DWord

Disable

# Disable: office16/L_DisableContentSafetySpecificRewriteMachine
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\rewrite'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'disablecontentsafety' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": office16/L_DisableContentSafetySpecificRewriteMachine
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\ai\contentsafety\specific\rewrite'
Remove-ItemProperty -Path $k -Name 'disablecontentsafety' -ErrorAction SilentlyContinue

Application

Microsoft 365 Apps / Office (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.