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 My Computer

At a glance

Windows 11
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 My Computer

At a glance

Windows 7
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 My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
Laptop
If you want to spend all this energy chasing down all the EdgeUpdater entry points... there's a ton.
@garlin I simply must know more about this information.
 

My Computer My Computer

At a glance

Windows 11
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 My Computers

  • At a glance

    Windows 11 Pro 25H2 26200.8737AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 25H2 26200.8737
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Motherboard
    BIOS CT_BI_AMI_LX15PRO_AB8139_A-004
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot SecureAnywhere Complete beta
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    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
  • Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8737
    CPU Pentium Silver N6000
    RAM 4GB
    BIOS v1.17
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
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 My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    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
    ROG SupremeFX Formula 8-Channel High Definition Audio
    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.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655 (Wifes)13th Generation Intel® Core™ i5-1340P Process...16GB LPDDR5-52001x Intel® Iris® Xe Graphics
    Operating System
    Windows 11 Pro 25H2 Build 26200.8655 (Wifes)
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - Type 82YL
    CPU
    13th Generation Intel® Core™ i5-1340P Processor(Core™ i5-1340P)
    Memory
    16GB LPDDR5-5200
    Graphics card(s)
    1x Intel® Iris® Xe Graphics
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512 GB SSD PCIe
    Mouse
    Logiteck MX Master 3S
    Internet Speed
    2000/500
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.


    Wireless Network: Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above
    Ports: 1x 1 Novo button; 2 in 1 Audio Combo jack; Micro SD Card Reader; HDMI 1.4b; 2 x USB Type-C (TBT4)
    USB 3.2 Gen 2 DP 1.4a
    PD 3.0); 1 x USB 3.2 Gen1 Type A
    Camera
    1x 1080P FHD IR/RGB Hybrid with Privacy Shutter and Dual Array Microphone
    Graphics
    1x Intel® Iris® Xe Graphics
    Monitor
    14" WUXGA
    Form Factor
    Convertible Notebook
  • Windows 11 Pro 25H2 Build 26200.8655 (Wifes)

    Yoga 7 2-in-1 14IML9 - Type 83DJ

    Processor: Intel® Core™ Ultra 7 155H Processor(Core™ Ultra 7 155H)

    Memory: 32GB LPD5X-7467

    Hard Drive: 1 TB SSD PCIe

    Wireless Network: 1x Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above

    Ports: 1 x HDMI 2.1 TMDS; 1 x Novo Button; 1 x Combo Audio Jack
    2 x USB-C (USB 4.0)
    1 x USB-A 3.2 Gen 1

    Camera: 1080P FHD IR Hybrid with Dual Microphone

    Graphics: Intel® Arc™ Graphics

    Monitor: 14" 2.8K

    ...Where's my 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 My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    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
    ROG SupremeFX Formula 8-Channel High Definition Audio
    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.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655 (Wifes)13th Generation Intel® Core™ i5-1340P Process...16GB LPDDR5-52001x Intel® Iris® Xe Graphics
    Operating System
    Windows 11 Pro 25H2 Build 26200.8655 (Wifes)
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - Type 82YL
    CPU
    13th Generation Intel® Core™ i5-1340P Processor(Core™ i5-1340P)
    Memory
    16GB LPDDR5-5200
    Graphics card(s)
    1x Intel® Iris® Xe Graphics
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512 GB SSD PCIe
    Mouse
    Logiteck MX Master 3S
    Internet Speed
    2000/500
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.


    Wireless Network: Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above
    Ports: 1x 1 Novo button; 2 in 1 Audio Combo jack; Micro SD Card Reader; HDMI 1.4b; 2 x USB Type-C (TBT4)
    USB 3.2 Gen 2 DP 1.4a
    PD 3.0); 1 x USB 3.2 Gen1 Type A
    Camera
    1x 1080P FHD IR/RGB Hybrid with Privacy Shutter and Dual Array Microphone
    Graphics
    1x Intel® Iris® Xe Graphics
    Monitor
    14" WUXGA
    Form Factor
    Convertible Notebook
  • Windows 11 Pro 25H2 Build 26200.8655 (Wifes)

    Yoga 7 2-in-1 14IML9 - Type 83DJ

    Processor: Intel® Core™ Ultra 7 155H Processor(Core™ Ultra 7 155H)

    Memory: 32GB LPD5X-7467

    Hard Drive: 1 TB SSD PCIe

    Wireless Network: 1x Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above

    Ports: 1 x HDMI 2.1 TMDS; 1 x Novo Button; 1 x Combo Audio Jack
    2 x USB-C (USB 4.0)
    1 x USB-A 3.2 Gen 1

    Camera: 1080P FHD IR Hybrid with Dual Microphone

    Graphics: Intel® Arc™ Graphics

    Monitor: 14" 2.8K

    ...Where's my horse?
Back
Top Bottom