Create a bootable USB installer for Windows 7/Server 2008

This short guide will show you how to create a bootable USB installer containing Windows 7 or Windows Server 2008 R2 (It may work with more Windows versions, I just haven’t tried anything besides these two).

First, Make sure you have a mounted ISO or an inserted DVD containing the operating system you plan to use. Also, you’ll need a USB memory key.. 4GB should be adequate.

Open an administrative command prompt and type the following:

diskpart
list disk

Before proceeding, make sure you know which disk # points to your USB drive. You don’t want to go cleaning your system drive by mistake.

select disk 1
clean
create partition primary
select partition 1
active
format fs=fat32 quick
assign
exit

Now we need to make the USB drive bootable. E: in my example is the DVD drive containing my Windows install DVD, and Q: the USB drive.

e:
cd boot
bootsect /nt60 q:

Copy the contents of the Windows DVD to the root of your USB drive and you should be all set!

Advertisements