Solved Creating WIN11 Bootable USB drive with Rufus


IanMosley

Windows Insider
Power User
VIP
Local time
7:20 AM
Posts
762
Location
UK
OS
Windows 11 Pro v 23H2 (Build 22631.3527)
I have an issue trying to create a bootable WIN11 USB drive with Rufus, using the following setup in Rufus –

Rufus GPT.png

First, I CAN create a Bootable USB drive, using this setup, from MacriumRescue.iso.

However, with a ‘Release Preview’ iso - Build(22631.3371) in the example above - a bootable drive IS created and the WIN11 installation starts and then fails because it can’t find any drivers. I can mount this iso, and run ‘setup.exe’ up until the point where the installer reaches the following point –

1.png

This suggests that the .iso is OK.

Are my Rufus settings correct? If not, what should they be?
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro v 23H2 (Build 22631.3527)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Precision 3660 Tower Workstation
    CPU
    12th Gen Intel(R) Core(TM) i9-12900 5.10 GHz
    Motherboard
    64-bit operating system, x64-based processor
    Memory
    32.00 GB
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Dell P2714H Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x 512GB NVME PC801 NVMe SK hynix Boot
    1 x 1TB Seagate ST1000LM049-2GH172 Internal HDD
    1 x 1TB Seagate STGX4000400 External HDD
    1 x 2TB Seagate STGX4000400 External HDD
    1 x 4TB Seagate STGX4000400 External HDD
    PSU
    300 Watts
    Cooling
    Air
    Keyboard
    Microsoft Wired Keyboard 600
    Mouse
    Microsoft USB Basic Optical Mouse v2.0
    Browser
    Firefox
    Antivirus
    Windows Defender + Malwarebytes Premium
    Other Info
    BaseBoard Manufacturer Dell Inc.
    BaseBoard Product 0J1CP3
    BaseBoard Version A01
However, with a ‘Release Preview’ iso - Build(22631.3371) in the example above - a bootable drive IS created and the WIN11 installation starts and then fails because it can’t find any drivers.
Drivers? What is the exact message and at what point does it occur ?

Could be missing the rst drivers so it cant see the disk. If so, I have posted the fix numerous times.

➡️ dell-rst-winpe11.zip

Unzip it.

Either copy the unzipped folder to usb stick and f6 them by clicking "load drivers" then browse to the folder.

OR

mount installation media sources\boot.wim image 2

integrate the drivers

unmount commit
 
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
Drivers? What is the exact message and at what point does it occur ?
I can't give a screen shot because I must the only person in the world who does NOT own a mobile phone!!

However, scouring through the forum I've found these images to help

2.png
with suitable changes for the UK

3.png

When I click 'Install Now', the installation process does NOT get as far as -

4.png

and

5.png


and that when it says it can't find any drivers.
 

My Computer

System One

  • OS
    Windows 11 Pro v 23H2 (Build 22631.3527)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Precision 3660 Tower Workstation
    CPU
    12th Gen Intel(R) Core(TM) i9-12900 5.10 GHz
    Motherboard
    64-bit operating system, x64-based processor
    Memory
    32.00 GB
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Dell P2714H Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x 512GB NVME PC801 NVMe SK hynix Boot
    1 x 1TB Seagate ST1000LM049-2GH172 Internal HDD
    1 x 1TB Seagate STGX4000400 External HDD
    1 x 2TB Seagate STGX4000400 External HDD
    1 x 4TB Seagate STGX4000400 External HDD
    PSU
    300 Watts
    Cooling
    Air
    Keyboard
    Microsoft Wired Keyboard 600
    Mouse
    Microsoft USB Basic Optical Mouse v2.0
    Browser
    Firefox
    Antivirus
    Windows Defender + Malwarebytes Premium
    Other Info
    BaseBoard Manufacturer Dell Inc.
    BaseBoard Product 0J1CP3
    BaseBoard Version A01

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
That is what I expected.

The fix is in my previous post, The drivers are linked to my previous post

Thank you - I'll give a whirl and report back.
 

My Computer

