Recently I was in need to setup some new hardware and I’ve found myself doing this procedure over and over (because I am a cheap b*****d and I only own few USB pen drives Open-mouthed smile) again. So even if there are plenty of posts out there offering more or less the same content, I’ll write it down here as a reminder to myself.

Consider you can use this very same procedure to create a bootable USB flash drive to install any Microsoft Windows OS (from Vista to 2008 Server R2).

Prepare and Format the drive

You can do these first steps in several way, I prefer to use the diskpart command line utility; BE CAREFUL HERE! If you do something wrong you may easily wipeout you disks! 

  1. Open a command prompt as administrator (Right click on Start > All Programs > Accessories > Command Prompt and select “Run as administrator”)
  2. type the following commands into the Command Prompt Window:


      list disk

    This will bring up a list of all your physical drives installed; look for your USB drive and take note of the number; if you have multiple USB drives attached I suggest you to disconnect them all but the one you want to use: the only way to identify the drive is looking at the drive’s size in this step, having multiple USB drives with the same capacity is not good!
  3. Format the drive by typing the following commands into the same window. Replace “X” with the number of your disk.

    select disk X


    create partition primary

    select partition 1


    format fs=NTFS



    At this stage we have a clean formatted USB with an active partition ready to be made bootable. Some guides will tell you to format the pen drive using FAT32, I always prefer to use NTFS especially to create bootable winpe drives to use the imagex.exe utility to clone systems, in this scenario we can easily break through the FAT32 file size limit.

Make the drive bootable

To make the drive bootable we will use the bootsect utility that comes along with any Microsoft Windows OS:

  1. Insert your OS DVD.
  2. Change directory to X:\boot (where X is your dvd drive).
  3. Type the following instruction to make the drive bootable (now ‘X’ is your pen drive).

    bootsect /nt60 X:
  4. Close the Command Prompt Window.


The last step is copy all your installation files from the DVD (or ISO) to your newly created bootable USB flash drive.

If you do not want to do everything by hand, there’s a tool from Microsoft you can use to do the very same work: Windows 7 USB/DVD download tool.