Important Warning: This process will completely erase everything on your USB drive. Please back up any important files from the USB stick before you begin .
In the Command Prompt window, type the following commands in order, pressing Enter after each line :
Enjoy!
Preparation
- USB Drive: At least 8GB in size .
- ISO File: The Windows ISO you want to use, already downloaded .
- Permissions: You must run Command Prompt as Administrator.
Step 1: Open Command Prompt as Admin
- Press the Windows Key + R on your keyboard.
- Type cmd and press Enter.
- Right-click on "Command Prompt" in the results and select Run as administrator .
Step 2: Prepare the USB with DiskPart
In the Command Prompt window, type the following commands in order, pressing Enter after each line :- diskpart (Starts the disk partitioning utility)
- list disk (This shows all disks connected to your PC. Identify your USB drive by its size.)
- select disk # (Replace # with the number of your USB drive. For example, if it's Disk 1, type select disk 1.) This is the most critical step—make sure you select the correct disk .
- clean (Wipes all data from the selected USB drive) .
- create partition primary (Creates a new primary partition) .
- select partition 1 (Selects the newly created partition) .
- active (Marks the partition as active so the system can boot from it) .
- format fs=ntfs quick (Formats the drive quickly with NTFS. For UEFI boot, you can use fs=fat32 instead) .
- assign (Assigns a drive letter to the USB) .
- exit (Exits DiskPart) .
Step 3: Copy Installation Files
- Locate the Windows ISO file you downloaded. Right-click it and select Mount (Windows 10/11) or Open with > Windows Explorer .
- Open a new File Explorer window and navigate to your USB drive.
- Select all files and folders from the mounted ISO drive and copy them to the USB drive .
Enjoy!