Jun 11 2020 05:13 PM
Jun 11 2020 05:13 PM
Greetings Insiders,
Join us in gathering information about a new issue that our team is investigating.
What we know so far
We've heard from our community that some versions of Microsoft Edge are automatically launching whenever users start their PCs and log into Windows, regardless of their selection in edge://settings/onStartup. It’s currently unknown whether there are any accompanying behavioral changes with this bug.
If this is something that you're experiencing with Microsoft Edge, we want to know in the comments below! And if you’d like to roll up your sleeves and start the debugging process with us, we’d love your assistance.
How to help
To help our devs understand and address this as quickly as possible, we ask that you kindly share diagnostic data through our secure in-browser feedback tool. So, if you're familiar with your device’s command prompt, please run the following steps to create and submit additional log files.
auditpol.exe /set /subcategory:"Process Creation" /failure:enable /success:enable
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Audit /v ProcessCreationIncludeCmdLine_Enabled /t REG_DWORD /d 0x1 /f
Get-WinEvent -FilterHashTable @{LogName="Security"; ID="4688"} | fl > c:\users\edgelogfile.txt
A. Open the feedback tool by holding down the keys Shift+Alt+I, or by navigating through the "…" menu > Help and feedback > Send feedback.
B. In the pop-up, please ensure that "Send diagnostic data" is checked
C. To attach a file, click the diagnostic date hyperlink*
*Note: some users may see a different version of the tool that has a second button at the bottom for adding attachments directly
D. In the next feedback window, select "Attach a file," then "Choose file to upload"
E. After attaching c:\users\edgelogfile.txt, click "Save and include"
F. Then back in the first window, be sure to hit "Send"
6. Clean up - from an Admin Command Prompt run these three commands
auditpol.exe /set /subcategory:"Process Creation" /failure:disable /success:disable
reg delete HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Audit /v ProcessCreationIncludeCmdLine_Enabled /f
del /f c:\users\edgelogfile.txt
Thanks for your help. We look forward to hearing from you!
- The Microsoft Edge Product Team
Jun 13 2020 04:11 PM - edited Jun 13 2020 04:12 PM
1. What would the settings in edge://settings/onStartup have to do with this at all?
2. Wouldn't this simply be from the Windows setting for automatically restarting apps on logon (under Accounts -> Sign-in options)?
Jun 13 2020 04:51 PM
我在昨天遇到了这个情况,但目前尚不明确为什么会这样。
Windows版本:18363.900
edge版本:版本 85.0.538.0 (官方内部版本) dev (64 位)
我会在中午进行日志提交
Jun 16 2020 08:41 AM
@Deleted bugs 316808 - [WCTAP] Build 19624:200502 - after the update of the machine Edge is keeping opening and closing by itself I have raised this issue in connect portal. Will upload the details in the portal with extended logging enabled and once the issue reappear .. for me it happen 4-5 times during the work time , not only at the cold boot and login (that time it happen for sure)
Jun 16 2020 09:16 AM
@Deleted Have you rule out the users enabling "Restart Apps" under "Sign-in options"? because it sounds exactly like someone enabled the option hence Edge restart itself when you login to Windows. I actually had the opposite of the problem. I had the option enabled but it doesn't restart edge every single time, only 3-4 times out of 10.
Jun 16 2020 08:39 PM
@megablue I have the same problem: Edge doesn't always launch automatically. In my case, I have multiple instances of Edge Canary running at the same time - the windows are distributed across two monitors. Once, two windows normally side by side were relaunched one on top of the other. Another time, Edge Canary had not restarted automatically after a reboot. When I launched Edge, I got only one instance with a message telling me that Edge had not shut down properly and asking me if I wanted to restore those instances.
Jun 17 2020 06:59 AM
@Deleted I observed this behavior in default browsers like Internet Explorer and Legacy Microsoft Edge. The workaround was opening Settings->Accounts->Sign-in options and under Privacy , there is option called Use my sign-in info to automatically finish setting up my device and reopen my apps after an update or restart and we could turn it off and then we observe this problem won't reproduce.
As I investigate, I observed that when user close down Internet Explorer or Microsoft Edge, it still running in background and has some session and even after shutdown, system assumes Internet Explorer was running and therefore when user turn on PC, they observe this behavior.
I recommend check this option and see if turn it off would solve the issue and if yes, it probably was the issue I observed in Legacy Microsoft Edge and Internet Explorer.
Jun 18 2020 08:09 PM
Jun 21 2020 12:35 PM
@NicolSD i found the fix, disallow Edge from keeping the background process solved the issues for me. Even on Chromium/Chrome, the background process kind of not working reliably. It frequently treats the background process as last closed window hence forgetting the tabs that were opened when you closed your main browsing window or in this case, windows think it wasn't "running" when you shutdown because the background process were ended last. hence, when it reopens during a restart, it reopens only the background process.
Jun 25 2020 03:34 AM
@Deleted I hate to state the obvious, but can't Microsoft's own tools help here to trace up the process tree to find out which process is starting msedge.exe?
1) Autoruns by SysInternals might show what is autostarting it?
2) Failing that, can't you use SysInternal's Process Explorer to see what the parent process of msedge is, and trace through that what process started it (going up the process tree)? (Or Process Hacker or other similar tools)?
3) Alternatively Process Monitor and/or SysMon by SysInternals can be configured to monitor processes starting up, and that can of course be setup to run during boot etc. to catch an early process launch?
Mike
Jul 02 2020 02:48 PM
@Deleted Info: This is only a problem with chromium it self, not Edge. When I was 7, I had this problem in 2017 when I unwillingly installed chromium. I showed it to my mom, and she did not know what to do. We now know where the issue is coming from, Chromium, the source of New Edge, so we need to fix Chromium, not Edge.
Jul 11 2020 08:01 AM
Oct 23 2020 11:31 AM - edited Oct 23 2020 11:33 AM
@Deleted i had this problem i fixed it when i have removed some restriction on the network (when the browser think there is a captive portal it launch itself on start).
It appears often in entreprise network who have a DNS filtering or a captive portal.
edit : if you want to test, configure on your router (or a dns server) who block all request to network, and restart your computer, edge will launch himself (tested only on w10 2004)
Oct 23 2020 01:57 PM
@Deleted I fixed this issue by digging up Edge in Task Manager, then I headed over to Startup and made it to "disable."
Jan 07 2021 10:32 AM
Mine always starts with the tabs that I have designated.
Jan 30 2021 05:47 AM
Microsoft Edge Launching on Startup
Mar 08 2021 09:27 AM
Mar 08 2021 09:37 AM