System One

  • OS
    Windows 11 Pro v 23H2 (Build 22631.3527)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Precision 3660 Tower Workstation
    CPU
    12th Gen Intel(R) Core(TM) i9-12900 5.10 GHz
    Motherboard
    64-bit operating system, x64-based processor
    Memory
    32.00 GB
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Dell P2714H Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x 512GB NVME PC801 NVMe SK hynix Boot
    1 x 1TB Seagate ST1000LM049-2GH172 Internal HDD
    1 x 1TB Seagate STGX4000400 External HDD
    1 x 2TB Seagate STGX4000400 External HDD
    1 x 4TB Seagate STGX4000400 External HDD
    PSU
    300 Watts
    Cooling
    Air
    Keyboard
    Microsoft Wired Keyboard 600
    Mouse
    Microsoft USB Basic Optical Mouse v2.0
    Browser
    Firefox
    Antivirus
    Windows Defender + Malwarebytes Premium
    Other Info
    BaseBoard Manufacturer Dell Inc.
    BaseBoard Product 0J1CP3
    BaseBoard Version A01

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
    Motherboard
    Product : 190A Version : KBC Version 94.56
    Memory
    16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
    Graphics Card(s)
    NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
    Sound Card
    IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
    Hard Drives
    Model Hitachi HTS727575A9E364
    Antivirus
    Microsoft Defender
    Other Info
    Mobile Workstation
You might as well learn how to install the drivers.

Load the drivers on the fly for now to get the os installed.

Then after you have installed the os, you can integrate the drivers into winre.wim using dism or dism++

******************************************************************************************************************

One way to integrate the drivers into winre.wim

While it is possible to copy winre.wim from using the recovery sequence, a simpler way is:

reagentc /disable ( that should move winre.wim to %windir%\system32\recovery\winre.wim )

remove the attributes,

attrib -S -H -R %windir%\system32\recovery\winre.wim

create an empty folder with a sensible name,

md %systemdrive%\mount

then use dism to mount winre.wim,

dism /Mount-Image /ImageFile:"%windir%\system32\recovery\winre.wim" /index:1 /MountDir:"%systemdrive%\mount"

integrate the drivers into the mounted image , ( assuming your drivers are in a folder c:\dell-rst-winpe11 )

dism /IMAGE:"%systemdrive%\mount" /ADD-DRIVER /DRIVER:"c:\dell-rst-winpe11" /RECURSE /ForceUnsigned

unmount the image committing the changes,

dism /Unmount-Image /MountDir:"%systemdrive%\mount" /commit

and finally

attrib +S +H +R %windir%\system32\recovery\winre.wim

reagentc /enable


if you want to be fancy you could clean up the image a bit before commit and optimize after saving, but it not essentail

5 minute job at most
 
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
I can do a simple little menu with just manager and something for screenshots easily enough.

Saves going to all the effort of building full scale custom pe.

Dism++ is excellent. I wouldnt be without it. I usually put on the usb stick and run it from there. My full scale custom pe links the programs on usb stick to the pe desktop.

For a simple one with just manager could easily browse to the usb stick and run it.

There are masses of programs that could go into the wim image but it will get bigger
 

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
I know @BobOmb is a dab hand at pe building.

I had in mind something very small and simple for this purpose.

Something like this:

winpeshl.ini
Code:
[LaunchApp]
AppPath="Pecmd.exe Main %SystemDrive%\Windows\System32\Pecmd.ini"

pecmd.ini
Code:
DISP W1024 H768 B32 F60
WALL %CURDIR%\winpe.jpg
LOGS %WinDir%\System32\Pecmd.log
#code=936T950
ENVI^ ForceLocal=1
ENVI^ EnviMode=1
TEXT Setting Up...#0xFFFFFF R59 T39 $20*
NUMK 1
HOTK Ctrl + Alt + e,TEAM PECMD.EXE KILL RecEnv.exe| WAIT 2000| WALL %CURDIR%\winpe.jpg
HOTK Ctrl + Alt + r,X:\sources\recovery\RecEnv.exe 

IFEX %CURDIR%\EXPLORERFRAME.DLL,
{ REGI $HKLM\software\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To\\={C2FBB630-2971-11D1-A18C-00C04FD75D13}
  REGI $HKLM\software\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To\\={C2FBB631-2971-11D1-A18C-00C04FD75D13}
  REGI $HKLM\software\Classes\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}\\=Shell Name Space ListView
  REGI ~HKLM\software\Classes\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}\InProcServer32\\=%%SystemRoot%%\system32\explorerframe.dll
  REGI $HKLM\software\Classes\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}\InProcServer32\\ThreadingModel=Apartment
 }
 
