Open in the explorer

Default Window Management permission setting

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Edge › Content settings User Configuration › Policies › Administrative Templates › Microsoft Edge › Content settings
Supported on
Microsoft Edge version 123, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/DefaultWindowManagementSetting

Explanation

Setting the policy to "BlockWindowManagement" (value 2) automatically denies the window management permission to sites by default. This setting limits the ability of sites to see information about the device's screens and use that information to open and place windows or request fullscreen on specific screens.

Setting the policy to "AskWindowManagement" (value 3) by default prompts the user when the window management permission is requested. If users allow the permission, it extends the ability of sites to see information about the device's screens and use that information to open and place windows or request fullscreen on specific screens.

Not configuring the policy means the "AskWindowManagement" policy applies, but users can change this setting.

Policy options mapping:

* BlockWindowManagement (2) = Denies the Window Management permission on all sites by default

* AskWindowManagement (3) = Ask every time a site wants obtain the Window Management permission

Use the preceding information when configuring this policy.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
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: msedge/DefaultWindowManagementSetting
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Default Window Management permission setting
# Possible options:
#   Denies the Window Management permission on all sites by default = 2
#   Ask every time a site wants obtain the Window Management permission = 3
Set-ItemProperty -Path $k -Name 'DefaultWindowManagementSetting' -Value 2 -Type DWord

Disable

# Disable: msedge/DefaultWindowManagementSetting
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

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

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Default Window Management permission settingDefaultWindowManagementSettingDrop-down listenumDefaultWindowManagementSettingREG_DWORD
LabelValue
Denies the Window Management permission on all sites by defaultREG_DWORD = 2
Ask every time a site wants obtain the Window Management permissionREG_DWORD = 3

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.