Other issues or features related to Microsoft Edge on Windows 11
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I keep having this reoccurring error pop up on microsoft edge when i first open it. It also appears on my "Prime Video for Windows" App:
"You're using an unsupported command-line flag: --log-net-log. This poses stability and security risks."
I'm not a programmer or anything and am skittish of trying to do anything through powershell or visual studio because i've created problems for myself in the past. Can someone guide me through this? Im willing to try powershell again as long as i can recover from it.
Other issues or features related to Microsoft Edge on Windows 11
AI answer
That warning means Microsoft Edge was started with the --log-net-log command-line flag. Microsoft documents that potentially dangerous command-line flags can trigger a security warning because they can pose stability and security risks.
A safe first step is to confirm whether this is only a warning or part of a broader Edge startup problem:
If the warning continues, use the built-in repair option for Edge. This is safer than starting with PowerShell:
Microsoft states that browser data and settings should not be affected by repair.
If Edge still shows the warning after repair, restart the PC:
Because the same warning also appears in Prime Video for Windows, the issue may not be limited to Edge itself. Microsoft also recommends these checks when Edge has startup or stability issues:
Microsoft also documents a policy named CommandLineFlagSecurityWarningsEnabled. When enabled or left unset, Edge shows security warnings for dangerous command-line flags such as --disable-gpu-sandbox. The warning being shown indicates Edge detected a command-line flag at launch.
No PowerShell or Visual Studio steps are required for the supported first-line troubleshooting in this case.
Hi,
This warning usually appears when Microsoft Edge is launched with an unsupported command-line parameter, either from the Edge shortcut via a command-line parameter or from a feature enabled on the experimental flags page.
To double-check, right-click the Edge shortcut on the Taskbar, then right-click Profile (n) - Edge and select Properties. Under Target, check if it contains --log-net-log and remove it if you find it. The Target field should only contain similar to this if you have an active profile:
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --profile-directory="Profile 1"
If there’s nothing there, enter edge://flags in the address bar and press Enter. If you have any features enabled there, set them back to Default, or simply click Reset all to clear all the changes.