Block processing of S/MIME encrypted messages by certain connected experiences
Explanation
This policy controls whether certain connected experiences that analyze your content can process email messages with S/MIME encryption.
If you enable this policy setting, certain connected experiences that analyze your content can’t process email messages with S/MIME encryption. This means connected experiences such as the following won’t be available:
- Spelling and grammar check (Editor)
- Suggested replies
- Automatically apply or recommend sensitivity labels
- Microsoft Purview Data Loss Prevention policy tips
For more information about which connected experiences are affected, see https://go.microsoft.com/fwlink/p/?linkid=2268773.
If you disable or don’t configure this policy setting, all connected experiences that analyze your content can process email messages with S/MIME encryption.
Note: This policy setting only applies to Microsoft 365 Apps for enterprise.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\privacy- Value name
smimedisabledataupload
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 2 |
| Disabled | REG_DWORD = 1 |
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: outlk16/L_SMimeDisableDataUpload
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\privacy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'smimedisabledataupload' -Value 2 -Type DWordDisable
# Disable: outlk16/L_SMimeDisableDataUpload
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\privacy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'smimedisabledataupload' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": outlk16/L_SMimeDisableDataUpload
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\privacy'
Remove-ItemProperty -Path $k -Name 'smimedisabledataupload' -ErrorAction SilentlyContinueApplication
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.