Allow updates to status bar via script
Autoriser les mises à jour de la barre d’état via le script
Explanation
This policy setting allows you to manage whether script is allowed to update the status bar within the zone.
If you enable this policy setting, script is allowed to update the status bar.
If you disable or do not configure this policy setting, script is not allowed to update the status bar.
Ce paramètre de stratégie permet d’indiquer si le script est autorisé à mettre à jour la barre d’état dans la zone.
Si vous activez ce paramètre de stratégie, le script est autorisé à mettre à jour la barre d’état.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, le script n’est pas autorisé à mettre à jour la barre d’état.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4- 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_ScriptStatusBar_7
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Status bar updates via script
# Possible options:
# Enable = 0
# Disable = 3
Set-ItemProperty -Path $k -Name '2103' -Value 0 -Type DWordDisable
# Disable: inetres/IZ_Policy_ScriptStatusBar_7
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/IZ_Policy_ScriptStatusBar_7
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4'
Remove-ItemProperty -Path $k -Name '2103' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Status bar updates via scriptMises à jour de la barre d’état via un scriptIZ_Partname2103 | Drop-down listenum | 2103 | REG_DWORD | Required · Default choice (UI): #0
|