Open in the explorer

Force minimum YouTube Restricted Mode

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 77, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/ForceYouTubeRestrict

Explanation

Enforces a minimum Restricted Mode on YouTube and prevents users from picking a less restricted mode.

Set to 'Strict' to enforce Strict Restricted Mode on YouTube.

Set to 'Moderate' to enforce the user to only use Moderate Restricted Mode and Strict Restricted Mode on YouTube. They can't disable Restricted Mode.

Set to 'Off' or don't configure this policy to not enforce Restricted Mode on YouTube. External policies such as YouTube policies might still enforce Restricted Mode.

Policy options mapping:

* Off (0) = Do not enforce Restricted Mode on YouTube

* Moderate (1) = Enforce at least Moderate Restricted Mode on YouTube

* Strict (2) = Enforce Strict Restricted Mode for YouTube

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/ForceYouTubeRestrict
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Force minimum YouTube Restricted Mode
# Possible options:
#   Do not enforce Restricted Mode on YouTube = 0
#   Enforce at least Moderate Restricted Mode on YouTube = 1
#   Enforce Strict Restricted Mode for YouTube = 2
Set-ItemProperty -Path $k -Name 'ForceYouTubeRestrict' -Value 0 -Type DWord

Disable

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

Revert to "Not configured"

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

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Force minimum YouTube Restricted ModeForceYouTubeRestrictDrop-down listenumForceYouTubeRestrictREG_DWORD
LabelValue
Do not enforce Restricted Mode on YouTubeREG_DWORD = 0
Enforce at least Moderate Restricted Mode on YouTubeREG_DWORD = 1
Enforce Strict Restricted Mode for YouTubeREG_DWORD = 2

Application

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

Official templates downloaded on November 12, 2026.