To create a bootable USB drive manually, we will use the Command Prompt as a Windows default program. Here are step by step to create a bootable USB drive as the Windows installation media. To create a bootable USB drive as a Windows installation media, we require at least 4 GB minimum capacity USB Flash Drive / Pen Drive. Larger capacity is better.

Create a bootable USB drive using DOS Step by Step:

Insert your USB flash drive to your running computer. As the first step, we need to run Command Prompt as administrator (Start> run> cmd> run as administrator mode) To do this, we need to find cmd by typing ‘cmd’ in the search box on Windows Start Menu. After search result for ‘cmd’ appears, right click on it and select “Run as administrator”.


  • STEP 1
  1. Type ‘diskpart’ on Command Prompt (without quotes) and hit Enter. Wait for a while until the DISKPART program run. Type ‘list disk’ to view active disks on your computer and hit Enter. There would be seen that the active disks shown as “Disk 0” for hard drive and “Disk 1” for your USB flashdrive with its total capacity.
  2. Type ‘select disk 1’ to determine that disk 1 would be processed in the next step then hit Enter.
  3. Type ‘clean’ and hit Enter to remove all of data in the drive.


  • STEP 2
  1. Type ‘create partition primary’ and hit Enter. Creating a primary partition and further recognized by Windows as ‘partition 1’.
  2. Type ‘select partition 1’ an hit Enter. Choosing the ‘partition 1’ for setting up it as an active partition.
  3. Type ‘active’ and hit Enter. Activating current partition.


  • STEP 3
  1. Type ‘format fs=ntfs quick’ and hit Enter. Formatting current partition as NTFS file system quickly. (Avoid “Quick” for complete format but it takes lot of time to format your USB flash drive)
  2. after successfully formatted the volume Type “Assign”
  3. Type ‘exit’ and hit Enter.


Leaving DISKPART program but don’t close the Command Prompt instead. We would still need it for next process.

Creating Boot Sector

Let us assume that the flash / USB drive is the D: drive and the DVD installer located on drive F :. The first step, we will navigate Command Prompt to set installation DVD as its active directory.

By default, Command Prompt’s active directory for Administrator permission is on C:\Windows\System32>. We will navigate Command Prompt to set on DVD (F:) (* Change “F:” to your DVD drive letter)  as its active directory. Just type ‘f:’ then hit Enter, and the active directory changed to F:.

  1. Type ‘cd boot’ and hit Enter.
  2. Active directory changed to F:\boot>.
  3. Type ‘bootsect /nt60 d:’ and hit Enter. Creating boot sector on D: drive (USB flash drive).

Type ‘exit’ and hit Enter to close the Command Prompt. Until this step we have made a bootable USB drive sucessfully, and the flash drive is ready to be used as a boot media.

  • Last and final Step: 

Copying Installation Files

To install Windows from a bootable USB drive, we just need to copy the whole installation files contained on the DVD installer to flash drive.

Wait until all the files in the DVD installer copied to the flash drive. Now bootable USB drive is ready to be used for installing Windows from flash drive and you’re done !

Connect to the PC where you want to install the windows 7 Operating System and boot your PC in USB flash drive mode and complete the widows installation.