M-A's

technology blog

Tuesday 22 September 2009

usb key windows install

These days I install Windows 7 often but I can't help to remember the steps from Vista:

Open an elevated command prompt:
diskpart
list disk
select disk 2   <- choose usb key!
clean
create partition primary
select partition 1
active
format fs=fat32 quick
assign
exit
xcopy /h /e /q path\to\uncompressed\iso e:\   <- choose usb key!
All this can be done through GUI with Computer Management / Disk Management. Choose an open source program in http://en.wikipedia.org/wiki/List_of_ISO_image_software for the iso extraction.

No comments: