Use Ventoy to boot a USB into WinPE and install the Windows 10 Reference Images as captured in Part 33. While Ventoy uses, and is similar to Grub, it is much less gnarly when running and simpler to setup. So like Rufus/Grub two partitions are required, the second is ntfs and contains the reference images.
This is an alternative to boot USB with Grub [ Ссылка ]
Or boot USB in Windows with DISKPART [ Ссылка ]
00:00 Intro
00:26 Download Ventoy
Download Ventoy [ Ссылка ]
00:36 Format USB and install Ventoy
Run Ventoy2Disk.exe. In the partition configuration menu item, preserve space at the end of the disk for the reference images.
02:38 Format Images Partition
03:12 Copy ventoy files to USB
03:36 Download Ventoy wimboot plugin
[ Ссылка ]
copy ventoy_wimboot.img to the ventoy directory
04:03 Copy themes files to USB
Copy ventoy directory and ventoy.json from the plugins directory to the USB
Update ventoy\ventoy.json to point to the theme.txt file and update ventoy\theme\theme.txt to use the new image
All scripts in [ Ссылка ]
ventoy\ventoy.json
==================
{
"theme": {
"file": "/ventoy/theme/theme.txt",
"gfxmode": "1920x1080",
"display_mode": "GUI",
"serial_param": "--unit=0 --speed=9600",
"ventoy_left": "5%",
"ventoy_top": "95%",
"ventoy_color": "#0000ff"
}
}
Copy a your png image to ventoy\theme
05:31 Copy Images and script files to NTFS partition
Reference / Golden images from previous grub USB or capture wim file with DISM from vhdx file [ Ссылка ]
Menu.cmd
=========
@echo off
:MENU
echo.
echo ..................................
echo PXE USB Imaging Menu V1.1
echo ..................................
set M=""
echo.
echo 1 - Win10-x64-TT - Install
echo 2 - Win10-x64 - Install
echo 3 - Check for Updated Install
echo 4 - Copy Updated Install
echo 5 - Exit to DOS
echo.
SET /P M=Type 1, 2, 3, 4 or 5 then press ENTER:
if "%M%"=="" Goto G5
IF Not %M%==1 GOTO G2
echo Win10-x64-TT - Install
cd images\win10-x64-tt
setup
cd \
goto MENU
:G2
if not %M%==2 goto G3
echo Win10-x64 - Install
cd images\win10-x64
setup
cd \
goto MENU
:G3
if not %M%==3 goto G4
start /wait connect.cmd
for /F "tokens=1" %%i in (Y:\development\version.txt) do set dir=%%i
echo Latest install timestamp
echo **************************************************
:: WinPE has no findstr
dir Y:\development\%dir%\install.wim
echo This install timestamp
echo **************************************************
dir images\win10-x64-tt\install.wim
echo Network Speed
wmic nic where netEnabled=true get name,speed,status
echo USB Type
wmic path CIM_USBDevice get Name
echo Copy if speed is 1000000000 and USB 3.0
goto MENU
:G4
if not %M%==4 goto G5
for /F "tokens=1" %%i in (Y:\development\version.txt) do set dir=%%i
echo time now %time%
:: del images\win10-x64-tt\install.wim
robocopy Y:\development\%dir% images\win10-x64-tt install.wim
goto MENU
:G5
echo Exit to DOS. To return to menu type MENU at DOS prompt
:EXIT
Connect.cmd
===========
connect to a network share: described in [ Ссылка ]
06:02 Copy and rename boot.wim
as created in [ Ссылка ] put it in the ventoy directory and rename it - it's the name that will appear in the Ventoy menu
06:52 Test
![](https://i.ytimg.com/vi/wBFgagpiW2k/maxresdefault.jpg)