//enable shadowcopyview
REGI #HKLM\software\Microsoft\CTF\TIP\{0000897b-83df-4b96-be07-0fb58b01c4a4}\LanguageProfile\0x00000000\{0001bea3-ed56-483d-a2e2-aeae25577436}\\Enable=1
 
EXEC =REGEDIT /S %CurDir%\PE-7zip.REG

IFEX X:\Program Files\Imagine\Imagine64.dll,
{ REGI $HKLM\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\Imagine\\={57B47F62-4EE4-4BED-A897-2C63198B876F}
  REGI $HKLM\SOFTWARE\Classes\CLSID\{57B47F62-4EE4-4BED-A897-2C63198B876F}\\=Imagine Object
  REGI $HKLM\SOFTWARE\Classes\CLSID\{57B47F62-4EE4-4BED-A897-2C63198B876F}\InProcServer32\\=X:\Program Files\Imagine\Imagine64.dll
  REGI $HKLM\SOFTWARE\Classes\CLSID\{57B47F62-4EE4-4BED-A897-2C63198B876F}\InProcServer32\\ThreadingModel=Apartment
  REGI $HKLM\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\Imagine\\={57B47F62-4EE4-4BED-A897-2C63198B876F}
  REGI $HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\\{57B47F62-4EE4-4BED-A897-2C63198B876F}=Imagine Shell Extension
 }


ENVI PECMD=PECMD.EXE
ENVI EDIT=notepad
REGI $HKCR\.wcs\=wcsfile
REGI $HKCR\wcsfile\=WCS File
REGI $HKCR\wcsfile\DefaultIcon\=%SystemRoot%\SYSTEM32\%PECMD%,0
REGI $HKCR\wcsfile\shell\open\command\=%PECMD% LOAD %L
REGI $HKCR\wcsfile\shell\Edit\command\=%EDIT% %L
REGI $HKCR\inifile\shell\PECMD\=PECMD load
REGI $HKCR\inifile\shell\PECMD\command\=%PECMD% "LOAD %L"
REGI $HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PATHEXT=.COM;.EXE;.NTR;.NTE;.NTX;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.WCS;.WCE;.WCX;.WCZ
WAIT 1000
TEXT
SHEL PECMD.EXE LOAD %CURDIR%\PEMENU.WCS
WAIT 1000
EXEC !%windir%\system32\wpeinit.exe


menu.wcs
Code:
_SUB RBT
MESS Restart pc now ?@RESTART PC ?#YN $Y
FIND $%YESNO%=YES,SHUT R
_END

_SUB EASYPE,L10T10W334H322,PEMENU (C) SIW2 2024,,#4
     ITEM Button1,L8T6W155H30,SHUTDOWN,CALL SHT,SHELL32.DLL#27
     ITEM Button11,L168T6W155H30,REBOOT ,CALL RBT,SHELL32.DLL#137
     ITEM Button2,L8T46W155H30,CMD,EXEC cmd.exe,cmd.exe#0
     ITEM Button21,L168T46W155H30,NOTEPAD,EXEC notepad.exe,notepad.exe#0
     ITEM Button4,L8T86W155H30,SYSTEM IMAGE,EXEC bmrui.exe,bmrui.exe#0
     ITEM Button41,L168T86W155H30,RECOVERY OPTS,EXEC X:\SOURCES\RECOVERY\RECENV.EXE,X:\SOURCES\RECOVERY\RECENV.EXE#0
     ITEM Button5,L8T126W155H30,BOOTICE,EXEC %programfiles%\BOOTICEx64.exe,%programfiles%\BOOTICEx64.exe
     ITEM Button51,L168T126W155H30,SHADOWCOPIES,EXEC %programfiles%\SHADOWCOPYVIEWx64.exe,%programfiles%\SHADOWCOPYVIEWx64.exe
     ITEM Button6,L8T166W155H30,EXPLORER,EXEC %programfiles%\JUSTMANAGERX64\justmanager.exe,%programfiles%\JUSTMANAGERX64\justmanager.exe
     ITEM Button61,L168T166W155H30,IMAGINE,EXEC %PROGRAMFILES%\imagine\imagine64.exe,%PROGRAMFILES%\imagine\imagine64.exe#0
     ITEM Button7,L8T206W155H30,BCDBOOTDISK,LOAD %CURDIR%\BCDBOOTDISKv23.WCS,PECMD.EXE#1
     ITEM Button71,L168T206W155H30,
     ITEM Button8,L8T246W155H30,800,TEAM EXEC PECMD DISP W800 H600 B32 F60|KILL \,PECMD.EXE#2
     ITEM Button81,L168T246W155H30,1024,TEAM EXEC PECMD DISP W1024 H768 B32 F60|KILL \,PECMD.EXE#2
