Solved Ms Edge running in background after closing


Yes, since last update msedge.ese actually never exits...and that is why things like 'Clear browsing data on exit' option has not effect.

This is the solution that works for me (besides killing msedge.exe with taskkill):

Code:
Windows Registry Editor Version 5.00

; Created by: Shawn Brink
; Created on: August 7th 2018
; Tutorial: https://www.tenforums.com/tutorials/115545-enable-disable-pre-launch-microsoft-edge-windows-10-a.html


[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MicrosoftEdge\Main]
"AllowPrelaunch"=dword:00000000
That did not do it for me.
Besides, what you are referring to is the auto-start feature, which, MS fancily calls Startup Boost.
What we are looking for is Edge not killing processes on close.
 
Last edited:

My Computers

System One System Two

  • OS
    Win11 All /Debian/Arch
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
The registry solution is enough to fix 'Clear Browing data on exit' not working and for forcing MS email to completely sign out. No Edge settings serve to this purpose, they are not working here.

For to kill everything a workaround is to start Edge with a batch file on the desktop like this:

Code:
rem edge.cmd

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"

taskkill /f /im msedge.exe
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    APU A8 7600
    Motherboard
    MSI
    Memory
    4GB
late reply to above after trying EVERTHING, i downloaded from MS not UUPDump the 25997 and clean installed 2-3 days back now, all good

EDGE is behaving itself, it not closing down properly freaks me out simply because i normally have several tabs open ( the more open it seems to ++++++ CPU & memory etc )

re-installing a pain yes, but all in an hour + or so.


ps this is after all Canary versions so there will be hic ups from time to time, verion before this it was printing to PDF not EDGE not Fully closing/shutting down. about 10 updates before tho were all mainly fine, the odd issue here and there. But mainly all good.
 

My Computer

System One

  • OS
    Win 11
    Computer type
    Laptop
    Manufacturer/Model
    ASUS
    CPU
    AMD Ryzen 7 3700u
    Motherboard
    ASUS
    Graphics Card(s)
    AMD Radeon Vega 10
    Browser
    EDGE
    Antivirus
    None Windows defender works ok,
this is driving me crazy. it's only happening on my work PC and I can't figure out why. I've turned off everything in Edge's System and Performance settings. I've disabled pre-launch and preloading in GPEdit. It should actually shutdown when i close it.
i believe it's because, there are a number of processes that go into "efficiency mode". if i turn this off for each process, Edge closes completely. I don't know why this happens because Efficiency Mode is turned off. I've tried repairing Edge a couple times but nothing has worked.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Intel i9 12900KF
    Motherboard
    ROG MAXIMUS Z690 HERO
    Memory
    GSkill Trident Z 32GB DDR5-5600
    Graphics Card(s)
    ASUS Radeon RX 5500XT
    Sound Card
    On Board
    Monitor(s) Displays
    LG HDR 4K (DisplayPort)
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG 980 Pro 500GB
    PSU
    Seasonic Prime TX Series 850W 80+ Titanium
    Case
    Lian-Li O11 Dynamic EVO
    Cooling
    Sapphire Nitro+ S360-A
    Keyboard
    MICROSOFT Comfort 5050
    Mouse
    MICROSOFT Wireless 5000
    Internet Speed
    100Mbs/40Mbs
    Browser
    Edge
    Antivirus
    Bitdefender
this is driving me crazy. it's only happening on my work PC and I can't figure out why. I've turned off everything in Edge's System and Performance settings. I've disabled pre-launch and preloading in GPEdit. It should actually shutdown when i close it.
i believe it's because, there are a number of processes that go into "efficiency mode". if i turn this off for each process, Edge closes completely. I don't know why this happens because Efficiency Mode is turned off. I've tried repairing Edge a couple times but nothing has worked.
Try going into Edge Settings>Sidebar>App and Notifications>App Specific Settings>Co-Pilot, then turn off all options including Co-Pilot, restart Edge. After restarting Edge, close Edge and check Task Manager to see if this has worked. It solved my problems with Edge always running when closed.
 

My Computer

Try going into Edge Settings>Sidebar>App and Notifications>App Specific Settings>Co-Pilot, then turn off all options including Co-Pilot, restart Edge. After restarting Edge, close Edge and check Task Manager to see if this has worked. It solved my problems with Edge always running when closed.
Nice one, just tried it and it works.
 

My Computer

System One

  • OS
    windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9510
    CPU
    11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 CPUs
    Memory
    16 GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3050 Ti
    Hard Drives
    512GB Solid State Drive
    Browser
    Chrome
Those entries have been reported to keep Edge running.
Code:
rem 1 - Allow the Search bar at Windows startup
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "SearchbarIsEnabledOnStartup" /t REG_DWORD /d "0" /f

rem 1 - The Sidebar appears in a fixed position on the Microsoft Windows desktop, and is hidden from the browser application frame
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "StandaloneHubsSidebarEnabled" /t REG_DWORD /d "0" /f
Setting these two policies to disabled has finally solved it for me. Microsoft Edge process tree ends when closed. Thank you very much for this information.

