Enable security warnings for command-line flags
- Policy ID
- CommandLineFlagSecurityWarningsEnabled
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Edge version 78, Windows 7 or later
- Source
- Microsoft Edge Policy Templates (version 155.0.4283.45)
- Category
- Microsoft Edge
Description
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, joined to Microsoft Azure Active Directory, or enrolled for device management. On macOS, this policy is available only on instances that are managed via MDM or joined to a domain via MCX.
Registry
ComputerHKEY_LOCAL_MACHINE
- CommandLineFlagSecurityWarningsEnabledREG_DWORD
UserHKEY_CURRENT_USER
- CommandLineFlagSecurityWarningsEnabledREG_DWORD