How To Create Bootable USB (Using Cmd Command Prompt)


Share on facebook
Share on google
Share on twitter
Share on linkedin

Create a Bootable USB using cmd

Creating bootable USB without any software in Windows 10 is the cleanest and easiest way to make a bootable USB without errors. Just follow the steps below to create a bootable USB drive which you can use to install Windows on your machine.

Creating a USB pen drive using a command prompt is not hard, it is one of the most common ways to create a bootable USB.

This method does not work if your operating system is windows XP or windows 8, you cannot select the primary partition in command prompt.

You just need to follow these simple steps:

  1. Insert your USB flash drive to your computer.
  2. Search for ‘cmd’ in Windows 10 from the taskbar, Command Prompt will appear. Alternatively, you can also open the  Command Prompt by pressing windows+R at the same time and typing in ‘cmd’ in the ‘Run’ window and hitting enter.
  3. Right-click on Command Prompt and select ‘Run as Administrator’ in case you have searched for cmd in the Windows 10 Taskbar.
  4. Once the Command Prompt window appears, type diskpart and hit enter. Wait until the diskpart utility runs in another window.
  5. 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.

  1. Disk 0 for hard drive and,
  2. Disk 1 for your USB Flash Drive with its total capacity.

Since we are going to work on to create a bootable USB drive, we will work with Disk 1.

  1. Type select disk 1 in the same windows 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.
  2. 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’.
  3. Type create partition primary and hit Enter. You will get a message as Diskpart succeeded in creating the specified partition.
  4. Type select partition 1 and hit Enter. It will choose partition 1 for setting up it as an active partition.
  5. Type active and hit Enter. It will activate the current partition.
  6. Type format fs=ntfs quick and hit Enter. This command will format your current partition as NTFS file system quickly.
  7. After the format is done you have to continue Type assign (now you will notice that the USB drive changed its letter to (H): or (G))→exit (this command will exit the disk part function)
  8. Type exit and hit Enter. The exit command will close the Diskpart program. But do not close the command prompt Windows.


Steps to Create Bootable Pendrive using CMD


Copying files from an ISO image on your PC/DVD to USB manually:

Now you have to copy all the files in the windows folder to your USB drive.  This will make your USB drive bootable.
Now bootable USB drive is ready to be used, You can now restart your pc and boot from the USB hard drive.

Interested in Web Development, Designing & SEO services for your website? Get Free Consultation.