An error occurred when running “Make_Latest_Ventoy_Partition_Image.cmd”
Quote from tdqk003 on 2026-05-01, 9:14 AMHello, expert. When I run the file ‘Make_Latest_Ventoy_Partition_Image.cmd’ on the latest version of Windows 11 (25H2), it either crashes immediately or returns a syntax error. The WMIC component is already installed, and it works fine on other versions of the system. Ventoy has been updated several times and many issues have been fixed, so I hope you might update Ventoy to the latest version when you have a chance.
Translated with DeepL.com (free version)
Hello, expert. When I run the file ‘Make_Latest_Ventoy_Partition_Image.cmd’ on the latest version of Windows 11 (25H2), it either crashes immediately or returns a syntax error. The WMIC component is already installed, and it works fine on other versions of the system. Ventoy has been updated several times and many issues have been fixed, so I hope you might update Ventoy to the latest version when you have a chance.
Translated with DeepL.com (free version)
Quote from SteveSi on 2026-05-08, 1:05 PMHi
I get no issue once I have installed ImDisk.exe and wmic on my Win 11 system - see log from today below.
ImDisk must be pre-installed - see http://static.ltr-data.se/files/imdiskinst.exe
As for updating Ventoy for E2B - probably not going to happen for quite a while. Most people are now using just Ventoy (my sight traffic has gone down from tens of thousands a week to 200 a week).
Most people now use E2B for installing XP on retro systems!
cheers
Steve
Finding latest Official Ventoy download - please wait...
VER=1.1.12
https://github.com/ventoy/Ventoy/releases/download/v1.1.12/ventoy-1.1.12-windows.zip
ventoy-1.1.12-windows.zip downloaded OKExtracting ventoy.disk.img to C:\Users\steve\AppData\Local\Temp\ventoy22651...
File ventoy.disk.img extracted - size=33554432 bytes
Downloading core.img from github...
C:/Users/steve/AppData/Local/ 100%[=================================================>] 396.04K --.-KB/s in 0.04sCreating disk images...
1 file(s) copied.
Could Not Find Z:\EFI\BOOT\grubx64.efi
Updating J:\ventoy\VentoyPlugson.exe and VentoyVlnk.exe...K: updated with latest ventoy disk image (Secure Boot)
K: updated with latest ventoy disk image (No Secure Boot)
K: updated with latest ventoy disk image (Kaspersky Bypass Secure Boot)K:\Switch_ventoy.cfg updated
Use J:\ventoy\VentoyPlugson.exe to modify or create a \ventoy\ventoy.json configuration file
Finished making images - all OK.
Press any key to continue . . .
Hi
I get no issue once I have installed ImDisk.exe and wmic on my Win 11 system - see log from today below.
ImDisk must be pre-installed - see http://static.ltr-data.se/files/imdiskinst.exe
As for updating Ventoy for E2B - probably not going to happen for quite a while. Most people are now using just Ventoy (my sight traffic has gone down from tens of thousands a week to 200 a week).
Most people now use E2B for installing XP on retro systems!
cheers
Steve
Finding latest Official Ventoy download - please wait...
VER=1.1.12
https://github.com/ventoy/Ventoy/releases/download/v1.1.12/ventoy-1.1.12-windows.zip
ventoy-1.1.12-windows.zip downloaded OKExtracting ventoy.disk.img to C:\Users\steve\AppData\Local\Temp\ventoy22651...
File ventoy.disk.img extracted - size=33554432 bytes
Downloading core.img from github...
C:/Users/steve/AppData/Local/ 100%[=================================================>] 396.04K --.-KB/s in 0.04sCreating disk images...
1 file(s) copied.
Could Not Find Z:\EFI\BOOT\grubx64.efi
Updating J:\ventoy\VentoyPlugson.exe and VentoyVlnk.exe...K: updated with latest ventoy disk image (Secure Boot)
K: updated with latest ventoy disk image (No Secure Boot)
K: updated with latest ventoy disk image (Kaspersky Bypass Secure Boot)K:\Switch_ventoy.cfg updated
Use J:\ventoy\VentoyPlugson.exe to modify or create a \ventoy\ventoy.json configuration file
Finished making images - all OK.
Press any key to continue . . .