_END
 
_SUB SHT
MESS Shutdown pc now ?@SHUTDOWN PC ?#YN
FIND $%YESNO%=YES,SHUT
_END
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
CALL @EASYPE
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

menu is like this

pemenu-small.jpg

It is very bacic but it adds a frisson without adding much size
 
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
Depending on a users's experience level, jacking around with inserting drivers into boot media can be confusing and is totally unnecessary.
The simplest solution is to change disk mode in bios to AHCI. (it's in the clean install tutorial Step ) This forces the install process to use the default MS storage controller driver rather than IRST during the install. Your disks will automatically be recognized.

Just recently I have removed IRST from my three systems to eliminate any need of dealing with storage controller driver using a Macrium restore or a clean install. There has been no change in disk performance from doing this. Doing a clean install is a prime time to eliminate IRST.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 22631.3447
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1tb Solidigm m.2 +256gb ssd+512 gb usb m.2 sata
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 22H2 19045.3930
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
Depending on a users's experience level, jacking around with inserting drivers into boot media can be confusing and is totally unnecessary.
The simplest solution is to change disk mode in bios to AHCI. (it's in the clean install tutorial Step ) This forces the install process to use the default MS storage controller driver rather than IRST during the install. Your disks will automatically be recognized.

Just recently I have removed IRST from my three systems to eliminate any need of dealing with storage controller driver using a Macrium restore or a clean install. There has been no change in disk performance from doing this. Doing a clean install is a prime time to eliminate IRST.
Unfortunately a lot of newer devices do not offer the option to use AHCI any more.
 

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
Why are you struggling with Rufus? There's a simple utility from MS.
I have an issue trying to create a bootable WIN11 USB drive with Rufus, using the following setup in Rufus –

View attachment 91368

First, I CAN create a Bootable USB drive, using this setup, from MacriumRescue.iso.

However, with a ‘Release Preview’ iso - Build(22631.3371) in the example above - a bootable drive IS created and the WIN11 installation starts and then fails because it can’t find any drivers. I can mount this iso, and run ‘setup.exe’ up until the point where the installer reaches the following point –

View attachment 91369

This suggests that the .iso is OK.

Are my Rufus settings correct? If not, what should they be?

You have two unrelated issues.

1. create usb using mbr format suitable for legacy bios and uefi pc option.

2. I bet you have nvme drives. Either download irst driver package and install it so you can get the .inf file, or try ahci mode (not all devices can do this).
 

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
That is what I expected.

The fix is in my previous post, The drivers are linked to my previous post
All drivers in your package are incompatible with my system.

IRST is incompatible with my system.

1.png

You have two unrelated issues.

1. create usb using mbr format suitable for legacy bios and uefi pc option.

2. I bet you have nvme drives. Either download irst driver package and install it so you can get the .inf file, or try ahci mode (not all devices can do this).
2 - Yes, I do have a NVME drive (see My Computer) & I'm already using AHCI
1 - I'll give it a whirl and report back.
 

My Computer

System One

  • OS
    Windows 11 Pro v 23H2 (Build 22631.3527)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Precision 3660 Tower Workstation
    CPU
    12th Gen Intel(R) Core(TM) i9-12900 5.10 GHz
    Motherboard
    64-bit operating system, x64-based processor
    Memory
    32.00 GB
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Dell P2714H Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x 512GB NVME PC801 NVMe SK hynix Boot
    1 x 1TB Seagate ST1000LM049-2GH172 Internal HDD
    1 x 1TB Seagate STGX4000400 External HDD
    1 x 2TB Seagate STGX4000400 External HDD
    1 x 4TB Seagate STGX4000400 External HDD
    PSU
    300 Watts
    Cooling
    Air
    Keyboard
    Microsoft Wired Keyboard 600
    Mouse
    Microsoft USB Basic Optical Mouse v2.0
    Browser
    Firefox
    Antivirus
    Windows Defender + Malwarebytes Premium
    Other Info
    BaseBoard Manufacturer Dell Inc.
    BaseBoard Product 0J1CP3
    BaseBoard Version A01
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro v 23H2 (Build 22631.3527)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Precision 3660 Tower Workstation
    CPU
    12th Gen Intel(R) Core(TM) i9-12900 5.10 GHz
    Motherboard
    64-bit operating system, x64-based processor
    Memory
    32.00 GB
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Dell P2714H Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x 512GB NVME PC801 NVMe SK hynix Boot
    1 x 1TB Seagate ST1000LM049-2GH172 Internal HDD
    1 x 1TB Seagate STGX4000400 External HDD
    1 x 2TB Seagate STGX4000400 External HDD
    1 x 4TB Seagate STGX4000400 External HDD
    PSU
    300 Watts
    Cooling
    Air
    Keyboard
    Microsoft Wired Keyboard 600
    Mouse
    Microsoft USB Basic Optical Mouse v2.0
    Browser
    Firefox
    Antivirus
    Windows Defender + Malwarebytes Premium
    Other Info
    BaseBoard Manufacturer Dell Inc.
    BaseBoard Product 0J1CP3
    BaseBoard Version A01
post#11


Works fine in win10 winre.wim

pemenu-win10-winre-mar2024.jpg

pemenu-win10-winre-mar2024-2.jpg


for win11 winre.wim need to delete system32\wallpaperhost.exe
 

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
@BobOmb

Trying the other way calling winpeshl.exe from pecmd seems ok. Still need to delete wallpaperhost for win11 but not for win10. Needs T I permission to delete from the mounted image so easier to do it directly from the wim.

Code:
3    {ENTER:X:\Windows\System32\Pecmd.ini}
3    [LOGS X:\Windows\System32\Pecmd.log]    <0>    :The operation completed successfully.
      DELAY bwinpeshl  [ -nfb -incmd pecmd TEAM WAIT -InitSys* -ncd *1708]
4    [EXEC winpeshl.exe]    <0>    :The operation completed successfully.
6    [ENVI^ ForceLocal=1]    <0>    :The operation completed successfully.
7    [ENVI^ EnviMode=1]    <0>    :The operation completed successfully.
9    [NUMK 1]    <0>    :The operation completed successfully.
10    [HOTK Ctrl + Alt + e,TEAM PECMD.EXE KILL RecEnv.exe]    <0>    :The operation completed successfully.
11    [HOTK Ctrl + Alt + r,X:\sources\recovery\RecEnv.exe]    <0>    :The operation completed successfully.
12    {IFEX X:\Windows\System32\EXPLORERFRAME.DLL,}
12    [IFEX X:\Windows\System32\EXPLORERFRAME.DLL,]    <0>    :The operation completed successfully.
21    [REGI #HKLM\software\Microsoft\CTF\TIP\{0000897b-83df-4b96-be07-0fb58b01c4a4}\LanguageProfile\0x00000000\{0001bea3-ed56-483d-a2e2-aeae25577436}\\Enable=1]    <0>    :The operation completed successfully.
23    [EXEC =REGEDIT /S X:\Windows\System32\PE-7zip.REG]    <0>    :The operation completed successfully.
25    {IFEX X:\Program Files\Imagine\Imagine64.dll,}
[REGI $HKLM\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\Imagine\\={57B47F62-4EE4-4BED-A897-2C63198B876F}]    <0>    :The operation completed successfully.
[REGI $HKLM\SOFTWARE\Classes\CLSID\{57B47F62-4EE4-4BED-A897-2C63198B876F}\\=Imagine Object]    <0>    :The operation completed successfully.
[REGI $HKLM\SOFTWARE\Classes\CLSID\{57B47F62-4EE4-4BED-A897-2C63198B876F}\InProcServer32\\=X:\Program Files\Imagine\Imagine64.dll]    <0>    :The operation completed successfully.
[REGI $HKLM\SOFTWARE\Classes\CLSID\{57B47F62-4EE4-4BED-A897-2C63198B876F}\InProcServer32\\ThreadingModel=Apartment]    <0>    :The operation completed successfully.
[REGI $HKLM\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\Imagine\\={57B47F62-4EE4-4BED-A897-2C63198B876F}]    <0>    :The operation completed successfully.
[REGI $HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\\{57B47F62-4EE4-4BED-A897-2C63198B876F}=Imagine Shell Extension]    <0>    :The operation completed successfully.
25    [IFEX X:\Program Files\Imagine\Imagine64.dll,]    <0>    :The operation completed successfully.
35    [ENVI PECMD=PECMD.EXE]    <0>    :The operation completed successfully.
36    [ENVI EDIT=notepad]    <0>    :The operation completed successfully.
37    [REGI $HKCR\.wcs\=wcsfile]    <0>    :The operation completed successfully.
38    [REGI $HKCR\wcsfile\=WCS File]    <0>    :The operation completed successfully.
39    [REGI $HKCR\wcsfile\DefaultIcon\=X:\Windows\SYSTEM32\PECMD.EXE,0]    <0>    :The operation completed successfully.
40    [REGI $HKCR\wcsfile\shell\open\command\=PECMD.EXE "LOAD %L"]    <0>    :The operation completed successfully.
41    [REGI $HKCR\wcsfile\shell\Edit\command\=notepad %L]    <0>    :The operation completed successfully.
42    [REGI $HKCR\inifile\shell\PECMD\=PECMD load]    <0>    :The operation completed successfully.
43    [REGI $HKCR\inifile\shell\PECMD\command\=PECMD.EXE "LOAD %L"]    <0>    :The operation completed successfully.
44    [REGI $HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PATHEXT=.COM;.EXE;.NTR;.NTE;.NTX;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.WCS;.WCE;.WCX;.WCZ]    <0>    :The operation completed successfully.
45    [WAIT 1000]    <0>    :The operation completed successfully.
47    [SHEL PECMD.EXE LOAD X:\Windows\System32\PEMENU.WCS]    <0>    :The operation completed successfully.
 
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
I know @BobOmb is a dab hand at pe building.

I had in mind something very small and simple for this purpose.

Something like this:

winpeshl.ini
Code:
[LaunchApp]
AppPath="Pecmd.exe Main %SystemDrive%\Windows\System32\Pecmd.ini"

pecmd.ini
Code:
DISP W1024 H768 B32 F60
WALL %CURDIR%\winpe.jpg
LOGS %WinDir%\System32\Pecmd.log
#code=936T950
ENVI^ ForceLocal=1
ENVI^ EnviMode=1
TEXT Setting Up...#0xFFFFFF R59 T39 $20*
NUMK 1
HOTK Ctrl + Alt + e,TEAM PECMD.EXE KILL RecEnv.exe| WAIT 2000| WALL %CURDIR%\winpe.jpg
HOTK Ctrl + Alt + r,X:\sources\recovery\RecEnv.exe

IFEX %CURDIR%\EXPLORERFRAME.DLL,
{ REGI $HKLM\software\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To\\={C2FBB630-2971-11D1-A18C-00C04FD75D13}
  REGI $HKLM\software\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To\\={C2FBB631-2971-11D1-A18C-00C04FD75D13}
  REGI $HKLM\software\Classes\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}\\=Shell Name Space ListView
  REGI ~HKLM\software\Classes\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}\InProcServer32\\=%%SystemRoot%%\system32\explorerframe.dll
  REGI $HKLM\software\Classes\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}\InProcServer32\\ThreadingModel=Apartment
 }
 
