Allow script-initiated windows without size or position constraints: registry value 2102 (Zones\2)ComputerHKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2

Policy ID
IZ_PolicyWindowsRestrictionsURLaction_5
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 › Trusted Sites Zone

Registry

2102

REG_DWORDComputerUser
Enabled value
Depends on the option value
Element
Allow script-initiated windows without size or position constraints
Options
ItemStored value
Enable0
Disable3
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2]

; Options (use only one)
; Enable
"2102"=dword:00000000
; Disable
"2102"=dword:00000003
CMD
:: Options (use only one)

:: Enable
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2102" /t REG_DWORD /d 0 /f
:: Disable
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2102" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Force | Out-Null

# Options (use only one)
# Enable
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '2102' -PropertyType DWord -Value 0 -Force | Out-Null
# Disable
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '2102' -PropertyType DWord -Value 3 -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2]

; Options (use only one)
; Enable
"2102"=dword:00000000
; Disable
"2102"=dword:00000003
CMD
:: Options (use only one)

:: Enable
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2102" /t REG_DWORD /d 0 /f
:: Disable
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2102" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Force | Out-Null

# Options (use only one)
# Enable
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '2102' -PropertyType DWord -Value 0 -Force | Out-Null
# Disable
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '2102' -PropertyType DWord -Value 3 -Force | Out-Null