Prevent access to the about:flags page in Microsoft Edge
Empêcher l’accès à la page about:flags dans Microsoft Edge
Explanation
This policy settings lets you decide whether employees can access the about:flags page, which is used to change developer settings and to enable experimental features.
If you enable this policy setting, employees can't access the about:flags page.
If you disable or don't configure this setting, employees can access the about:flags page.
Ce paramètre vous permet de décider si les employés peuvent accéder à la page about:flags, utilisée pour modifier les paramètres de développeur et activer les fonctionnalités expérimentales.
Si vous activez ce paramètre, les employés ne peuvent pas accéder à la page about:flags.
Si vous le désactivez ou ne le configurez pas, les employés peuvent accéder à la page about:flags.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\MainHKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Main- Value name
PreventAccessToAboutFlagsInMicrosoftEdge
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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/PreventAccessToAboutFlagsInMicrosoftEdge
$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 'PreventAccessToAboutFlagsInMicrosoftEdge' -Value 1 -Type DWordDisable
# Disable: MicrosoftEdge/PreventAccessToAboutFlagsInMicrosoftEdge
$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 'PreventAccessToAboutFlagsInMicrosoftEdge' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": MicrosoftEdge/PreventAccessToAboutFlagsInMicrosoftEdge
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
Remove-ItemProperty -Path $k -Name 'PreventAccessToAboutFlagsInMicrosoftEdge' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"