KORSiRO

New Member
Hi all !

If you want to completely uninstall microsft edge during Windows 11 22h2 installation, just download this file and paste the $OEM$ folder in the source folder of your ISO image

(ISO\sources\$OEM$\$$\Setup\Scripts\SetupComplete.cmd)

@echo off
cd "C:\Program Files (x86)\Microsoft\Edge\Application\100.0.1185.36\Installer\setup.exe" -uninstall --force-uninstall --system-level --delete-profile
rmdir /s /q "C:\Program Files (x86)\Microsoft\Edge"
rmdir /s /q "C:\Program Files (x86)\Microsoft\EdgeCore"
rmdir /s /q "C:\Program Files (x86)\Microsoft\EdgeUpdate"
rmdir /s /q "C:\Program Files (x86)\Microsoft\EdgeWebView"
del /q /f "%0"

if your version of Microsoft Edge is different, you must change the version in the command :

cd "C:\Program Files (x86)\Microsoft\Edge\Application\100.0.1185.36\Installer\setup.exe" -uninstall --force-uninstall --system-level --delete-profile

If you also want Microsoft Edge not to reinstall during a Windows update, here is a reg file that adds the value "DoNotUpdateToEdgeWithChromium"=dword:00000001" in [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate]
Have fun :)
 

Attachments

  • $OEM$.zip
    950 bytes
  • DoNotUpdateToEdgeWithChromium.reg
    286 bytes
Last edited:
NTLite makes uninstalling Edge even easier, by removing the Edge components. Though some 3rd-party apps may require Edge Legacy or EdgeWebView to work.

Your script uses an old method, which still works if you're on free NTLite.

DoNotUpdateToEdgeWithChromium is deprecated, and has never worked in W11. ChrEdge is the default, and it doesn't prevent WU from reinstalling Edge in the monthly update. If you want to remove Edge after each CU, you must use licensed NTLite's remove reinstalls.

Welcome to NTLite forums, and take advantage of the Search feature to catch up on Edge removal discussions.
 
NTLite makes uninstalling Edge even easier, by removing the Edge components. Though some 3rd-party apps may require Edge Legacy or EdgeWebView to work.

Your script uses an old method, which still works if you're on free NTLite.

DoNotUpdateToEdgeWithChromium is deprecated, and has never worked in W11. ChrEdge is the default, and it doesn't prevent WU from reinstalling Edge in the monthly update. If you want to remove Edge after each CU, you must use licensed NTLite's remove reinstalls.

Welcome to NTLite forums, and take advantage of the Search feature to catch up on Edge removal discussions.
Thank you for your reply but I don't have NTLITE premium only the free license so I don't have access to these features...
 
NTLite makes uninstalling Edge even easier, by removing the Edge components. Though some 3rd-party apps may require Edge Legacy or EdgeWebView to work.

Your script uses an old method, which still works if you're on free NTLite.

DoNotUpdateToEdgeWithChromium is deprecated, and has never worked in W11. ChrEdge is the default, and it doesn't prevent WU from reinstalling Edge in the monthly update. If you want to remove Edge after each CU, you must use licensed NTLite's remove reinstalls.

Welcome to NTLite forums, and take advantage of the Search feature to catch up on Edge removal discussions.
Where is that on premium? to prevent reinstalls?
 
You can't prevent a Reinstall, that's impossible unless you stop applying Monthly Updates.

Instead you perform a normal Update, restart Windows, and then load your current OS as the image. From the toolbar, select Remove Reinstalls to begin clean up.
 

Attachments

  • Windows 10 x64-2024-02-21-08-57-20.png
    Windows 10 x64-2024-02-21-08-57-20.png
    58.1 KB
MS compliance with the Digital Markets Act allows Edge be uninstalled. Before this, Windows marked Edge as unremovable.
April 2024 is the deadline they've established for rolling it out to EEA countries.
 
But does it install back with updates is the real question, does it leave a flag that indicades its removed? if yes we can use that flag.
 
But does it install back with updates is the real question, does it leave a flag that indicades its removed? if yes we can use that flag.
... should not.
But to avoid any misunderstanding, at the moment I continue to insert the .reg file
Windows Registry Editor Version 5.00​
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate]​
"DoNotUpdateToEdgeWithChromium"=dword:00000001​
 
that doesn't work for a while.
If you remember, once with the command from PowerShell

"C:\Program Files (x86)\Microsoft\Edge\Application\<num_vers>\Installer\setup.exe" --uninstall --system-level --verbose-logging --force-uninstall

MS Edge was not completely uninstalled; today, yes!
This is why, for the avoidance of doubt, at the moment, I add that .reg and in the last 2 months (2 WCU) I have had no problems...
 
... should not.
But to avoid any misunderstanding, at the moment I continue to insert the .reg file
Windows Registry Editor Version 5.00​
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate]​
"DoNotUpdateToEdgeWithChromium"=dword:00000001​
crypticus is correct. This rule only blocks EdgeUpdater from upgrading legacy Edge to Chromium.

Later W10 CU's removed legacy Edge and installed ChrEdge on the component level, and WU doesn't care about EdgeUpdater. W11 always had ChrEdge, so this reg key has zero functionality now.
 
If you remember, once with the command from PowerShell

"C:\Program Files (x86)\Microsoft\Edge\Application\<num_vers>\Installer\setup.exe" --uninstall --system-level --verbose-logging --force-uninstall

MS Edge was not completely uninstalled; today, yes!
This is why, for the avoidance of doubt, at the moment, I add that .reg and in the last 2 months (2 WCU) I have had no problems...
Wrong, you're taking advantage of the DMA fix rolled out two months ago. Uninstall the current CU and roll back to December.
Try uninstalling Edge again. That "DoNotUpdateToEdgeWithChromium" rule has nothing to do with it.
 
Wrong, you're taking advantage of the DMA fix rolled out two months ago. Uninstall the current CU and roll back to December.
Try uninstalling Edge again. That "DoNotUpdateToEdgeWithChromium" rule has nothing to do with it.
Garlin, that's why I wrote "2 months" (I already tested the 3371)
 
Editing "\Windows\System32\IntegratedServicesRegionPolicySet.json" and rebooting has the same effect for non-EU PC's.

Switch the "defaultState" -> enabled. No need to change your Windows region, or edit the long country list.
Code:
{
  "$comment": "Edge is uninstallable.",
  "guid": "{1bca278a-5d11-4acf-ad2f-f9ab6d7f93a6}",
  "defaultState": "disabled",
  "conditions": {
    "region": {
      "enabled": ["AT", "BE", "BG", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GF", "GP", "GR", "HR", "HU", "IE", "IS", "IT", "LI", "LT", "LU", "LV", "MT", "MQ", "NL", "NO", "PL", "PT", "RE", "RO", "SE", "SI", "SK", "YT"]
    }
  }
},
 
Back
Top