Install Windows 11 v 23H2 22631.2715 using batch file by @hsehestedt


Ramesh Sharma

Active member
Member
Local time
11:57 AM
Posts
133
OS
Window 11 v24H2 Build 26085.1
1. Open the link attathed herewith and see post #8 to view the code by @hsehestedt .
The link is
2. I have attached the batch file named install11.bat, compressed XML folder, and WIM-TOOLS. Please have a look.
3. Mount iso of Windows 11 v 23H2 22631.2715 . Iso should be downloaded from microsoft official website without MCT.{This bat file uses install.wim} If iso contains install.esd , first convert it to install.wim by using WIM-TOOLS by @hsehestedt .
4. To see hidden files which are windows setup files, in partitions change +h to -h in last paragraph of batch file by editing the file. To edit Right click on bat file>show more options >edit.
5. Plug usb and run install11.bat as administrator.
6. Creating partitions FAT32 and NTFS , windows files are copied to these partitions.
7. The whole process is automatic.{from making partitions, naming partitions, assigning drive letters, copying boot.wim ,install.wim} Just wait to complete the process, Robocopy is used in this code. So you can see every file being copied.
8. Place Autounattend.xml file in FAT32 partition.{This is renamed from desired xml files ,in XML folder, to be used for different purposes}
9. Please note that editing of code is to be done before run of bat file as administrator.
10. Autounattend.xml file should be placed in FAT32 Partition after completion of creation of bootable usb and before booting.
11. This batch file works on both Windows 10 iso and Windows 11 iso.
 
Windows Build/Version
Windows 11 Pro version 23H2 OS Build 22631.2715

Attachments

  • XML.zip
    18.4 KB · Views: 9
  • install11.bat
    5.3 KB · Views: 12
  • WIM Tools and Batch File Multi Image Boot Disk Creator.zip
    1.4 MB · Views: 11

My Computer

System One

  • OS
    Window 11 v24H2 Build 26085.1
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASSEMMBLED
    CPU
    Intel Pentium CPU G620@ 2.60 GHz
    Motherboard
    DAICHI
    Memory
    6 GB
    Graphics Card(s)
    Onboard
    Sound Card
    Onboard
    Monitor(s) Displays
    LG
    Screen Resolution
    1366x768
    Hard Drives
    Toshiba HDD 1 TB
    Keyboard
    Mechanical
    Mouse
    Mechanical
    Internet Speed
    700 kb/s
    Browser
    Microsoft EDGE, CHROME
    Antivirus
    Microsoft Defender
1. Download windows 11 iso v24H2 build 26058.1100 from https://uup.rg-adguard. net/page
2. Prepare bootable usb by above method by changing +h to -h in fat32 and ntfs partitions. This is to see all files.
3. Boot from this boot disk to install Windows 11 Pro v24H2 build 26058.1100.
4. Press shift+F10 to bring command prompt.
5. Change to ntfs partition { R:\sources}
6. Run this command
Dism /apply-image /imagefile:install.wim /index:1 /applydir:T:
{Replace index and partition letter according to drive letters /volume letters found on applying diskpart>list disk, then list volume}
7. Restart after 100% completion.
8. Run bcdboot T:\windows /s S: /f BIOS (UEFI) OR use EasyBCD to add boot entry in BCD. S: is system reserved partition. Refer to
Thread 'Universal alternate Windows 11 install method' Universal alternate Windows 11 install method
by @NavyLCDR. Thanks @NavyLCDR.
9. PC may restart 3 -4 times.
10. We can create system reserved partition and ntfs partition in advance and then apply DISM command on booting from boot disk prepared by this tool.
11. Autounattend. xml is not mandatory while using DISM command.
Thanks for reading.
 

Attachments

  • IMG_20240223_183113.jpg
    IMG_20240223_183113.jpg
    1.1 MB · Views: 3
  • IMG_20240223_184041 (1).jpg
    IMG_20240223_184041 (1).jpg
    1.4 MB · Views: 3
Last edited:

My Computer

System One

  • OS
    Window 11 v24H2 Build 26085.1
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASSEMMBLED
    CPU
    Intel Pentium CPU G620@ 2.60 GHz
    Motherboard
    DAICHI
    Memory
    6 GB
    Graphics Card(s)
    Onboard
    Sound Card
    Onboard
    Monitor(s) Displays
    LG
    Screen Resolution
    1366x768
    Hard Drives
    Toshiba HDD 1 TB
    Keyboard
    Mechanical
    Mouse
    Mechanical
    Internet Speed
    700 kb/s
    Browser
    Microsoft EDGE, CHROME
    Antivirus
    Microsoft Defender

Latest Support Threads

Back
Top Bottom