Configure Outlook Express: registry value OESettings (Control Panel)UserHKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel

Policy ID
OESettings
Scope
User Configuration
Supported on
Only Internet Explorer 6.0
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Internet Explorer

Registry

BlockExeAttachments

REG_DWORDUser
Checked
1
Unchecked
0
Element
Block attachments that could contain a virus
Value type
REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Outlook Express]

; Options (use only one)
; Checked
"BlockExeAttachments"=dword:00000001
; Unchecked
"BlockExeAttachments"=dword:00000000
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\Software\Microsoft\Outlook Express" /v "BlockExeAttachments" /t REG_DWORD /d 1 /f
:: Unchecked
reg add "HKCU\Software\Microsoft\Outlook Express" /v "BlockExeAttachments" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Microsoft\Outlook Express' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Outlook Express' -Name 'BlockExeAttachments' -PropertyType DWord -Value 1 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Outlook Express' -Name 'BlockExeAttachments' -PropertyType DWord -Value 0 -Force | Out-Null