Captured install.wim worked to install like recovery windows (not fully updated).


E

e4rr0o

Guest
The command to capture image
dism /capture-image /imagefile:Z:\install.wim /capturedir:D:\
/name:"Recovery" /description:"My Custom Recovery Image" /compress:maximum
D: is windows 11 installed partition.
Z : is any available blank partition/space/external USB/internal partition.
I downloaded Windows 11 pro os build 22000.918 from uupdump.net and mounted it on virtual drive.(Because my pc is running windows 11 pro os build 22000.918), I prepared 128 Gb External USB with 2Gb FAT32 and rest with NTFS
format style.
I copied all folders and files to NTFS partition.
From mounted iso, I copied all but excluding sources folder, to FAT 32 partition. After manually creating sources folder, I cut boot.wim from sources folder of NTFS partition,to move to FAT32 sources folder.
Lastly I replaced captured install.wim (of size 50GB) to replace install.wim of NTFS partition on external USB.
All worked well to install captured install.wim on a blank internal partition of size 125GB.
Thus running second digitally activated windows 11 21H2 os build 22000.466 on newly created partition of 125gb size.
This new installed windows 11 added automatically to main boot loader.
To make recovery partition, we have to use recovery.bat available on tenforum, thanks to@Kari.
 
Windows Build/Version
Windows 11 21H2 OS Build 22000.918

Attachments

  • IMG_20220914_003724.jpg
    IMG_20220914_003724.jpg
    1,008.9 KB · Views: 2

My Computer

I used 5GB install.wim a few hours ago.
I apologise.I should have used captured install.wim of size 48.8 GB , size on disk 52,405,760,000 bytes.
Procedure I have used is correct, as when I booted from USB having captured install.wim, it directly landed to desktop of Windows 11 pro os build 22000.918 after installation without asking me a single question. Please see the images.
 

Attachments

  • IMG-20220914-WA0000.jpg
    IMG-20220914-WA0000.jpg
    54.9 KB · Views: 2
  • IMG_20220914_073227.jpg
    IMG_20220914_073227.jpg
    1.1 MB · Views: 2

My Computer

To add, I got everything back which I had on my pc before reinstall.
More clearly, boot from bootable usb of Windows 11, press shift+F10 when install screen comes.
X:\sources>
dism /capture-image /imagefile:Z:\install.wim /capturedir:D:\
/name:"Recovery" /description:"My Custom Recovery Image"
Exit.
Log in to installed windows 11.
Make partitions on usb as told above.
Mount the downloaded iso from uupdump.net which matches your installed windows 11 os build on your pc.
Copy captured install.wim to replace install.wim in NTFS partition.
Cut boot.wim from NTFS\sources folder to paste in manually created sources folder in FAT32 partition.
Boot from bootable usb to get your running windows 11 back on new or same partition.
 

My Computer

More clearly, boot from bootable usb of Windows 11, press shift+F10 when install screen comes.
X:\sources>
dism /capture-image /imagefile:Z:\install.wim /capturedir:D:\
/name:"Recovery" /description:"My Custom Recovery Image"
Exit.
Log in to installed windows 11.
Make partitions on usb as told above.
Mount the downloaded iso from uupdump.net which matches your installed windows 11 os build on your pc.
Copy captured install.wim to replace install.wim in NTFS partition.
Cut boot.wim from NTFS\sources folder to paste in manually created sources folder in FAT32 partition.
Boot from bootable usb to get your running windows 11 back on new or same partition.
Also to check volume of Windows 11,
run
diskpart>list vol
Note down windows 11 installed volume letter, also other volumes to be used to save captured install.wim
All should be done at X:>Sources.
 

My Computer

There is a great tutorial that explains this.


I use this method to transfer an installation from one PC to another, injecting drivers of new pc into boot.wim and install.wim.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
Everything is working fine when I installed from iso made from captured install.wim(size 52 gb. This windows copy is receiving updates as usual, digital license linked with my MS account, without any data loss of personal files.
 

My Computer

More clearly, boot from bootable usb of Windows 11
can be done from inside windows using snapshot.

using wimlib:
%wimlib% capture \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy4\ "o:\something.wim" --compress=fast --config="%TP%\BIN\wimscript.ini"

using dism:
Dism /Capture-Image /ImageFile:"O:\something.wim" /CaptureDir:\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy4\ /Name:SomeName /ConfigFile:WimScript.ini



easier with dism++


Optional exclusions: Options>More Settings

dism++capture0..jpg


Highlight in blue OS to capture in the top pane

dism++capture1.jpg

File > Save Image

dism++capture2.jpg


Browse to destination and wim name. then click ok

dism++capture3.jpg
 
Last edited:

My Computers

System One System Two

  • OS
    Win7
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450
Last edited:

My Computers

System One System Two

  • OS
    Win7
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450
Now after receiving updates, this copy has been upgraded to os build 22000.978. Formerly os build was 22000.918 .Please see the image.
Special thanks to @cereberus , SIW2, and everyone who has shared valuable time on this thread.
This thread has enriched my knowledge.
Again thanks respected members of this forum.
 

Attachments

  • Q_1663292150467.jpg
    Q_1663292150467.jpg
    997.6 KB · Views: 3

My Computer

e4rr0o, It's always important to acknowledge and thank those who have helped you in online communities. One way to do this is by using the like button located at the bottom of each post. By clicking on the like button, you can show your appreciation and support for the helpful content that others have shared with you. This small gesture can go a long way in encouraging people to continue contributing and sharing their knowledge with you and others in the community.

So, please remember to use the like button to show your gratitude and support to those who have helped you along the way. It's important to note that a "like" gives 1 point, "Helpful" gives 5 points, and for exceptional help, "Great support" gives 10 points.

Latest Support Threads

Back
Top Bottom