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
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
Last edited: