In this blog, We discussed How To Make Flash Drive Bootable Using CMD?

Please note that you need a flash drive with a storage capacity of 4-8 GB., 

4 GB for Windows XP, 7, 8, and 8 GB for Windows 8.1, 10 & 11,

and the downloaded iso file of Windows.

--------------------------------------------------------------------------------------------------------

Follow these steps to make flash drive bootable using CMD

1. Insert your Flash Drive and go to start. Search for CMD.

2. Right-click on it and Run as Administrator.

3. Once the command prompt is open.

Type diskpart and hit enter. It will enter into the disk partition management mode.

DISKPART

4. Type list disk and hit enter. Here you can see all the disks on your computer. It doesn’t show disk partitions but lists the connected disk to your computer.

LIST DISK

5.  After you get the list of disks, find your flash drive by size. Here mine is 14 GB which is Disk 2.

Now let’s select the flash drive by typing select disk <disk no.> e.g. select disk 2  and hit enter.

SELECT DISK

6. Once the USB flash drive is selected, type clean and press Enter.

This command will erase everything from the flash drive. Make sure it does not contain your important files.

CLEAN

7. Now, you need to make your flash drive a primary partition

Type create partition primary and hit enter.

CREATE PARTITIONS PRIMARY

8. Once the disk is a primary partition, make it an active drive.

Type active and hit enter on your keyboard. The command will activate the flash drive.

ACTIVE

9.  Now, format the flash drive.

Type format fs=fat32 quick and hit enter. This command will format the flash drive in quick mode.

The early version of Windows 10 supported FAT32, but Windows 10 versions 1903, 1909, 2004, 20H2, and later does not support FAT32.

FORMAT

10. Once the flash drive is formatted, you may not see it on This PC.

To get it back, you need to assign a literal to it, type assign, and hit enter.

ASSIGN

All done, you just made your USB flash drive bootable using cmd. 

Close this command prompt.

--------------------------------------------------------------------------------------------------------

Now, Install Windows 10 Using a USB bootable flash drive

The bootable USB is ready, you can copy the Windows files, and ready to go.

1. You must copy windows files from the PC to the flash drive. If you have a .iso file of Windows, then extract it using win rar.

Windows 10 ISO file

2. After extracting windows files, copy all files and paste them to the bootable Flash drive.

Extract Files

It may take some time to copy the files since Windows files take around 4 GB on the disk. The speed also depends on the flash drive. 

Once done, you are ready to install Windows using this flash drive. Remove and re-insert the flash disk, and it will get the windows setup icon which confirms that it is bootable media now.

Bootable drive

To install Windows with this bootable flash drive, insert it into the computer and hit the boot key. From the list of bootable devices, select your flash drive and proceed to Windows installation.

Also, Join my Telegram channel with the below link

Also, join my Whatsapp group with the below link