Creating an installation drive formats the USB, erasing all existing data. Method 1: Creating a Bootable Installation Media (Official)
The Media Creation Tool is a tool provided by Microsoft that allows you to create a bootable USB drive and install Windows 10 on it. Here's how to use it: install win 10 on usb
To avoid errors during the process, ensure you have the following ready: Creating an installation drive formats the USB, erasing