Enable security warnings for command-line flags

If disabled, this policy prevents security warnings from appearing when Microsoft Edge is launched with potentially dangerous command-line flags.

If enabled or unset, security warnings are displayed when these command-line flags are used to launch Microsoft Edge.

For example, the --disable-gpu-sandbox flag generates this warning: You're using an unsupported command-line flag: --disable-gpu-sandbox. This poses stability and security risks.

This policy is available only on Windows instances that are joined to a Microsoft Active Directory domain, Windows 10 Pro or Enterprise instances that enrolled for device management, or macOS instances that are that are managed via MDM or joined to a domain via MCX.

Supported on: Microsoft Edge version 78, Windows 7 or later

Registry PathSoftware\Policies\Microsoft\Edge
Value NameCommandLineFlagSecurityWarningsEnabled
Enabled Value1
Disabled Value0


Administrative Templates (Computers)

Administrative Templates (Users)