Tuesday, April 27, 2010

Install Windows 7 from USB flash drive

1. Remove all data from USB flash drive

2. On Vista or Windows 7 PC
Open Command Prompt with Admin rights
(Start -> All Programs -> Accessories -> right click Command Prompt and select Run as administrator)

3. On Command Prompt windows, execute follwing commands in capital letters in exact sequence they are listed

DISKPART

LIST DISK (To identify disk number of USB stick, for this example we will assume that USB stick is Disk 1)

SELECT DISK 1

CLEAN

CREATE PARTITION PRIMARY

SELECT PARTITION 1

ACTIVE

FORMAT FS=NTFS QUICK

ASSIGN (this will assign drive letter to USB stick, we will assume that USB stick drive letter is H:
you can find out drive letter from windows explorer)

EXIT (do not close command prompt window yet, we need to execute following three more commands)

(Insert your windows 7 DVD into the optical drive and check drive letter of DVD drive, we will assume that
drive letter of DVd drive is D:. Continue with following commands)

D:

CD BOOT

BOOTSECT.EXE /NT60 H: (this will update BOOTMGR compatible code on USB drive)

4. Copy everything from Windows 7 DVD to USB stick.

Done.... (Boot from USB drive and install Windows 7 like you do from optical drive)

No comments:

Post a Comment