Use DISM to mount your install.wim file to a local folder.
A professional-grade tool for Windows deployment and component removal. install-wim-tweak.exe
remains a potent weapon in the arsenal of power users who want to strip Windows down to its bare essentials. However, its "all-or-nothing" approach means it should be handled with care. For those building custom ISOs for specific, lightweight tasks, it provides a level of granularity that standard Microsoft tools simply don't allow. Use DISM to mount your install