Enable MIME Sniffing: registry value 2100 (Zones\4)UserHKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4
- Policy ID
- IZ_PolicyMimeSniffingURLaction_7
- Scope
- Computer Configuration, User Configuration
- Supported on
- At least Internet Explorer 6.0 in Windows XP with Service Pack 2 or Windows Server 2003 with Service Pack 1
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Internet Explorer › Internet Control Panel › Security Page › Restricted Sites Zone
Registry
2100
REG_DWORDUserComputer…\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4 Current key
HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4
HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4
- Enabled value
- Depends on the option value
- Element
- Enable MIME Sniffing
| Item | Stored value |
|---|---|
| Enable | 0 |
| Disable | 3 |
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4] ; Options (use only one) ; Enable "2100"=dword:00000000 ; Disable "2100"=dword:00000003
CMD
:: Options (use only one) :: Enable reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4" /v "2100" /t REG_DWORD /d 0 /f :: Disable reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4" /v "2100" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Force | Out-Null # Options (use only one) # Enable New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Name '2100' -PropertyType DWord -Value 0 -Force | Out-Null # Disable New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Name '2100' -PropertyType DWord -Value 3 -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4] ; Options (use only one) ; Enable "2100"=dword:00000000 ; Disable "2100"=dword:00000003
CMD
:: Options (use only one) :: Enable reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4" /v "2100" /t REG_DWORD /d 0 /f :: Disable reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4" /v "2100" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Force | Out-Null # Options (use only one) # Enable New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Name '2100' -PropertyType DWord -Value 0 -Force | Out-Null # Disable New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Name '2100' -PropertyType DWord -Value 3 -Force | Out-Null