How to Create a Custom Windows Image

Опубликовано: 30 Март 2026
на канале: TheTechWhiz
4,612
8

In this guide, we’ll cover how to create a custom Windows 10/11 installation image with pre-installed apps, necessary files, and other environment and application settings.


Download zip archive and execute the batch script.
https://1drv.ms/u/s!AuuM-2Na4exFlwAeS...


To capture an offline Windows image from the E drive and save the resulting WIM image to the D drive, run the command:

dism /capture-image /imagefile:D:\install.wim /capturedir:E:\ /ScratchDir:D:\ /name:"MyWinImage" /compress:maximum /checkintegrity /verify /bootable

If you have a FAT32 bootable USB key for installing Windows on UEFI computers, you cannot save a WIM file larger than 4GB on this file system. A large WIM image file must be split into several smaller SWM files in this case:

Dism /Split-Image /ImageFile:D:\sources\install.wim /SWMFile:c:\tmp\install.swm /FileSize:3500

In this case, DISM will create four files install.swm, install2.swm, install3.swm, and install4.swm. Copy these files to the \sources folder on the installation media. When Windows Setup installs the operating system, it merges the SWM files.

Now you can use your bootable USB flash drive to deploy the Windows image you created to any computer.


Download Windows 10

https://www.microsoft.com/en-us/softw...


Download Windows 11

https://www.microsoft.com/en-us/softw...