Configure users ability to override feature flags: registry value FeatureFlagOverridesControlUserHKCU\Software\Policies\Microsoft\Edge

Policy ID
FeatureFlagOverridesControl
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 93, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge › Experimentation

Registry

FeatureFlagOverridesControl

REG_DWORDUserComputer
Enabled value
Depends on the option value
Element
Configure users ability to override feature flags
Options
ItemStored value
Allow users to override feature flags using command line arguments only2
Allow users to override feature flags1
Prevent users from overriding feature flags0
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Options (use only one)
; Allow users to override feature flags using command line arguments only
"FeatureFlagOverridesControl"=dword:00000002
; Allow users to override feature flags
"FeatureFlagOverridesControl"=dword:00000001
; Prevent users from overriding feature flags
"FeatureFlagOverridesControl"=dword:00000000
CMD
:: Options (use only one)

:: Allow users to override feature flags using command line arguments only
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "FeatureFlagOverridesControl" /t REG_DWORD /d 2 /f
:: Allow users to override feature flags
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "FeatureFlagOverridesControl" /t REG_DWORD /d 1 /f
:: Prevent users from overriding feature flags
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "FeatureFlagOverridesControl" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Options (use only one)
# Allow users to override feature flags using command line arguments only
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'FeatureFlagOverridesControl' -PropertyType DWord -Value 2 -Force | Out-Null
# Allow users to override feature flags
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'FeatureFlagOverridesControl' -PropertyType DWord -Value 1 -Force | Out-Null
# Prevent users from overriding feature flags
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'FeatureFlagOverridesControl' -PropertyType DWord -Value 0 -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Options (use only one)
; Allow users to override feature flags using command line arguments only
"FeatureFlagOverridesControl"=dword:00000002
; Allow users to override feature flags
"FeatureFlagOverridesControl"=dword:00000001
; Prevent users from overriding feature flags
"FeatureFlagOverridesControl"=dword:00000000
CMD
:: Options (use only one)

:: Allow users to override feature flags using command line arguments only
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "FeatureFlagOverridesControl" /t REG_DWORD /d 2 /f
:: Allow users to override feature flags
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "FeatureFlagOverridesControl" /t REG_DWORD /d 1 /f
:: Prevent users from overriding feature flags
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "FeatureFlagOverridesControl" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Options (use only one)
# Allow users to override feature flags using command line arguments only
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'FeatureFlagOverridesControl' -PropertyType DWord -Value 2 -Force | Out-Null
# Allow users to override feature flags
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'FeatureFlagOverridesControl' -PropertyType DWord -Value 1 -Force | Out-Null
# Prevent users from overriding feature flags
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'FeatureFlagOverridesControl' -PropertyType DWord -Value 0 -Force | Out-Null