Disable Microsoft Edge

NTLite removes Edge at the component level, which is not exactly the same as removal by the application.

Previously, Edge uninstalls were blocked by Windows. But if you overwrite the JSON file, then Edge is eligible for removal AND it's possible to re-install Edge afterwards. I would suggest this solution:

1. Don't remove Edge from the install image.

2. Follow post #18, and replace the JSON file.

3. Uninstall Edge using a Post-Setup command line:
Code:
cmd /c cd %PROGRAMFILES(X86)%\Microsoft\Edge\Application\*\Installer && .\setup --uninstall --force-uninstall --system-level

4. If you're currently using Chrome, install it after Step 3.

You should be able to uninstall Chrome and reinstall Edge from MSI. Using the edited JSON on an updated install image, I was able to remove Edge and reinstall it.
Will this solution take care of Edge (Legacy) and DevTools Client as well or should those components be removed?
 
Will this solution take care of Edge (Legacy) and DevTools Client as well or should those components be removed?
I suggest you keep the Edge (Legacy) and DevTools client.
To my knowledge, Edge (legacy) is related to old versions of HTML and many components. I will never remove these two components on a new computer for compatibility purposes unless it is deeply streamlined. Even if his safety is marked in blue.
 
Will this solution take care of Edge (Legacy) and DevTools Client as well or should those components be removed?
I followed the JSON method for allowing Edge to be uninstalled on 23H2 (May 2024). The results are really confusing:
  • Edge was removed according to Installed Apps, but EdgeUpdater & EdgeWebView were untouched.
  • EdgeUpdaterSetup.exe doesn't accept --uninstall
  • EdgeWebView accepted --uninstall, but doesn't report as removed.
But according to NTLite, none of the Edge components are actually gone.

Windows is probably unlinking the Program Files (x86) files, and keeping Edge intact in WinSxS. I'm guessing it makes no real attempt to remove WebView or DevTools Client in order to protect them. Not sure if MS considers "users don't see the Edge browser", so now we're in compliance with EEA regulations on free competition.

This may be different than completely uninstalling Edge, which is what most users consider when they ask the question.
 
I think they burried edge and edgewebview so deep in the system, just like internet explorer, now they can't even completely remove it. even when we do it, we get random crash at settings app or fails of dependend 3rdparty softwares.
 
But according to NTLite, none of the Edge components are actually gone.
Yes, you once explained that this is an IE11 compatible library, so it cannot be deleted like Internet Explorer.
In fact, its existence is to be compatible with older rendering engines and call WebBrowser. If deleted, many programs cannot be used or lack functionality, such as the login/verification page not popping up and unable to log in, or the interface designed with HTML not displaying.
If he can be deleted, all browsers will not work, and this issue is not worth considering.It should even be compatibility locked - "Explicit removal not supported".
 
I think they burried edge and edgewebview so deep in the system, just like internet explorer, now they can't even completely remove it. even when we do it, we get random crash at settings app or fails of dependend 3rdparty softwares.
there is more than 1 way to skin a cat.
 
However (and here I think abbodi could help us) I believe it is possible to eradicate edge from the initial ISO, as it would seem from the ISO from UUPDump, by working on ConvertConfig.ini I believe...
 
I suggest you keep the Edge (Legacy) and DevTools client.
To my knowledge, Edge (legacy) is related to old versions of HTML and many components.
Yes, you once explained that this is an IE11 compatible library, so it cannot be deleted like Internet Explorer.
In fact, its existence is to be compatible with older rendering engines and call WebBrowser. If deleted, many programs cannot be used or lack functionality, such as the login/verification page not popping up and unable to log in, or the interface designed with HTML not displaying.
If he can be deleted, all browsers will not work, and this issue is not worth considering.It should even be compatibility locked - "Explicit removal not supported".
AFAIK Edge Legacy is needed to render old IE pages and DevTools client is essentially what the name implies, but for Edge Chromium. I would keep them if I were to potentially use Edge since they probably can't be reinstalled. Your described problems are likely to occur only on desktop apps if we remove WebView.
I followed the JSON method for allowing Edge to be uninstalled on 23H2 (May 2024). The results are really confusing:
  • Edge was removed according to Installed Apps, but EdgeUpdater & EdgeWebView were untouched.
  • EdgeUpdaterSetup.exe doesn't accept --uninstall
  • EdgeWebView accepted --uninstall, but doesn't report as removed.
But according to NTLite, none of the Edge components are actually gone.

Windows is probably unlinking the Program Files (x86) files, and keeping Edge intact in WinSxS. I'm guessing it makes no real attempt to remove WebView or DevTools Client in order to protect them.
For me using JSON, Edge was removed from Program Files (x86) and I couldn't find it in WinSxS. EdgeUpdater is perhaps needed to reinstall Edge and IG WebView can be thought of as a separate component.
 
Unfortunately Edge has returned due to EdgeUpdater it seems. For uninstall, modifying the JSON doesn't seem to do anything since --uninstall works regardless. Interestingly Edge Chromium component is removed from NTLite after it.
 
Last edited:
Hi! Press Windows + R and type %temp% Press Enter and Search NTLmp-Temp and click program files x86 and delete Microsoft Folder with iObit Unlocker or something and Microsoft Edge and Update and WebView2 will removed (FOREVER!)
 
Hi! Press Windows + R and type %temp% Press Enter and Search NTLmp-Temp and click program files x86 and delete Microsoft Folder with iObit Unlocker or something and Microsoft Edge and Update and WebView2 will removed (FOREVER!)
I think you're missing the point. If you simply used PowerRun or another elevation tool, it's trivial to remove random files from the mounted image. But then why bother using NTLite?

NTlite manages removals at the component level, so your images can still be serviced in the future. Removing the Program Files folder doesn't clean up the leftover package info in Windows.
 
Back
Top