How to make pendrive bootable using CMD for windows 7/8/10
Venkatesh GeddamLast Updated On: March 7, 2020
How to make pendrive bootable using cmd – If you don’t want to use windows disk for booting your PC Or not interested in using any software to make the pendrive bootable, this tutorial is for you. The system setup files may get hampered in disk so it is a good option to make pendrive bootable using cmd. But for that you have to get a pen drive of at least 4GB of storage. This much of the storage is essential for your work to be done in a seamless manner. Apart from that your system should be updated and fast and all the essential system files should be there in your computer.
First of all, make sure that your computer is working properly and it does contain all Windows setup files so that they can be transformed on your pen drive. Follow the steps below to make your pendrive bootable.
Steps to make Pendrive bootable using CMD
Step 1: You need to open the command prompt in elevated mode (Run as administrator). To do this, click on windows button and search “CMD”. Once the CMD pops up, right click and click on run as administrator.
Another option is to search for accessories in your system and find command prompt and this is the best option. Right click it and click on “run as administrator”
Step 2: Next step after opening CMD is to open the disk management utility. You can do this by entering the command “diskpart”. This is the major step in this process as we are dealing with the partitions. See the image below to understand better. Make sure you type “diskpart” in small letters inorder to avoid any errors and click on enter to proceed with the next step.
Step 3: After entering into the diskpart utility, the next command would be “list disk” which will list all the available disks (the pendrive or USB which you will insert will be shown as a disk). Type “list disk” and press enter.
Step 4: In the above case, Disk 1 which is of 32gb is our USB drive. Since you listed all the available disks, you should select the one in which you want to place the windows setup files. For doing that type “select disk #” and press enter. # is the disk number which you wanted to select. In the above case it is 1 so you type “select disk 1” and press enter. The respective disk will be selected.
Step 5: Now type “clean” and press enter. This command will make the USB drive empty or in other words it will remove the complete data from the USB drive.
Step 6: Once we are done with the step 5, we need to create the partition as primary. To do this, type the command “create partition primary” and press enter. This command will create pendrive partition as partition 1.
Step 7: After creating, it’s time to select the partition. Type the command “select partition 1” and press enter. Partition 1 will be selected.
Step 8: After selecting the partition, you have to format that particular partition. To do this, type “format fs=ntfs quick”. This command will quickly format your pendrive in NTFS format.
Step 9: Now you have to make the selected partition active. To do this type “active” and press enter. Now since you are done with all the steps, type “exit” and press enter which will exit you from the diskpart utility.
Once you completed all the above 9 steps, copy all the windows files from the windows ISO file or windows DVD to your Pendrive and use it for booting purpose. Make sure you change your boot device priority to USB in boot device options otherwise the system won’t detect the windows installation files from USB.
Conclusion: Please follow the above steps and make pendrive bootable using cmd. You can also boot your flash drives using softwares easily but this process is for the people who find it difficult to install software on their system. SO if you have questions or doubts, please feel free to comment below.