Installing Windows from CD or DVD has become old fashion. And most of the new motherboards support booting from USB drives. Additionally, bootable USB Drives are more portable and easy to handle. So, in this tutorial we are going show you how to make bootable USB using Command Prompt or cmd.
This method doesn’t require any third party software. You just need command prompt utility which is already available in all versions of Windows, a USB drive of required size and Windows’ ISO file. You can also use Windows setup files copied on any other drives. Let’s proceed.
SEE ALSO: How to Make Bootable USB using Rufus?
Create Bootable USB Drive Using Command Prompt
Step 1: Insert USB and Mount ISO File on Your PC
Insert USB drive in USB port and Windows DVD into DVDROM. You can also use Windows’ ISO file instead of CD/DVD. Just double-click on ISO file to mount it.
Next, note down the drive letters of both USB Disk and DVD drive (or mounted ISO file’s drive). In our case USB drive has letter E: and mounted Windows ISO has drive letter F:.
Step 2: Launch DISKPART in CMD and Select USB Drive
Now, go to Start and search for
cmd. Click Run as Administrator to launch Command Prompt as administrator. We will use CMD prompt to make bootable USB for Windows.
Next, launch DISKPART utility in Command Prompt. Type following commands one by one and press Enter after each command.
diskpart list disk select disk 1
The disk number of USB drive is 1. So, we have used select disk 1 command. It may be different for you.
Step 3: Clean the USB Drive and Create Primary Partition
Now, we are going to wipe clean your USB disk. After cleaning the USB drive, we will create a primary partition on it. Only primary partition can used to create bootable USB. Once primary partition is created, select the partition for further steps.
NOTE: THIS WILL DELETE ALL DATA ON YOUR USB DRIVE. IF YOU HAVE ANY IMPORTANT DATA ON USB DRIVE, THEN TAKE IT’S BACKUP BEFORE PROCEEDING.
Type following commands one by one and press Enter.
clean create partition primary select partition 1
SEE ALSO: 10 Cool Command Prompt Tricks for You.
Step 4: Format the USB Drive and Mark it as Bootable
After you have successfully created and selected primary partition on USB drive, it’s time to format it. We will format it using NTFS file system. After formatting, we will mark the USB drive as active to make it bootable using cmd. You can exit DISKPART after that. Just type following commands and press Enter every time.
format fs=ntfs quick active exit
INFO: NTFS file system supports Legacy boot (BIOS). But if your system supports UEFI, you should format the USB drive using FAT32 file system. Use
format fs=FAT32 quick command to format USB using FAT32 file system.
Step 5: Copy Windows Files to USB Drive
Now, you have successfully created bootable USB drive using Command Prompt. It’s time to copy Windows installation files to USB drive. So, you can close the Command Prompt now.
After that open DVD drive or mounted Windows’ ISO. From there, select and copy all files/folders to USB drive.
Make Bootable USB using Command Prompt
Now you can install Windows from this USB drive. However, this method may not be feasible for everyone as not many people are handy with command prompt. For installing Windows from bootable USB drive, you have to setup your computer to boot from Removable Media i.e. USB drive. Check this tutorial for making necessary changes to BIOS settings.
You can also use Rufus to make bootable USB drive if you don’t want to get your hands dirty with CMD commands. Check this tutorial to make bootable USB using Rufus. Feel free to comment if you face any troubles.