
So, how to run msedge.exe without automatic sign-in? Is there a switch, a policy or something that will disable it? Can it be disabled by default when -user-data-dir switch is present? ms-edge

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -remote-debugging-port=2015 -no-first-run -no-default-browser-check -user-data-dir="C:\Users\user\AppData\Local\Temp\vscode-edge-debug-userdatadir_2015" -flag-switches-begin -flag-switches-endĪs per Edge policy, if I disable sign in, I won't be able to use it on my main profile. For example, browser started in debug session shows the following command line: Since debugger profile created in temp dir, it gets deleted when cleaning temp dir, signing me again on the next run.

has signed in on this device, so we've also signed you in to Microsoft Edge.Īmong other things, I don't want debugger profile from VSCode to automatically sign me in, but I do want to have main profile signed in. When you are signed into windows with Microsoft account, starting Microsoft Edge automatically signs you in.
