Open in the explorer

Configure Pop-up Blocker

Configurer le bloqueur de fenêtres publicitaires

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Edge User Configuration › Policies › Administrative Templates › Windows Components › Microsoft Edge FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft EdgeFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft Edge
Supported on
Microsoft Edge on Windows 10 or later FR: Microsoft Edge sur Windows 10 ou version ultérieure
ADMX file
MicrosoftEdge.admx
Internal name
MicrosoftEdge/AllowPopups

Explanation

This policy setting lets you decide whether to turn on Pop-up Blocker. By default, Pop-up Blocker is turned on..

If you enable this setting, Pop-up Blocker is turned on, stopping pop-up windows from appearing.

If you disable this setting, Pop-up Blocker is turned off, letting pop-ups windows appear.

If you don't configure this setting, employees can choose whether to use Pop-up Blocker.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de décider d’activer le bloqueur de fenêtres publicitaires. Par défaut, le bloqueur de fenêtres publicitaires est activé.

Si vous activez ce paramètre, le bloqueur de fenêtres publicitaires est activé, empêchant l’affichage des fenêtres publicitaires.

Si vous désactivez ce paramètre, le bloqueur de fenêtres publicitaires est désactivé, autorisant l’affichage des fenêtres publicitaires.

Si vous ne configurez pas ce paramètre, les employés peuvent choisir d’utiliser le bloqueur de fenêtres publicitaires.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\Main
HKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Main
Value name
AllowPopups
StateValue written
EnabledREG_SZ = yes
DisabledREG_SZ = no

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: MicrosoftEdge/AllowPopups
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowPopups' -Value 'yes' -Type String

Disable

# Disable: MicrosoftEdge/AllowPopups
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowPopups' -Value 'no' -Type String

Revert to "Not configured"

# Revert to "Not configured": MicrosoftEdge/AllowPopups
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
Remove-ItemProperty -Path $k -Name 'AllowPopups' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability