How to make bootable pen-drive for windows using command line

For creating bootable usb drive we can use command prompt to make usb as bootable device without any software and using this bootable usb drive you can easily install windows operating system on your Laptop / PC . To create a bootable USB drive as a Windows installation media, we require at least 4 GB for minimum capacity. Larger capacity is better.Here are step by step to create a bootable USB drive as the Windows installation media


Steps to create bootable USB drive

Step. 1: Open your command prompt with “Run as administration” option

Step. 2: Write command Diskpat and hit enter.

Step. 3: Write command list disk and hit enter.

Step. 4: Now your usb device will appear with status size etc.



Step. 5: Write command select Disk 1 and hit enter.

Step. 6: Write command Create partition primary and hit enter.

Step. 7: Write command Select partition 1 and hit enter.

Step. 8: Write command Active and hit enter.

Step. 9: Write command Format fs = ntfs and hit enter and wait to get it 100 percent
a2

Step. 10: Write command Assign and hit enter

Step. 11: Write command Exit and hit enter and you will exit from diskpart

Step. 12:Now go to your local system drive where you have window 7 setup.
command to switch between drive Drive_Name: and hit enter i.e. D:
commmond to comeout from folder cd.. and hit enter
command to select folder cd folder’s name first later and press TAB and select your folder.
for example: if i am in C drive in command prompt and i wanna to go in D drive to select my folder Test
then my command will be :
D: and enter // to move in D drive
D T and Tab //to select the folder Test

Step. 13: After selecting your window7 setup folder write command CD BOOT E.g: D:\windows7\boot>

Step. 14: Now write the command BOOTSECT.EXE/NT60 D: if your drive is D
a3

Step. 15: Now copy all the files(by selecting CTRL+A) of window 7 folder into your pendrive

Cheers your pendrive is bootable now 🙂



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.