How to make a pendrive bootable using cmd (command prompt)

Sometime we don’t have bootable window disk or there may be some problem in CD drive , in both cases we need a bootable pen drive in order to  install window through USB port.There are many softwares available to make a pen drive bootable but why  to use third party softwares when we can get it done through simple commands.

In this tutorial I am gonna show you how to make a pen drive bootable using cmd (command prompt). Here are simple steps to get it done:-

Step 1. Search command prompt(cmd) ,right click on it and run it as administrator

Step 2. Type diskpart and press enter

Step 3. Type list disk and enter. It will list disks with number such as disk 1 or disk 2 as shown in the image below

In the image disk 0 is for hard disk and disk 1 is for pen drive.Which disk number is for pen drive can be identified by looking for its size.

Make a pendrive bootable using cmd
Step 4. Now type select disk 1 in order to select your pen drive

note:-if your pen drive is disk (any number) then you will type select disk (that number)  and hit enter

Step 5. Type clean and hit enter

Step 6. Type create partition primary and hit enter (see image below)

Step 7. Now type select partition 1 in order to select primary partition.

Step 8. Now type active to make  selected partition active.

make a pendrive bootable using cmd

Step 9. Now type format fs=ntfs and hit enter to format your pen drive. If your pen drive is 4gb or lower then type format fs=fat32

It will start formatting your pen drive. This step may take several minutes.

make a pendrive bootable using cmd

 Step 10. Type assign and hit enter.

last step. At last type exit command.

Your pen drive is now ready to use. Copy all the content of window disk from your computer and paste inside the pen drive. You can install window using this pen drive now.

Thank you for visiting my blog.



1 thought on “How to make a pendrive bootable using cmd (command prompt)”

Leave a Comment

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

Scroll to Top
Share via
Copy link
Powered by Social Snap