NTLite is a commercial tool (with a free-for-personal-use version) which allows you to build a customised Windows 7-10 installation disc from your existing Windows disc, or an image (ISO, ESD or WIM, including the WIM file on your current installation).
You can slim down Windows by leaving out components you don't need. The free NTLite can remove items like Active Directory's Directory Services, the BranchCache Client, HomeGroups, Remote Desktop Client/ Server, BitLocker, Hyper-V, MobilePC and Parental Controls.
Upgrade to a paid version and you can also drop most of the accessories, unwanted drivers, language packs, Windows Firewall, Windows Defender, even low-level components like SuperFetch or Windows Search.
You're also able to add items to your installation, including Windows updates, service packs, language packs and drivers.
There are options to tweak various Windows settings, for example customising the startup state of various Windows services.
You're able to define the answers for every step of the installation process, ensuring it runs unattended, with no prompts. And there's an option to run defined programs, scripts or .REG files post-installation to apply any remaining tweaks.
Upgrading to NTLite Home ($45) gets you the ability to remove many more Windows components, has better hardware and device driver support, can clean up the WinSxS cache for you, and is able to apply all its tweaks to the live installation.
Once you've finished, all the editions will create a bootable ISO file from them, as long as the normal image folders (\Boot, \Sources etc) are present.
Version 126.96.36.19942 brings (see full changelog) these new features:
Update-Installer: Binaries signed by the official certificate
Components: Windows Remote Management (WS-Management) breaking 1903 CU install on reboot 98%
Components: 1809 removed components were returning on CU install (1903 still does, by Windows design, post-cleanup will be implemented)
Updates: 1903(.30) Clean Updates (Complete) could break CU install (same for DISM full reset base, that one is by Windows design)
Updates: 1809v2(.379) Clean Updates (Complete) could cause BSOD on latest CU install
Features: Already installed Feature On Demand uncheck/recheck was unnecessarily prompting for packages