Hello Friends~!
I have built a new lab for us that will teach you how to use Several features of the Windows ADK to be able to backup your entire Windows system with any files, folders, apps, programs, or drivers preinstalled and saved onto an iso.
I have built a new lab for us that will teach you how to use Several features of the Windows ADK to be able to backup your entire Windows system with any files, folders, apps, programs, or drivers preinstalled and saved onto an iso.
A USB Thumb drive is required for this method! (or any external drive or whatever workaround you have.)
Download ADK:
Download WinPE Addon:
Download VMWare Player:
Download MODWIN:
drive.google.com
Download ADK:
Download WinPE Addon:
Download VMWare Player:
Download MODWIN:
MODWIN.EXE

Once all the pre-reqs are installed... Copy the entire WISM Folder to your usb thumbdrive:
Go to the link above, click on DeploymentTools in the toolbar and copy WISM and paste to the thumbdrive.
Then Copy your WIM File to thumbdrive.
Code:
C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\WSIM
Then Copy your WIM File to thumbdrive.
You can use MODWIN to source a WIM file from your Windows ISOs. In order to do so, run MODWIN.exe once to install MODWIN for us. Now in C:\MODWIN paste your Windows ISO contents into the ISO folder of MODWIN. Now run MODWIN.bat
Select option 2 to source WIM and option 1 for ESD.
Then you may choose whatever version of windows you want, and it will pull the wim for us.
When it is done you will have an install.wim file in sources that you can cut and paste to your USB.
Further knowledge about MODWIN can be found on it's official thread
Then you may choose whatever version of windows you want, and it will pull the wim for us.
When it is done you will have an install.wim file in sources that you can cut and paste to your USB.
Further knowledge about MODWIN can be found on it's official thread
We are using VMWARE because it is easier to sysprep and generalize an image in a VM as opposed to our host. You do not have to use vmware, you could use virtual box, qemu, or your host pc.
That being said, your machine needs to have it's network adapter turned off or removed entirely so it cannot connect to the internet. For good measure it is advised to build a new machine using only a Microsoft Windows 11 iso, not a Modded iso, and freshly install the image without internet so you have a clean sysprep environment.
This is how to disable internet during win 11 install using OOBE code
That being said, your machine needs to have it's network adapter turned off or removed entirely so it cannot connect to the internet. For good measure it is advised to build a new machine using only a Microsoft Windows 11 iso, not a Modded iso, and freshly install the image without internet so you have a clean sysprep environment.
This is how to disable internet during win 11 install using OOBE code
In the VM Open:
Open Sysprep and tick the Generalize box. Leave it on reboot then select OK.
When you get to this screen press:
Ctrl + Shift + F3
This will cause the vm to reboot into audit mode.
Code:
C:\Windows\System32\Sysprep
Open Sysprep and tick the Generalize box. Leave it on reboot then select OK.
When you get to this screen press:
Ctrl + Shift + F3
This will cause the vm to reboot into audit mode.
Unplug and replug your usb thumbdrive. This will cause Vmware Player to send a popup. Select:
Connect the usb to the Virtual Machine.
To build a new Answer File:
Run Windows System Image Manager in the VM.
Select File, New Answer File, Yes.
Select your install.wim stored on the thumbdrive and Yes
Then save the answer file to your thumbdrive with the name of "AnswerFile"
Connect the usb to the Virtual Machine.
To build a new Answer File:
Run Windows System Image Manager in the VM.
Select File, New Answer File, Yes.
Select your install.wim stored on the thumbdrive and Yes
Then save the answer file to your thumbdrive with the name of "AnswerFile"
INSTALL ANY DRIVERS, SOFTWARE, OR FILES AND FOLDERS on the Machine
When done, In the VM Open:
To save, open command prompt by typing cmd in Sysprep's folder toolbar, then run:
When done, In the VM Open:
Code:
C:\Windows\System32\Sysprep
To save, open command prompt by typing cmd in Sysprep's folder toolbar, then run:
Code:
sysprep.exe /generalize /oobe /shutdown /unattend:E:\AnswerFile.xml
On your host PC, Search for Deployment, run as admin and paste:
To make a WinPE ISO:
Code:
copype amd64 e:\WinPE
To make a WinPE ISO:
Code:
MakeWinPEMedia /iso E:\WinPE E:\Winpe.iso
Select the WinPE iso in vmware, run the machine, then press any button to enter the bios, and select boot from cd rom.
Unplug and replug your usb to re-sync to the vm
Type into command prompt:
This will create a new install.wim file for us that we can use in MODWIN to create a new iso with everything preinstalled for us!
Type into command prompt:
Code:
Dism /Capture-Image /ImageFile:"E:\install.wim" /CaptureDir:C:\ /Name:install
This will create a new install.wim file for us that we can use in MODWIN to create a new iso with everything preinstalled for us!
Copy the new WIM file and paste it back into the ISO/sources folder of MODWIN. Delete the install.esd file if it still exists.
Run the MODWIN.bat script again, and Select option 7
Run option 4 to build your new ISO it will go through the steps shown above and produce a new ISO for you in C:\MODWIN\MOD
Run the MODWIN.bat script again, and Select option 7
Run option 4 to build your new ISO it will go through the steps shown above and produce a new ISO for you in C:\MODWIN\MOD
A Very Special Thank you to @james28909 for suggesting finding this sort of a work-around for a problem in this reddit thread:
https://www.reddit.com/r/hacking/comments/xqv5dx
https://www.reddit.com/r/hacking/comments/xqv5dx

Capture and Apply Windows using a WIM file
Capture and apply Windows using a single WIM file
learn.microsoft.com

Windows System Image Manager Technical Reference
Windows System Image Manager Technical Reference
learn.microsoft.com
Last edited: