Windows USB install drive

McRat

Diesel Hotrodder
Aug 2, 2006
11,249
26
38
64
Norco CA
www.mcratracing.com
Note to self:
To do this, you'll need a USB memory stick (or hard drive, if you prefer) with a capacity of at least 4 GB that you are willing to wipe clean, and a Windows install disc, or at least a source for the install files: a mounted ISO image works just as well. I use Virtual CloneDrive for mounting ISOs.

The process is remarkably simple: partition and format the memory stick, and then just copy the files onto it. Oh, and if you're not using Windows 7 to format the memory stick, you'll need to run a special command to make it bootable. Step by step:

1.Plug in the memory stick and make sure Windows recognizes it.
2.Insert your Windows 7 DVD or mount its ISO image. Dismiss any dialog boxes/setup windows that may appear when you do this. Make sure you know the drive letter used by your DVD drive.
3.Start up a command prompt as an Administrator. If you're using Windows Vista or Windows 7 with UAC enabled (and you should be), you'll need to make sure the command prompt is elevated; right click the Command Prompt icon in the Start menu and choose "Run as administrator" to do this, clicking through the UAC prompt as necessary.
4.At the command prompt, type diskpart to start the Windows disk partitioner.
5.Type list disk to list all the disks in the system. Each disk is given a number. One of them should be your USB memory stick; most likely, you'll be able to recognize it by its size. You want to make absolutely sure you have the right disk number, or else you are going to lose some data.
6.Type select disk x, where x is the number of your memory stick.
7.Type the following commands in order. These commands create a partition on the disk, and mark that partition as being one that the system can boot from.
◦clean
◦create partition primary
◦select partition 1
◦active
◦format fs=ntfs
◦assign
◦exit
8.After you typed assign, an autorun window probably appeared; take a note of the drive letter newly assigned to your memory stick, and dismiss it. If autorun is disabled, take a look in Explorer to see which letter was assigned.
9.If you're not using Windows 7: type y:, where y is the drive letter of the drive containing your Windows 7 DVD.
10.If you're not using Windows 7: type cd boot
11.If you're not using Windows 7: type bootsect /nt60 z:, where z is the drive letter assigned to the memory stick.
12.Close the command prompt window.
13.In Explorer, copy everything from the Windows DVD to the memory stick.
 

C.C.Reed

New member
May 1, 2008
91
0
0
Good guide. :thumb:

I did it this way at first. Now, I use Novicorp WinToFlash and it does it all for you. . . 'cause I'm lazy and I just use whatever flash drive is close.

I have had problems when using WinToFlash with my commercial license-free version of XP Pro x64 though. Not sure what is different but I usually have to enter the Recovery Console and rebuild the boot.ini file manually after the 2nd or 3rd restart. It works fine for a couple of times then hangs. It's really odd. When using Win 7 Ultimate 64, I haven't had any problems.
 

Poltergeist

Ghost in the Machine
Aug 1, 2006
29,563
1
36
Ontario, Calif.
www.poltergeist.us
I did something similar with Unbunto Netbook edition for my netbook. I can boot and run it off of an 8gig (or maybe its a 4gig) stick in case my hard drive dies on me. I'm thinking about doing a Win7 stick in case I need to re-install the Win7.