How to modify the. wim image file of WinPE Boot
1. use imagex/apply or imagex/mountrw to mount the WIM image file to a folder. Assume It is d: \ tmp \ winpe_x86 \ mount. example: imagex/mountrw winpe. wim 1 d: \ tmp \ winpe_x86 \ mount 2. use peimg/list d: \ tmp \ winpe_x86 \ mount to view the installed package 3. use peimg/install = d: \ tmp \ winpe_x86 \ mount or peimg/uninstall = d: \ tmp \ winpe_x86 \ mount to modify the package. You can also add third-party software to the image directory, that is, directly copy the software folder to the corresponding directory in the image. After modifying the image, go to the next step. 4. determine whether to use peimg/prep to optimize the final Boot WIm image size based on your actual situation. This operation is irreversible. Future operations on this image will be limited. Example: peimg/prep d: \ tmp \ winpe_x86 \ mount d: \ tmp \ winpe_x86 \ winpe. wim "winpe" will generate the final optimized boot image ==> winpe. wim. or use imagex/boot/compress max/capture d: \ tmp \ winpe_x86 \ mount d: \ tmp \ winpe_x86 \ winpe. wim "winpe" to generate a boot image that has not been optimized. however, you can modify the image later. 5. Use imagx/unmount/commit d: \ tmp \ winpe_x86 \ winpe. wim "winpe", submit the modification to wim, and uninstall the image from the mount directory.