Welcome to TechNet Blogs Sign in | Join | Help

Jeff Alexander's Weblog

IT Pro Evangelist, Microsoft Australia

.NET Community

Australian Community

Blogs I Read

Green Technology

IT Pro Evangelists

IT Pro User Groups in Australia

Microsoft Blogs

MVP Blogs

Security Blogs

Windows 7: Setting up a USB bootable device for installs

WTB_banner_win7
These days I install, re-install and install Windows 7 again and I wanted a quicker way of doing this without having to use a DVD all the time.  Plus I wanted to be able to install x64 and x86 for both server and client.  And I have a HP Mini 2140 on loan which of course does not have a DVD drive.  So enter the humble USB key to solve this task.

You will need at least a 4GB USB key to fit the entire contents of the Windows 7 DVD.  In Australia you can pick these up for under $25 now so it’s not a huge outlay.  We have a bunch in the office as part of a promotion so I have one for x86 and x64.  So the next thing you are going to need to do is format this disk using DISKPART.  Follow the steps below:

  1. Insert the Windows 7 DVD into the optical drive on your computer.
  2. Insert the USB drive and make sure you can see it in explorer.
  3. Run DISKPART – I’ll use screenshots to explain the rest of the steps.
  • At a command prompt type DISKPART

diskpart1

  • Now before you do anything else make sure you have inserted the USB drive and you can see it in explorer.

diskpart2

  • Type LIST DISK to see a list of available disks

diskpart3

  • Type SELECT DISK 3 ( in my case it happens to be disk 3)

diskpart4

  • Type CLEAN which will wipe the disk

diskpart5

  • Type CREATE PARTITION PRIMARY

diskpart6

  • Type SELECT PARTITION 1

diskpart7

  • Type ACTIVE to make this partition the active partition.

diskpart8

  • Type FORMAT FS=FAT32 (wait for it to get to 100% complete)

diskpart9

Type ASSIGN so a drive letter gets assigned in explorer.

diskpart10

Now you should have a USB disk ready for the Windows 7 source files.  If you have the DVD load that into your DVD drive and copy the entire contents to the root of the USB drive.  Once that is done you will have a bootable USB disk ready for you to build your machines much much faster with Windows 7.

I find this a useful and quick way to get machines build and it’s portable as well!

Technorati Tags: ,,

Jeffa

Posted: Wednesday, April 22, 2009 9:26 PM by jeffa36

Comments

The TechNet Australia Blog said:

Windows 7 Release candidate will be available to MSDN and TechNet Plus Subscribers on April 30th. 

# April 26, 2009 8:04 PM

mad monkey said:

Hi,

I'd like to know how to do this if you still have XP as your original system and not VISTA?

cheers

MM

# April 29, 2009 3:26 AM

Hubert Lam said:

Would the speed of the USB drive matter?

I have a 4GB Kingston that is quite slow -- copying files to the USB would only max out at around 3MB/sec.

# April 29, 2009 10:23 PM

RJay said:

Thanks for the tutorial - it worked perfectly as advertised.

On a similar note - can you actually install Windows 7 onto a bootable usb stick? I work with virtual machines a bit for testing and whatnot and it'd be pretty handy to have use a usb key with windows 7 on it that worked across different hardware.

Ideally i'd like to be able to take it with me between a couple of machines with fairly similar hardware - if i had the drivers slipstreamed in would that work?

# April 30, 2009 10:06 PM

Leebee said:

@mad monkey.  You can download DiskPart for XP from microsoft's website.  Its a free "Genuine Advantage" tool I believe (IE you can download it so long as your copy of XP passes as legal)

@everyone else.  I have tried this on a number of different USB Sticks on a Compaq PC, it doesnt seem to work on Compaqs as it reads USB Sticks as USB FDD's.

Also, you might have better luck with NTFS formatted USB stick (yea yea I know your not ment to do that, but its ok for this).  Format the USB stick as NTFS, copy all the files from the root of the DVD to the USB stick, then goto a command prompt

[USB stick letter]:\

cd boot

BOOTSECT /nt60 [your USB Drive letter]:

(E.G. "BOOTSECT /nt60 G:")

Then boot from USB.

# May 6, 2009 7:13 AM

Ruben Colomo said:

Te ha pasado que quieres instalar Windows 7 RC en una laptop o PC pero te encuentras con que no tienen

# June 11, 2009 3:40 PM
New Comments to this post are disabled
Page view tracker