Windows Setup partition error when UEFI-boot and using ‘wipe disk’ XML file

The operation failed because GPT disks cannot have an active partition.

If you UEFI-boot to agFM or Ventoy and use an XML file which automatically wipes the target disk and creates new partitions, then the XML file must create GPT partitions.

Most of the sample XML files in Easy2Boot which wipe the target disk begin with ‘ZZDanger’ and create MBR\Legacy partitions and so are not suitable to use when UEFI-booting.

One sample file for UEFI is provided which auto-wipes the disk and creates GPT partitions and that can be used for UEFI64 (see below).

Windows 10 XML files and Product Keys can also be used with Windows 11.

You can make your own XML files using the XMLtoE2B.exe Windows utility.

More information is available in E2B eBook #1 and eBook #2.

New! Ventoy for Easy2Boot v1.0.97 now released!


eBooks available (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 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 and the E2B Forum.
Subscribe to my blog for the latest news, tips, USB boot articles and free eBook updates.