First, check what editions are inside the WIM file:
This creates a fresh WIM file containing only the Pro edition, significantly reducing the file size. homebrew wimlib
Once installed, the main command-line tools become available: wimlib-imagex , mkwinpeimg , and wimapply . First, check what editions are inside the WIM