Edge Reïnstalls Itself?


It looks like noöne knows quite for certain how to get to the root issue here. I've come up with a few ideas on getting around it, figured I'd bounce them off here in the meantime.
But first, something I'd neglected to mention. I did have a unique uninstallation attempt where it just... didn't work. Checking some logs, it seems an Edge update process was underway when I was trying to uninstall, which prevented it from executing. What's notable here, aside from another edge (heh) case to worry about, is the installer log reported this operation in the same way as the time Edge reïnstalled itself, suggesting it was the same thing happening. I did have a procmon log for it, this time around, and I managed to trace it back, in that instance, to the edgeupdate service... or at least, the same command associated with that service, executed by the service host. Though not outright confirmation, it does reïnforce the theory the reïnstallation was caused by a confused update service.
Now, there are a lot of automatic Edge update processes... There are the edgeupdate and edgeupdatem services, as well as the MicrosoftEdgeUpdateTaskMachineCore and MicrosoftEdgeUpdateTaskMachineUA scheduled tasks. All of these point to the same executable, but call it with different arguments and have different triggers. I don't know what's going on with all of them (would love more info if anyone has any), but we're involving them all just to be safe.

My first idea involves stopping (in case they're running) and disabling (so they can't run again) all of the Edge update services and scheduled tasks. After uninstalling Edge, the script would wait a few seconds to make sure it hadn't come back (for redundancy), and remove it again if it did. To make sure there's nothing getting in the way, it'd check for and end any Edge-related processes before running the uninstallation.
This idea sounds good on paper, but does have some concerns. Most notably, I'm worried that force-closing active update processes might corrupt things in such a way that prevents the uninstallation from working properly, which would be bad. The vigilance check at the end might also fail if it takes longer than the 5 seconds or so the script waits for a returning Edge to be detectable. This might be workable if there's a way to request for active Edge processes to terminate, such that they can close gracefully without breaking anything, but I don't know how to look into that (if anyone has any info, do share!).

My second idea also involves disabling the services and scheduled tasks, but this time we schedule the actual uninstallation for after a restart. This should guarantee that anything Edge-related that was running has terminated properly, and that there's nothing Edge-related planning on running (since it was all disabled). As far as I can think of, the biggest drawback of this approach is I might need to separate the Edge uninstallation into its own .ps1 file. But I could well be missing something.

What do you guys think?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
The reg file stops EdgeUpdater from determining what to download (from the CDN sources). If you want to spend all this energy chasing down all the EdgeUpdater entry points... there's a ton.
 

My Computer

System One

  • OS
    Windows 7
I wonder if there might just be a way to disable MicrosoftEdgeUpdate.exe for a moment entirely? It seems to be the single process responsible for these automatic updates; if I could just... anaesthetize it. Put it to sleep while I do my work, flush out anything that might be in its system before waking it back up... I don't want to remove it entirely, it's still responsible for maintaining WebView2, as far as I know. And again it's behaved itself post-proper-uninstallation, the only instances of these issues are either when trying to uninstall or immediately after. So, in theory, if I could just make sure it can't do anything during that time, then restore it afterwards...

You say there are "a ton" of entry points to the Edge updater, what more do you know about this? What more can there be than the services and scheduled tasks I found, why even are there multiple services and scheduled tasks for what seems to be the same thing? How are they different? I must know my enemy.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
This works for me; I'm sorry, I can't find a single source.

3. Block Edge Installation by Preventing Folder Access

This will deny Windows permission to reinstall Edge in its default location.



Open Command Prompt (Admin) (Win + X → Terminal (Admin)).



Run these commands one by one:



takeown /f "C:\Program Files (x86)\Microsoft\Edge" /r /d y

icacls "C:\Program Files (x86)\Microsoft\Edge" /inheritance:r /deny Everyone:(OI)(CI)F

takeown /f "C:\Program Files (x86)\Microsoft\EdgeUpdate" /r /d y

icacls "C:\Program Files (x86)\Microsoft\EdgeUpdate" /inheritance:r /deny Everyone:(OI)(CI)F

This removes write access to Edge’s installation directories, preventing Windows from reinstalling it.
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro 25H2 26200.8655
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8524
    CPU Pentium Silver N6000
    RAM 4GB
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
This works for me; I'm sorry, I can't find a single source.

3. Block Edge Installation by Preventing Folder Access
This will deny Windows permission to reinstall Edge in its default location.

Open Command Prompt (Admin) (Win + X → Terminal (Admin)).

Run these commands one by one:

takeown /f "C:\Program Files (x86)\Microsoft\Edge" /r /d y
icacls "C:\Program Files (x86)\Microsoft\Edge" /inheritance:r /deny Everyone:(OI)(CI)F
takeown /f "C:\Program Files (x86)\Microsoft\EdgeUpdate" /r /d y
icacls "C:\Program Files (x86)\Microsoft\EdgeUpdate" /inheritance:r /deny Everyone:(OI)(CI)F
This removes write access to Edge’s installation directories, preventing Windows from reinstalling it.

You wont get the emoji’s mate, if it’s in a code box
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 25H2 Build 26200.8655
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard thingy
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / Mx Air Cordless
    Internet Speed
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • Operating System
    Windows 11 Pro 25H2 Build 26200.8655
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Code:
takeown /f "C:\Program Files (x86)\Microsoft\Edge" /r /d y
icacls "C:\Program Files (x86)\Microsoft\Edge" /inheritance:r /deny Everyone:(OI)(CI)F
takeown /f "C:\Program Files (x86)\Microsoft\EdgeUpdate" /r /d y
icacls "C:\Program Files (x86)\Microsoft\EdgeUpdate" /inheritance:r /deny Everyone:(OI)(CI)F
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 25H2 Build 26200.8655
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard thingy
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / Mx Air Cordless
    Internet Speed
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • Operating System
    Windows 11 Pro 25H2 Build 26200.8655
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Back
Top Bottom