Message Formats: registry value msgformatsUserHKCU\software\policies\microsoft\office\16.0\outlook\security

Policy ID
L_MessageFormats
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Outlook 2016 › Security › Cryptography

Registry

msgformats

REG_DWORDUser
Enabled value
Depends on the option value
Element
Support the following message formats:
Options
ItemStored value
S/MIME1
Exchange2
Fortezza20
S/MIME and Exchange3
S/MIME and Fortezza21
Exchange and Fortezza22
S/MIME, Exchange, and Fortezza23
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\security]

; Options (use only one)
; S/MIME
"msgformats"=dword:00000001
; Exchange
"msgformats"=dword:00000002
; Fortezza
"msgformats"=dword:00000014
; S/MIME and Exchange
"msgformats"=dword:00000003
; S/MIME and Fortezza
"msgformats"=dword:00000015
; Exchange and Fortezza
"msgformats"=dword:00000016
; S/MIME, Exchange, and Fortezza
"msgformats"=dword:00000017
CMD
:: Options (use only one)

:: S/MIME
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "msgformats" /t REG_DWORD /d 1 /f
:: Exchange
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "msgformats" /t REG_DWORD /d 2 /f
:: Fortezza
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "msgformats" /t REG_DWORD /d 20 /f
:: S/MIME and Exchange
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "msgformats" /t REG_DWORD /d 3 /f
:: S/MIME and Fortezza
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "msgformats" /t REG_DWORD /d 21 /f
:: Exchange and Fortezza
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "msgformats" /t REG_DWORD /d 22 /f
:: S/MIME, Exchange, and Fortezza
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "msgformats" /t REG_DWORD /d 23 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Force | Out-Null

# Options (use only one)
# S/MIME
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'msgformats' -PropertyType DWord -Value 1 -Force | Out-Null
# Exchange
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'msgformats' -PropertyType DWord -Value 2 -Force | Out-Null
# Fortezza
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'msgformats' -PropertyType DWord -Value 20 -Force | Out-Null
# S/MIME and Exchange
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'msgformats' -PropertyType DWord -Value 3 -Force | Out-Null
# S/MIME and Fortezza
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'msgformats' -PropertyType DWord -Value 21 -Force | Out-Null
# Exchange and Fortezza
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'msgformats' -PropertyType DWord -Value 22 -Force | Out-Null
# S/MIME, Exchange, and Fortezza
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'msgformats' -PropertyType DWord -Value 23 -Force | Out-Null