Edge Removal Script For Windows 11 23H2 and Later ISOs

Discussion in 'Scripting' started by VDev, Mar 30, 2026.

?

Is This Tool Helpful?

  1. Yes

    100.0%
  2. No

    0 vote(s)
    0.0%
  3. Don't Care!

    0 vote(s)
    0.0%
  4. Debloat Tools Are Overrated

    0 vote(s)
    0.0%
  5. N/A

    0 vote(s)
    0.0%
  1. VDev

    VDev MDL Member

    Sep 9, 2015
    156
    84
    10
    Hey everyone, after months of testing the script on my own PCs and making ISOs. Earlier I used to use WinToolkit and NTLite eventually moving away for unattended scripts.

    Special Thanks to @abbodi1406 for sharing hidden Dism commands and hints to Optimize/Export Images with WIM/ESD.

    Features:
    1. Remove Edge/Edge Webview Completely from Windows 11 23H2 and Later
    2. Select Specific Editions or use * to Apply to All editions incl. Virtual Editions
    3. Optimize WIM (Done Automatically if chosen to Remove Appx/Edge.)
    4. WIM to ESD Conversion (Uses Default WIM/ESD without wimlib)
    5. Remove Appx using presets for Windows 10 and 11.
    6. Generate ISO BIOS/EFI Compatible (Needs ADK/Custom oscdimg location)
    7. Optimize boot.wim file
    8. All operations emit out final runtime in minutes/seconds (This is sort of a benchmark to assess future CPU benchmarks for personal use which might need more improvements)
    Used AI (GPT-5.x-Codex and Claude Sonnet/Opus) to make the current script from hardcoded powershell dism cmdlets to modules and fix some bugs being unaware related to elevating from normal user, input params etc.

    Minimal GUI using WinForms: Win Forms basic GUI
    Command line version
    Windows 10/11 ADK is needed to generate ISO. Alternatively, you can download only oscdimg from this oscdimg blob and rename to oscdimg.exe after successful download.
    Blog Article by rufus creator to download just oscdimg
    You can point an ISO or extracted ISO folder which should pick up proper build.
    The scripts uses Temp directory for everything (just to avoid Controlled Folder Access Issues with Defender) and generates final ISO wherever the run script from current directory so that the file won't be missed.

    I've used dism powershell module so its quite slower conforming to EcoQoS and suspends when display goes off and resumes operations once display comes back rather than getting the script killed by OOM or kernel.

    As always I've tested with quad core and octa core machines specifically 6700HQ and 8840HS. On Pentium 2020 its super slow and does crash during ESD conversion which needs lot of RAM than 16GB.