Install Windows 11 using WinPE usb on any partition by typing setup at command prompt.


E

e4rr0o

Guest
1) Install ADK and PE add on for windows 11.
2) Make bootable WinPE by using copype and MakeWinPEMedia commands with powershell(run as administrator) as below:
C:\program files (x86) \Windows Kits\10\Assessment and Deployment Kit\Deployment Tools>copype amd64 c:\WinPE_amd64_PS
C:\program files (x86) \Windows Kits\10\Assessment and Deployment Kit\Deployment Tools>MakeWinPEMedia /UFD C:\WinPE_amd64_PS T:
T: is usb drive used to make WinPE bootable.
3) Create 10 GB partition on your pc hard disk. (NTFS). Copy all contents of mounted iso of Windows 11 to this drive. Suppose letter is O: for 10 GB partition.
4) Create a new folder (Empty) name it as you like , I call it My Mounted Drive, location is C: drive.
5) Now boot from WinPE usb bootable drive just created.
6) You get
X:\Windows\System32>Diskpart (Press Enter)
DISKPART> list volume
Here C: partition on hard disk appears to be H: (Volume 5)
and O: partition appears to be G: (Volume 4)
7) DISKPART> select volume 4
volume 4 is the selected volume.
8) DISKPART>assign mount="H:\My Mounted Drive"
Diskpart successfully assigned the drive letter or mount point.
8) DISKPART>exit
9) x:\windows\system32>H:
10) H:\>cd My Mounted Drive
11) H:\My Mounted Drive>setup (Press Enter)
Now setup starts, click Next and install windows 11 on desired partition.
 
Windows Build/Version
Windows 11 21H2 pro os build 22000.918

My Computer

cereberus

Well-known member
Pro User
VIP
Local time
11:33 AM
Posts
2,973
OS
Windows 10 Pro + others in VHDs
Huh - this is like overkill. There are far easier ways to do this by booting from a usb installation drive


What is the point of going through all these convoluted steps to do what is easy?


Step 1 alone is beyond average user.
 

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
E

e4rr0o

Guest
Thread Starter
1) Install ADK and PE add on for windows 11.
2) Make bootable WinPE by using copype and MakeWinPEMedia commands with powershell(run as administrator) as below:
C:\program files (x86) \Windows Kits\10\Assessment and Deployment Kit\Deployment Tools>copype amd64 c:\WinPE_amd64_PS
C:\program files (x86) \Windows Kits\10\Assessment and Deployment Kit\Deployment Tools>MakeWinPEMedia /UFD C:\WinPE_amd64_PS T:
T: is usb drive used to make WinPE bootable.
3) Create 10 GB partition on your pc hard disk. (NTFS). Copy all contents of mounted iso of Windows 11 to this drive. Suppose letter is O: for 10 GB partition.
4) Create a new folder (Empty) name it as you like , I call it My Mounted Drive, location is C: drive.
5) Now boot from WinPE usb bootable drive just created.
6) You get
X:\Windows\System32>Diskpart (Press Enter)
DISKPART> list volume
Here C: partition on hard disk appears to be H: (Volume 5)
and O: partition appears to be G: (Volume 4)
7) DISKPART> select volume 4
volume 4 is the selected volume.
8) DISKPART>assign mount="H:\My Mounted Drive"
Diskpart successfully assigned the drive letter or mount point.
8) DISKPART>exit
9) x:\windows\system32>H:
10) H:\>cd My Mounted Drive
11) H:\My Mounted Drive>setup (Press Enter)
Now setup starts, click Next and install windows 11 on desired partition.
Please see the images. Thanks.IMG-20220924-WA0000.jpgIMG-20220924-WA0002.jpgIMG-20220924-WA0001.jpg
Huh - this is like overkill. There are far easier ways to do this by booting from a usb installation drive


What is the point of going through all these convoluted steps to do what is easy?


Step 1 alone is beyond average user.
Hello @cereberus , a small partition of 10 GB on hard drive can be reserved for upcoming newer versions of Windows 11 , WinPE bootable usb is also forever.
Thanks for considering my thread.
 

My Computer

hsehestedt

Well-known member
Power User
VIP
Local time
5:33 AM
Posts
1,194
Location
Texas, USA
OS
Windows 11 Pro 22H2
Please see the images. Thanks.View attachment 40032View attachment 40030View attachment 40031

Hello @cereberus , a small partition of 10 GB on hard drive can be reserved for upcoming newer versions of Windows 11 , WinPE bootable usb is also forever.
Thanks for considering my thread.
Windows can automatically reserve space for updates.


