Open in the explorer

Allow or deny screen capture

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

Explanation

If you enable this policy, or don't configure this policy, a webpage uses screen-share APIs (for example, getDisplayMedia() or the Desktop Capture extension API) for a screen capture.
If you disable this policy, calls to screen-share APIs fail. For example, if you're using a web-based online meeting, video or screen sharing won't work. However, this policy isn't considered.
(and a site will be allowed to use screen-share APIs) if the site matches an origin pattern in any of the following policies:
'ScreenCaptureAllowedByOrigins' (Allow Desktop, Window, and Tab capture by these origins),
'WindowCaptureAllowedByOrigins' (Allow Window and Tab capture by these origins),
'TabCaptureAllowedByOrigins' (Allow Tab capture by these origins),
'SameOriginTabCaptureAllowedByOrigins' (Allow Same Origin Tab capture by these origins).

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
Value name
ScreenCaptureAllowed
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: msedge/ScreenCaptureAllowed
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ScreenCaptureAllowed' -Value 1 -Type DWord

Disable

# Disable: msedge/ScreenCaptureAllowed
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ScreenCaptureAllowed' -Value 0 -Type DWord

Revert to "Not configured"

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

User (HKCU)

Enable

Disable

Revert to "Not configured"

Application

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

Official templates downloaded on November 12, 2026.