Articles from
August 2009
One of the things I really like about Windows 7 is it can be installed from a USB drive -- perhaps thanks to the rise in netbooks. This isn't anything terribly new to the world of computers, but it's always nice when you have a new feature to play with -- and, let's face it, Windows 7 is all about simplicity. When I first heard about installing from a bootable USB drive, I hoped it was going to be as simple as copying the files over. It wasn't. All-in-all, the process wasn't too bad, tho.
- Attach the USB drive
- If you have anything on the drive you want to keep, copy it off
- Click
, type and select the Device Manager option
- Expand Disk Drives
- Right-click your USB drive, click Properties > Policies
- Check Optimize for performance and click OK
- Close Device Manager
- Open Windows Explorer (Win+E)
- Select Computer, right-click the USB drive, select Format...
NOTE: Remember the total size of the USB drive and what drive letter it is assigned
- Select the NTFS file system, uncheck all format options, and click Start
NOTE: This process will take a while, so we're going to multi-task
- While the USB drive is being formatted, copy the Windows 7 DVD contents to the c:\win7 directory
NOTE: If you only have an ISO file, use 7-zip to extract contents to the target directory
- Click
, type powershell, right-click the Windows PowerShell option, and select Run as administrator
- Fine, fine... if you're not on the band wagon, run Command Prompt as administrator
- When the USB drive is done formatting, type diskpart, and press Enter
- Type list disk and press Enter
- This will return results like the following. In this case, I have a 16 GB drive as disk 1.
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 74 GB 0 B
Disk 1 Online 14 GB 0 B
- Type select disk <d>, where <d> is the disk number from the previous step, and press Enter
- Type list partition, press Enter
-
- This will return results like the following. In this case, I have a 16 GB drive as disk 1.
DISKPART> list partition
Partition ### Status Size Offset
------------- ------------- ------- -------
Partition 1 Primary 14 GB 20 KB
- Type select partition <p>, where <p> is the partition number from the previous step (most likely 1), and press Enter
- Type active, to make this partition active an press Enter
- Type exit and press Enter
- When the Windows 7 disk contents are done copying, type cd c:\win7\boot and press Enter
- Type .\bootsect /nt60 <e:>, where <e:> is the drive letter your USB drive is assigned to (i.e. e:), and press Enter
- Lastly, copy the contents of the c:\win7 directory to the root of your USB drive
Wow... 23 steps seems like a lot more than I originally realized, but it's just about going thru the motions. You'll be waiting for the USB drive to be formatted and files to be copied for the majority of the time. Once you're done, reboot and plug in your USB drive to kick off the installation. Remember to check your BIOS boot settings. If your machine isn't configured to even try to boot from USB, you won't get very far.