EDIT: Why feel the need to run setup from another partition? You can just drop the ISO on your C: drive (or any other drive), double-click it, and run setup from there.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 22H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Chromium Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Dual Boot Windows 11 Pro 22H2 and Windows 10 Pro 22H2
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 15-BL012DX
    CPU
    Intel i7-7500U
    Memory
    32GB
    Graphics card(s)
    Dual Intel HD 620 and Nvidia GeForce 940MX
    Sound Card
    Built-in Realtek HD Audio
    Monitor(s) Displays
    4k 15-inch
    Screen Resolution
    4k (3840 x 2160)
    Hard Drives
    1TB Seagate FireCuda 510 NVMe SSD
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Chromium Edge
    Antivirus
    Windows Defender
    Other Info
    RAM Upgraded from 16GB to 32GB WiFi Upgraded from WiFi 5 to WiFi 6 SSD upgraded from 512GB NVMe SSD to 1TB Seagate FireCuda 510 NVMe SSD

NavyLCDR

Well-known member
Power User
VIP
Local time
3:33 AM
Posts
1,170
OS
Windows 11
I just use the dism /apply-image command.
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    AMD Ryzen 7 3800XT
    Motherboard
    ASUS ROG Crosshair VII Hero (WiFi)
    Memory
    32GB
    Graphics Card(s)
    EVGA GeForce GTX 1080 Ti
  • Operating System
    Windows 11 Education
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 7773
    CPU
    Intel i7-8550U
    Memory
    32GB
    Graphics card(s)
    Nvidia Geforce MX150
    Sound Card
    Realtek
    Monitor(s) Displays
    17"
    Screen Resolution
    1920 x 1080
    Hard Drives
    Toshiba 512GB NVMe SSD
    SK Hynix 512GB SATA SSD
    Internet Speed
    Fast!
E

e4rr0o

Guest
Thread Starter
Windows can automatically reserve space for updates.


EDIT: Why feel the need to run setup from another partition? You can just drop the ISO on your C: drive (or any other drive), double-click it, and run setup from there.
We are installing windows 11 from WinPE usb , externally. So any partition can be selected to install windows 11. Double clicking setup file within windows starts updating the running windows.
Thanks.
 

My Computer

E

e4rr0o

Guest
Thread Starter
An idea is to avoid collecting .iso images and boot from Ventoy. Or to avoid making new bootable usb drive for installation of windows 11.
Delete the contents of 10GB partition and paste into it the contents of latest iso image of Windows 11.
 

My Computer

SIW2

Well-known member
Member
VIP
Local time
11:33 AM
Posts
495
OS
Win7
Been doing it for years on win7. Create a small partition at end of disk e.g. 10gb. Copy contents of install media onto it. It can be accessed via boot menu or by booting any pe , winre.wim, boot.wim etc and then run x:\setup which should find the media on the hard disk, or if it has been set with reagentc then it will feature as an entry in sys recov options, or reach down and run setup.exe on the recov partition, or use the apply method, etc, etc

Fancy variation is to replace recovery partition\sources\install.wim with your own captured custom install.wim which can be appended so there are several images each captured at a different time.

I like wimlib for this purpose, but you could use dism++ which is very easy and automatically does snapshot capture to create or append.

something like this:
wimlib-imagex append c:\ "R:\sources\install.wim"--snapshot --create --compress=fast --config="path-to-wimscript.ini"

That will create install.wim if it doesn't exist yet, or append if it already exists. The wimscript.ini excludes unnecessary stuff.

That is one way of doing backup images in the very useful .wim format.

To work out which image you want, you could add something to the command to give it different descriptions, or you can just have a look at the dates.
 
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
E

e4rr0o

Guest
Thread Starter
Yes, we are lucky to read those brilliant tutorials by @Kari , thanks for those excellent tutorials.
Been doing it for years on win7. Create a small partition at end of disk e.g. 10gb. Copy contents of install media onto it. It can be accessed via boot menu or by booting any pe , winre.wim, boot.wim etc and then run x:\setup which should find the media on the hard disk, or if it has been set with reagentc then it will feature as an entry in sys recov options, or reach down and run setup.exe on the recov partition, or use the apply method, etc, etc

Fancy variation is to replace recovery partition\sources\install.wim with your own captured custom install.wim which can be appended so there are several images each captured at a different time.

I like wimlib for this purpose, but you could use dism++ which is very easy and automatically does snapshot capture to create or append.

something like this:
wimlib-imagex append c:\ "R:\sources\install.wim"--snapshot --create --compress=fast --config="path-to-wimscript.ini"
 

My Computer

SIW2

Well-known member
Member
VIP
Local time
11:33 AM
Posts
495
OS
Win7
I didn't know he had done tutorials on it. Then it will be easy because he has probably done screenshots.
 

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

Latest Support Threads

Top Bottom