As we all know there is various easy and simple software available which will let us to a bootable pendrive easily. We can mention some software that is widely use, that are Win 32 Disk Imager, UNetBootin, Rufus, etc. But sometimes they can’t get the things done when you really want them to or sometimes you don’t have them. So, here we are going to learn how to create bootable pendrive using cmd(windows command prompt).

Also, note that you can only create bootable pendrive for Windows Vista and later (7/8/8.1/10) using the command prompt. If you are looking to make bootable pendrive for Windows XP or any Linux Distribution, you will have to use third party tools.

Steps to Create Bootable Pendrive using CMD

CMD is available on all of the windows computers, so you would not have to worry about downloading any new package or software to make your pendrive bootable. It is a bit lengthy process but it traditional method and always works:

  1. Run cmd(Command Prompt) as Administrator. (This is an important step because you are going to edit disks which require admin privileges)There are several ways to open a command prompt with admin rights:i) Press Windows + X and select Command Prompt(Admin).
    ii) Open start menu, search cmd, right click and click run as administrator.
    iii) Open task manager, click on file -> new task, tick Create this task with administrator privileges, type cmd and hit enter.
  2. Connect your pendrive to your computer.
  3. Type disk part and press enter. (This will open the windows inbuilt disk part utility which is used to manage the storage on your computer)DiskPart CMD
  4. Type list disk and press enter. This will list all the storage device available on your computer.DiskPart CMD - List Disk
  5. Choose your pendrive. For that type select disk 1 and press enter. (Here it is disk 1. In your computer it may differ so choose wisely)DiskPart CMD - Select Disk
  6. Type clean and press enter. This will erase all data from your pendrive.DiskPart CMD - Clean Disk
  7. Type create partition primary and press enter.DiskPart CMD - Create Primary Partition
  8. Type select partition 1 and press enter. This will choose the partition we just created.DiskPart CMD - Select Partition
  9. Type format=fs NTFS quick and press enter. This will perform a quick format with the NTFS file system. (Windows use NTFS file system for storage)DiskPart CMD - Format NTFS
  10. Type active and press enter. This will mark your primary partition as active.DiskPart CMD - Mark Partition Active
  11. Type exit and press enter to exit disk part and then close the command prompt.DiskPart CMD - Exit
  12. Now copy all the data from Windows installation disk to your pendrive.
  13. Now your pendrive is bootable having desired windows installation.
Translate »