Allow script-initiated windows without size or position constraints
Autoriser les fenêtres initiées par des scripts sans contrainte de taille ou de position
Explanation
This policy setting allows you to manage restrictions on script-initiated pop-up windows and windows that include the title and status bars.
If you enable this policy setting, Windows Restrictions security will not apply in this zone. The security zone runs without the added layer of security provided by this feature.
If you disable this policy setting, the possible harmful actions contained in script-initiated pop-up windows and windows that include the title and status bars cannot be run. This Internet Explorer security feature will be on in this zone as dictated by the Scripted Windows Security Restrictions feature control setting for the process.
If you do not configure this policy setting, the possible harmful actions contained in script-initiated pop-up windows and windows that include the title and status bars cannot be run. This Internet Explorer security feature will be on in this zone as dictated by the Scripted Windows Security Restrictions feature control setting for the process.
Ce paramètre de stratégie permet de gérer les restrictions des fenêtres publicitaires déclenchées par scripts et des fenêtres qui incluent les barres de titre et d’état.
Si vous activez ce paramètre de stratégie, la fonctionnalité de sécurité Restrictions des fenêtres ne s’applique pas à cette zone. La zone de sécurité s’exécute sans la protection supplémentaire offerte par cette fonctionnalité.
Si vous désactivez ce paramètre de stratégie, les éventuelles actions malveillantes contenues dans les fenêtres publicitaires déclenchées par scripts et dans les fenêtres qui incluent les barres de titre et d’état ne peuvent pas s’exécuter. Cette fonctionnalité de sécurité d’Internet Explorer est activée dans cette zone, comme indiqué par la valeur du paramètre Restrictions de sécurité de scripts de fenêtres.
Si vous ne configurez pas ce paramètre de stratégie, les éventuelles actions malveillantes contenues dans les fenêtres publicitaires déclenchées par scripts et dans les fenêtres qui incluent les barres de titre et d’état ne peuvent pas s’exécuter. Cette fonctionnalité de sécurité d’Internet Explorer est activée dans cette zone, comme indiqué par la valeur du paramètre Restrictions de sécurité de scripts de fenêtres.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\2HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\2- 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.
Computer (HKLM)
Enable
# Enable: inetres/IZ_PolicyWindowsRestrictionsURLaction_6
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\2'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Allow script-initiated windows without size or position constraints
# Possible options:
# Enable = 0
# Disable = 3
Set-ItemProperty -Path $k -Name '2102' -Value 3 -Type DWordDisable
# Disable: inetres/IZ_PolicyWindowsRestrictionsURLaction_6
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/IZ_PolicyWindowsRestrictionsURLaction_6
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\2'
Remove-ItemProperty -Path $k -Name '2102' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Allow script-initiated windows without size or position constraintsAutoriser les fenêtres initiées par des scripts sans contrainte de taille ou de positionIZ_Partname2102 | Drop-down listenum | 2102 | REG_DWORD | Required · Default choice (UI): #1
|