Custom registry tweaks and scripts for building lightweight Windows 10/11 ISOs.
This repository's main feature is my custom Microsoft Edge removal scripts for Windows 10 and Windows 11 images, including 23H2/24H2/25H2 setups including arm64.
These scripts use DISM to remove Edge and related dependencies, clean Start menu/taskbar shortcuts, remove selected UWP apps, and optimize image files (install.wim and boot.wim) for a smaller ISO footprint.
If you are searching for a Windows 10/11 Edge removal script for custom ISO builds, start with the scripts above.
- Normal users: run Remove-Edge-ISO-GUI.ps1. It uses lightweight built-in WinForms, defaults to the recommended all-in-one cleanup operation, and avoids WinUI 3 packaging overhead.
- Advanced users: run Remove-Edge-ISO.ps1 from PowerShell 7 for a command-line-first interactive flow.
Examples:
pwsh -ExecutionPolicy Bypass -File .\Remove-Edge-ISO-GUI.ps1
pwsh -ExecutionPolicy Bypass -File .\Remove-Edge-ISO-GUI.ps1 -Gui -IsoOrWimPath "D:\Win11.iso"
pwsh -ExecutionPolicy Bypass -File .\Remove-Edge-ISO.ps1 -IsoOrWimPath "D:\Win11.iso"Requirements: PowerShell 7+, Administrator rights for servicing operations, the Windows DISM/Storage PowerShell modules, and Windows ADK Deployment Tools or oscdimg.exe on PATH when exporting ISO files.
I will basically divide it into 2 directories/sections called cmds and reg_tweaks which I commonly use when creating custom up-to-date windows 10 or 11 ISO using WinToolkit,NTLite and W10UI. I will include direct links for DirectX9, NetFX35 and VC++ runtimes repacks etc.
Thank you abbodi1406, Majorgeeks, WinAero for reg tweaks, repacks and scripts.
-
DirectX Repack Repack made by @abbodi1406
-
Netfx35W10 Repack made by @abbodi1406
-
Microsoft VC++ redist runtimes Repack made by @abbodi1406
-
NetfxW7, applicable to Win 7 only Repack made by @abbodi1406
-
MajorGeeks Registry Tweaks Pack covering Win 7-11 Made by Majorgeek
-
WHDownloader made by @abbodi1406 Used for downloading offline msu/cabs files applicable to windows and office.
Feel free to suggest any changes.
You can find all regfiles and cmd scripts in this directory cmds and registry\regfiles\Windows(Version)
Update: I stopped using NTLite because it was causing some side-effects with broken start menu and other issues. I now use WinToolkit, W10UI and unattended file for creating custom ISOs. I have started using VHDXs formatted with ReFS for testing purposes.
To make VHDX files smaller after integration use sdelete from Sysinternals Suite. It is a command line tool that securely deletes files and cleans up free space on NTFS volumes. It can also be used to zero out free space in VHDX files. Afterwards, run retrim on the VHDX file to reclaim the space.
Added scripts to download Brave, DX/VC++ Redist and IrfanView to get latest versions within unattended.xml file
UWP Bloatware list from Edugeek Forum
Svchost Split Threshold tweak for Windows 10 and 11 Service_Split
To be more effective, use the unattended xml file for best experience. It supports arm64 and amd64 architectures. The files are separated due to conX setup aka New Installer UX in Windows 11 24H2 and later version which doesn't play well x86/x86A_64 combined architectures in a single file. I have also added some tweaks to the unattended xml file to optimize the installation process and remove some unnecessary features. Unattended XML File Generator
Thanks to abbodi1406, htfx, exurd, emil, Shawn Brink, ShadowWhisperer, Schneegans and ThioJoe for scripts and repacks
Converted some of the registry tweaks into .reg files for easier use and added some new ones using GH Copilot GPT-5.3 Codex. I will be adding more in the future.