Remove Microsoft Edge via DISM, undocumented command line arguments

Discussion in 'Windows 11' started by Steveisold, Mar 2, 2025.

  1. Steveisold

    Steveisold MDL Novice

    Dec 5, 2015
    11
    9
    0
    #1 Steveisold, Mar 2, 2025
    Last edited: Mar 2, 2025
  2. sizen

    sizen MDL Member

    Jun 4, 2009
    150
    66
    10
    /Remove-Edge : Removes WebView and Edge Browser
    /Remove-EdgeBrowser : Removes the Browser
    /Remove-EdgeWebView : Removes the WebView component
     
  3. fs2com

    fs2com MDL Member

    Oct 14, 2009
    146
    88
    10
    Problem with Windows 11 is even with "/Remove-Edge" switch is not completely gone.
    msedgewebview2 still exist on windows folder ( I think there's about 2 webview2.exe)
    Blocking with firewall is not working too, it will still be can connect to Internet.
     
  4. xploitmachine

    xploitmachine MDL Member

    Sep 15, 2023
    208
    116
    10
    Great notes .. but, since I'm a bit lazy sometimes, I just use SysMinion and DISM++ to uninstall unwanted pre-loaded stuffs in Windows 11 via GUI mode, it saves my typing time :D
     
  5. BonesJones

    BonesJones MDL Novice

    Jan 11, 2025
    15
    11
    0
    Can I somehow use this to add Webview after I've already installed Win11 with Edge blocked/removed? I used SunLions Slimdown and have removed Edge but now I NEED the Webview2, but still want to keep Edge uninstalled.

    When I download the webview2 runtime from MS, nothing happens when I run the .exe, and I'm guessing that has something to do with the SlimDown script removing Edge entirely.

    Can I fix this somehow without reinstalling the OS?