//enable shadowcopyview
REGI #HKLM\software\Microsoft\CTF\TIP\{0000897b-83df-4b96-be07-0fb58b01c4a4}\LanguageProfile\0x00000000\{0001bea3-ed56-483d-a2e2-aeae25577436}\\Enable=1
 
EXEC =REGEDIT /S %CurDir%\PE-7zip.REG

IFEX X:\Program Files\Imagine\Imagine64.dll,
{ REGI $HKLM\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\Imagine\\={57B47F62-4EE4-4BED-A897-2C63198B876F}
  REGI $HKLM\SOFTWARE\Classes\CLSID\{57B47F62-4EE4-4BED-A897-2C63198B876F}\\=Imagine Object
  REGI $HKLM\SOFTWARE\Classes\CLSID\{57B47F62-4EE4-4BED-A897-2C63198B876F}\InProcServer32\\=X:\Program Files\Imagine\Imagine64.dll
  REGI $HKLM\SOFTWARE\Classes\CLSID\{57B47F62-4EE4-4BED-A897-2C63198B876F}\InProcServer32\\ThreadingModel=Apartment
  REGI $HKLM\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\Imagine\\={57B47F62-4EE4-4BED-A897-2C63198B876F}
  REGI $HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\\{57B47F62-4EE4-4BED-A897-2C63198B876F}=Imagine Shell Extension
 }


ENVI PECMD=PECMD.EXE
ENVI EDIT=notepad
REGI $HKCR\.wcs\=wcsfile
REGI $HKCR\wcsfile\=WCS File
REGI $HKCR\wcsfile\DefaultIcon\=%SystemRoot%\SYSTEM32\%PECMD%,0
REGI $HKCR\wcsfile\shell\open\command\=%PECMD% LOAD %L
REGI $HKCR\wcsfile\shell\Edit\command\=%EDIT% %L
REGI $HKCR\inifile\shell\PECMD\=PECMD load
REGI $HKCR\inifile\shell\PECMD\command\=%PECMD% "LOAD %L"
REGI $HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PATHEXT=.COM;.EXE;.NTR;.NTE;.NTX;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.WCS;.WCE;.WCX;.WCZ
WAIT 1000
TEXT
SHEL PECMD.EXE LOAD %CURDIR%\PEMENU.WCS
WAIT 1000
EXEC !%windir%\system32\wpeinit.exe


menu.wcs
Code:
_SUB RBT
MESS Restart pc now ?@RESTART PC ?#YN $Y
FIND $%YESNO%=YES,SHUT R
_END

_SUB EASYPE,L10T10W334H322,PEMENU (C) SIW2 2024,,#4
     ITEM Button1,L8T6W155H30,SHUTDOWN,CALL SHT,SHELL32.DLL#27
     ITEM Button11,L168T6W155H30,REBOOT ,CALL RBT,SHELL32.DLL#137
     ITEM Button2,L8T46W155H30,CMD,EXEC cmd.exe,cmd.exe#0
     ITEM Button21,L168T46W155H30,NOTEPAD,EXEC notepad.exe,notepad.exe#0
     ITEM Button4,L8T86W155H30,SYSTEM IMAGE,EXEC bmrui.exe,bmrui.exe#0
     ITEM Button41,L168T86W155H30,RECOVERY OPTS,EXEC X:\SOURCES\RECOVERY\RECENV.EXE,X:\SOURCES\RECOVERY\RECENV.EXE#0
     ITEM Button5,L8T126W155H30,BOOTICE,EXEC %programfiles%\BOOTICEx64.exe,%programfiles%\BOOTICEx64.exe
     ITEM Button51,L168T126W155H30,SHADOWCOPIES,EXEC %programfiles%\SHADOWCOPYVIEWx64.exe,%programfiles%\SHADOWCOPYVIEWx64.exe
     ITEM Button6,L8T166W155H30,EXPLORER,EXEC %programfiles%\JUSTMANAGERX64\justmanager.exe,%programfiles%\JUSTMANAGERX64\justmanager.exe
     ITEM Button61,L168T166W155H30,IMAGINE,EXEC %PROGRAMFILES%\imagine\imagine64.exe,%PROGRAMFILES%\imagine\imagine64.exe#0
     ITEM Button7,L8T206W155H30,BCDBOOTDISK,LOAD %CURDIR%\BCDBOOTDISKv23.WCS,PECMD.EXE#1
     ITEM Button71,L168T206W155H30,
     ITEM Button8,L8T246W155H30,800,TEAM EXEC PECMD DISP W800 H600 B32 F60|KILL \,PECMD.EXE#2
     ITEM Button81,L168T246W155H30,1024,TEAM EXEC PECMD DISP W1024 H768 B32 F60|KILL \,PECMD.EXE#2
_END
 
_SUB SHT
MESS Shutdown pc now ?@SHUTDOWN PC ?#YN
FIND $%YESNO%=YES,SHUT
_END
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
CALL @EASYPE
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

menu is like this

View attachment 91387

It is very bacic but it adds a frisson without adding much size
Hello @SIW2 ,
Congratulations for your inventions .
May I know how to add /bring/display this PEMENU(c)SIW2 2024 in pe enivronment of bootable usb of windows 10/windows 11 made by fat32 and ntfs partitions mbr partition style?
can this menu be downloaded from you directly?
Please take your own time to reply.
 
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