install.wim is a file which locate Sources folder into Windows Installation disk. It includes whole C: drive files in maximum compression. While installing windows, installation media copies all files from install.wim to C: drive.
For Repacking Windows into install.wim file you need to follow below instructions. or need to watch the video : https://www.youtube.com/watch?v=TvJkUdYp15w
(If you want to Repack Current Operating System then goto Step 12)
Download a fresh copy of windows --Windows 7 : https://www.stopback.tk/2020/01/windows-7-full-version-untouched-iso_9.html --Windows 10 : https://www.microsoft.com/en-in/software-download/windows10 --Rufus : https://rufus.ie/en/
Clean setup WinToolkit. (which you found into 'Components' folder) --Extract DISM 10.exe --Install DISM (You can use WHDownloaded.exe for download windows & Office Updates)
Extract Windows iso file in a specific directory using WinToolkit
Modify this fresh OS using winToolkit (If you don't want to modify os then you can skip this step) --Just change setting, change those setting which you can't change manually when Windows is installed.
After modifying this os, open extracted path.
Remove any wintoolkit file in this folder.
Connect your PC with a flash drive and format it (File system : NTFS)
After formatting flash drive, copy all files and folders into your flash drives root directory.
Now restart your PC with your pen drive.
Now install that windows.
==================== After Windows Installed ====================
copy 'imagex' folder to your pendrive's root directory
Now boot your computer along with your flash drive.
When Windows installation setup opened. Press 'Shift+F10' into your keyboard, it will launch command prompt.
Caution: It is the main part of your setup, in this position your all drive letter will be chaged, you need to detect your drives using 'cd' and 'dir' commands. If you do anything wrong, you may need to reinstall operating system.
Type 'C:' and then 'dir' (Without quotes)
If you find 'Program Files','Windows' folder in the list then Mark the drive as [System Drive]
If you couldn't find Program Files','Windows' folder then type 'D:' and then 'dir' (Without quotes) and continue the step 17.
Now find the flash drive's Drive letter using above steps and mark the drive as [Flash Drive]
If you has any other Partition then you need to find Drive letter of it, because We will save install.wim file in that partition (Also you can save it into your flash drive). Mark the drive as [Output Drive]
Now we've got [System Drive], [Flash Drive], [Output Drive]. YOu need to goto into [Flash drive] by typing Drive letter and use 'CD Imagex' Command.
Type 'imagex /capture [System Drive] [Output Drive]\install.wim "Windows"' (Without quotes) and Wait few minutes (Sometime it takes few hours, depend on Processor speed and [System Drive] files).
If imagex completed creating install.wim file then reboot your PC and eject Flash Drive.
Now your install.wim file is ready, Try to open the file into WinToolkit and If it opened properly without any error then your file is ready to use. Copy and replace the file into your installation media 'Sources' folder.
Now Install the OS using this Installation media. Hurray! You successfully REpacked your system. Now you can use it any PC.
If you like my work then you can support me by donating into following addresses.
If you are interested then you can join into our telegram group @techsouls0 or channel @tecsouls