Forum

Please or Register to create posts and topics.

An error occurred when running “Make_Latest_Ventoy_Partition_Image.cmd”

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)

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 OK

Extracting 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.04s

Creating 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 . . .

Multi-buy discount 10%

eBooks (in PDF format)

Easy-to-read eBooks are available in PDF format (each eBook is over 100 pages) – rated 4.5/5 stars.
Learn the secrets of Legacy and UEFI USB booting and then make your perfect multiboot USB drive.
E2B eBook #1 includes instructions on how to remove the E2B 5-second start-up delay blue screen.

E2B is unique in that it uses partition images which allows you to directly boot from Secure Boot images (no need to disable Secure Boot or run MOK manager or modify your UEFI BIOS).

Most eBooks are over 100 pages long, contain original content (not AI generated!) and step-by-step exercises which are suitable for both the beginner or the more experienced user.
Customer reviews are located at bottom of each eBook product page and multi-buy discounts are available when you buy more than one eBook. Please also visit RMPrepUSB.com and the E2B Forum.
Subscribe to my blog for the latest news, tips, USB boot articles and free eBook updates.