Prevent users from adding e-mail account types
Explanation
Disables/Enables the option for adding e-mail account of the associated type in the Server Types page of the E-mail Accounts dialog box.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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_Preventusersfromaddingemailaccounttypes
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\options'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Prevent users from adding Exchange e-mail accounts
# unchecked: 0
Set-ItemProperty -Path $k -Name 'disableexchange' -Value 1 -Type DWord
# Prevent users from adding Exchange ActiveSync e-mail accounts
# unchecked: 0
Set-ItemProperty -Path $k -Name 'disableeas' -Value 1 -Type DWord
# Prevent users from adding POP3 e-mail accounts
# unchecked: 0
Set-ItemProperty -Path $k -Name 'disablepop3' -Value 1 -Type DWord
# Prevent users from adding IMAP e-mail accounts
# unchecked: 0
Set-ItemProperty -Path $k -Name 'disableimap' -Value 1 -Type DWord
# Prevent users from adding other types of e-mail accounts
# unchecked: 0
Set-ItemProperty -Path $k -Name 'disableothertypes' -Value 1 -Type DWordDisable
# Disable: outlk16/L_Preventusersfromaddingemailaccounttypes
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": outlk16/L_Preventusersfromaddingemailaccounttypes
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\options'
Remove-ItemProperty -Path $k -Name 'disableexchange' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'disableeas' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'disablepop3' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'disableimap' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'disableothertypes' -ErrorAction SilentlyContinueOptions (5)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Prevent users from adding Exchange e-mail accountsL_PreventusersfromaddingExchangeemailaccounts | Check boxboolean | disableexchange | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Prevent users from adding Exchange ActiveSync e-mail accountsL_PreventusersfromaddingEASemailaccounts | Check boxboolean | disableeas | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Prevent users from adding POP3 e-mail accountsL_PreventusersfromaddingPOP3emailaccounts | Check boxboolean | disablepop3 | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Prevent users from adding IMAP e-mail accountsL_PreventusersfromaddingIMAPemailaccounts | Check boxboolean | disableimap | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Prevent users from adding other types of e-mail accountsL_Preventusersfromaddingothertypesofemailaccounts | Check boxboolean | disableothertypes | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.