To create your bootable USB with the help of CMD, first you need to format the USB drive using diskaprt.
- Insert your USB flash drive into your computer.
- USB storage must be 4 GB or above
- Open Start Menu and type CMD to find Command Prompt. Right click on Command Prompt and click Run as Administrator.
Alternatively, you can also open the Command Prompt by pressing Windows+R > Type CMD > Press Enter.
- Once the Command Prompt window appears, type diskpart and hit enter. Wait until the diskpart utility starts running.
- In the new diskpart window, type list disk and hit enter. It will show you all active disks on your computer.
- Most probably, you will see two Disk types.
Disk 0 is for the hard drive and,
Disk 1 is for your USB Flash Drive with its total capacity.
- Since we are going to work on to create bootable USB using CMD, we will work with Disk 1.
- Type select disk 1 in the same window and hit Enter. You will get a message ‘Disk 1 is now the selected disk’. That means, any further operation that you do will affect your disk 1 directly.
- Type clean and hit Enter to remove all of the data in the USB drive. Clean command will format your bootable drive. You will get a message like ‘Diskpart succeeded in cleaning the disk’.
- Type create partition primary and hit Enter. You will get a message like Diskpart succeeded in creating the specified partition.
- Type select partition 1 and hit Enter. It will choose partition 1 for setting up it as an active partition.
- Next, type active and hit Enter. It will activate the current partition.
- Now, type format fs=fat32 quick or format fs=ntfs quick and hit Enter. This command will format your current partition as FAT32 or NTFS file system quickly.
- Type exit and hit Enter. Exit command will close the Diskpart program but it doesn’t close the CMD window.
Copying files from an ISO image on your PC/DVD to bootable USB manually:
Now all you need to do open the files inside the DVD or ISO, copy them and paste inside USB storage manually. This will make your USB drive bootable in Windows 10 (and older versions).