Making a Bootable Windows 7/Vista/8/10 Pen Drive using DISKPART

Did you know that installation of Windows 7/Vista is a lot quicker (5 to 15 minutes) when done from a pen drive in comparison to a DVD. Here is how you can easily make your pen drive bootable with a Windows 7/Vista installation.
First up you will need a pen drive (At least 4 GB, 8 GB recommended), Windows 7/Vista DVD (Or its ISO image) and a computer running Windows Vista/7. Now follow the steps exactly as described below:

1. Backup your pen drive data as everything will be erased from it during the process
2. Connect the pen drive with computer and Go to Start Menu. Type cmd in the search box and press “Ctrl” plus “Shift” plus “Enter” (To run Command prompt as an administrator). Confirm if prompted.
3. At the opened command prompt type diskpart (Diskpart is a useful utility in Windows to manage the Disk drives of computer) and press enter
4. Now type the following commands exactly one by one (Press “Enter” after each command)

list disk
select disk 1
clean
create partition primary
select partition 1
active
format fs=ntfs
assign
exit

Format command will take some time. Minimize the command prompt window
5. Insert the Windows DVD into computers CD/DVD drive, go to “My Computer” and note the DVD drive letter (It is G: in my case) and USB pen drive letter (J: in my case)
6. Open the command prompt window that you minimized in step 4 above and type the following commands (Press “Enter” after each command)

G: cd boot
cd boot
bootsect.exe /nt60 J:

(Where G is the CD/DVD drive letter and J is the USB pen drive letter)
This will copy the boot code from Windows DVD to pen drive. Now your pen drive is bootable, just one more steps left.
7. Go to “My Computer” and open the “Windows DVD”. Copy the entire DVD contents and paste in the pen drive. That’s it now you are ready to install Windows by this pen drive!

To install Windows just plug in the pen drive and restart the computer. Now change the “Boot order/priority” in BIOS to make the USB drive as the first choice before HDD or CD ROM (To access BIOS, press “Del” or F2 key repeatedly at computers startup). Also enable the “Boot from USB” option in BIOS settings if the option is present. Save the Settings and proceed as usual. When the Windows setup completes the first step (Loading and copying files etc) and restarts the computer first time you will have to again change the Boot order/priority in BIOS to make the USB drive after/below HDD and CD ROM otherwise the Windows setup will start over once again.
That’s it folks….

No comments yet.

Leave a Reply