How to Make Bootable USB Using CMD

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.

1. How to Create Windows 11 Bootable USB for Supported or Unsupported Hardware?
2. How to Make Bootable USB for any OS using Rufus?

Create Bootable USB Drive Using Command Prompt

The Diskpart utility in Windows allows you to modify file system on disk drives. So, we will use Diskpart in Command Prompt to make our USB stick bootable.

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:.

Insert Windows Dvd Or Mount Iso And Insert Usb Drive
Insert Windows DVD or Mount ISO and Insert USB Drive

1. Get Windows 10 ISO Download Links from Microsoft Website?
2. How to Upgrade your PC to Windows 11?

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.

Search For Cmd On Start And Click Run As Administrator To Open Command Prompt With Admin Rights
Open Command Prompt with Admin Rights

Next, launch DISKPART utility in Command Prompt. Type following commands one by one and press Enter after each command.

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.

Run Diskpart And Select Usb Disk From List Disk
Run DISKPART and select USB Disk from List Disk

1. How to Launch Command Prompt in any Folder?
2. A to Z List of Windows CMD Commands – PDF Download Available.

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.


Type following commands one by one and press Enter.

create partition primary
select partition 1
Clean Usb Disk And Create Primary Partition to make bootable usb using command prompt
Clean USB Disk and create Primary Partition

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
Format The Partition And Mark As Active To Make Bootable Usb Using Cmd
Format the Partition and mark as Active

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.

SEE ALSO: How to Format Corrupt SD Card or USB Drive using Chromebook Recovery Utility?

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.

Copy Windows Files To Usb Drive To Make It Bootable Using Cmd
Copy Windows Installation files to USB Drive

1. How to Setup your Computer to Boot from USB Drive?
2. How to Create Multiboot USB Disk using YUMI?

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.

Editorial Staff

Hi there, we are the editorial staff at WINDOSPC (former HELLPC). We are a team of funny and technical people. Feel free to get in touch with us via Contact-Us page.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button