Allow websites to prompt for information by using scripted windows
Autoriser les sites Web à demander des informations à l’aide de fenêtres scriptées
Explanation
This policy setting determines whether scripted windows are automatically displayed.
If you enable this policy setting, scripted windows are displayed.
If you disable this policy setting, the user must choose to display any scripted windows by using the Notification bar.
If you do not configure this policy setting, the user can enable or disable the Notification bar behavior.
Ce paramètre de stratégie détermine si les fenêtres scriptées s’affichent automatiquement.
Si vous activez ce paramètre de stratégie, les fenêtres scriptées sont affichées.
Si vous désactivez ce paramètre de stratégie, l’utilisateur doit choisir d’afficher les fenêtres scriptées à l’aide de la Barre de notification.
Si vous ne configurez pas ce paramètre de stratégie, l’utilisateur peut activer ou désactiver le comportement de la Barre de notification.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3- 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_Policy_ScriptPrompt_1
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Prompt for information using scripted windows
# Possible options:
# Enable = 0
# Disable = 3
Set-ItemProperty -Path $k -Name '2105' -Value 0 -Type DWordDisable
# Disable: inetres/IZ_Policy_ScriptPrompt_1
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/IZ_Policy_ScriptPrompt_1
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3'
Remove-ItemProperty -Path $k -Name '2105' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Prompt for information using scripted windowsDemander les informations à l’aide de fenêtres scriptéesIZ_Partname2105 | Drop-down listenum | 2105 | REG_DWORD | Required · Default choice (UI): #0
|