If you don't want to edit the registry directly, you can download and install the Microsoft Edge administrative template as described on this page:

The settings in question are:
Allow the Search bar at Windows startup (set to disabled)
Standalone Sidebar Enabled (set to disabled)

1706946511365.png
 

My Computer

System One

  • OS
    Windows 11
It is perhaps worth noting that if you set "Standalone Sidebar Enabled" policy to disabled, you will not be able to use Copilot from Windows taskbar. However, you will be able to use it from within Microsoft Edge.

This is an acceptable trade-off for me to prevent Edge from running in the background.
 

My Computer

System One

  • OS
    Windows 11
Setting these two policies to disabled has finally solved it for me. Microsoft Edge process tree ends when closed. Thank you very much for this information.

If you don't want to edit the registry directly, you can download and install the Microsoft Edge administrative template as described on this page:

The settings in question are:
Allow the Search bar at Windows startup (set to disabled)
Standalone Sidebar Enabled (set to disabled)

View attachment 85944

YES! Thank you. Same BS different OS. This was the last tip I needed to get edge to actiually close when i close it.

Note: The actual download location for the polices template for edge is here. You click the appropriate blue link underneath the big "download" buttons.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    Intel Core i9-14900K Raptor Lake Refreshed 6.0 GHZ
    Motherboard
    MSI MAG Z790 Tomahawk WiFi
    Memory
    32GB (2x16) GSKILL Trident Z5 RGB Series (Intel XMP 3.0) DDR5 RAM 6700MT/s
    Graphics Card(s)
    MSI Gaming GeForce RTX 4070 12GB
    Sound Card
    Onboard Realtek® ALC4080 Codec
    Monitor(s) Displays
    Monitor #1 Samsung Odyssey G50A WQHD G-Sync HDR10 Monitor #2 HP LA1911
    Screen Resolution
    2560x1440 and 1280x1024
    Hard Drives
    Samsung 980 PRO SSD 1TB PCIe 4.0 NVMe Gen 4 Gaming M.2 (150GB System / 850GB More Games)
    Crucial CT2000MX500SSD1 2TB (Games)
    Western Digital Green WD40EZRX 4TB (Data/Backup)
    Western Digital Blue WD60EZAZ 6TB (Storage)
    Western Digital Blue WD60EZAZ 6TB (Media)
    PSU
    Rosewill Hive-750S
    Case
    Cooler Master Elite 430 Mid Tower
    Cooling
    Cooler Master ML240L V2 Liquid CPU cooler + 1x120mm out + 2x120mm in + Isolated PSU Standard upward flow
    Keyboard
    Microsoft Natural Elite White PS/2 (with usb adapter)
    Mouse
    Microsoft D67-00001 Trackball Optical Mouse (rebuilt with ceramic bearings)
    Internet Speed
    350Mb/s hard wired
    Browser
    Edge, FF, Tor
    Antivirus
    Win Def
    Other Info
    Razer Tartarus V2 Gaming Keypad
    Logitech Z-5500 5.1 THX 505w (Orignal 10" Sub with (Fr, Rr, Ctr) Polk Audio satellites
  • Operating System
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    Intel Core i9-14900K Raptor Lake Refreshed 6.0 GHz FCLGA1700 (Gen 14)
    Motherboard
    MSI MAG Z790 Tomahawk WiFi
    Memory
    32GB (2x16) GSKILL Trident Z5 RGB Series (Intel XMP 3.0) DDR5 RAM 6700MT/s
    Graphics card(s)
    MSI Gaming GeForce RTX 3060Ti 8GB
    Sound Card
    Onboard Realtek® ALC4080 Codec
    Monitor(s) Displays
    Monitor #1 Samsung Odyssey G50A WQHD G-Sync HDR10 Monitor #2 Samsung TU7000 55" TV
    Screen Resolution
    2560x1440 and 3840x2160
    Hard Drives
    Samsung 980 PRO SSD 1TB PCIe 4.0 NVMe Gen 4 Gaming M.2 (System)
    Samsung 980 PRO SSD 2TB PCIe 4.0 NVMe Gen 4 Gaming M.2 (Games)
    Crucial CT1000MX500SSD1 1TB (More Games)
    WD Green WD20EZRX 2TB (Data/Backup)
    WD Blue WD60EZAZ 6TB (Media)
    PSU
    Rosewill Hive-750S
    Case
    Cooler Master N400 NSE-400-KKN2 Mid-Tower
    Cooling
    Cooler Master ML240L V2 Liquid CPU cooler + 3x120mm in + 2x120mm + Isolated PSU Reverse flow front exhaust
    Mouse
    MSI G20 Elite and Logitech MK345 Wireless
    Keyboard
    Logitech MK345 Wireless
    Internet Speed
    350Mb/s hard wired
    Browser
    Edge
    Antivirus
    Win Def
    Other Info
    Razer Tartarus Gaming Keypad
    MSI GC30 Gaming Controller (Xbox style)

Latest Support Threads

Back
Top Bottom