Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
How to install windows 7 RC from a USB disk?

How can I create a pen drive installer for Windows 7 OS from the installation DVD (in fact I have iso). I have tried it many times from the various links posted in forums, but it's never worked out. Please share the steps/information/links if it's worked out for you.

share|improve this question

marked as duplicate by TheTXI Jul 29 '09 at 13:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 3 down vote accepted

Creating Bootable Vista / Windows 7 USB Flash Drive

This will walk through the steps to create a bootable USB flash drive for the purpose of installing a Vista or Windows 7 OS. These instructions assume that you have a computer with Windows Vista installed on it.

Required:

  • USB Flash Drive (4GB+)
  • Microsoft OS Disk (Vista / Windows 7)
  • A computer running Vista / Windows 7

Format the Drive

The steps here are to use the command line to format the disk properly using the diskpart utility. (Be warned: this will erase everything on your drive. Be careful.)

  • Plug in your USB Flash Drive
  • Open a command prompt as administrator (Right click on Start > All Programs > Accessories > Command Prompt and select “Run as administrator”
  • Find the drive number of your USB Drive by typing the following into the Command Prompt window:
    • diskpart
    • list disk
  • The number of your USB drive will listed. You’ll need this for the next step. I’ll assume that the USB flash drive is disk 1.
  • Format the drive by typing the next instructions into the same window. Replace the number “1” with the number of your disk below.
    • select disk 1
    • clean
    • create partition primary
    • select partition 1
    • active
    • format fs=NTFS
    • assign
    • exit
  • When that is done you’ll have a formatted USB flash drive ready to be made bootable.

Make the Drive Bootable

Next we’ll use the bootsect utility that comes on the Vista or Windows 7 disk to make the flash drive bootable. In the same command window that you were using in Step 1:

  • Insert your Windows Vista / 7 DVD into your drive.
  • Change directory to the DVD’s boot directory where bootsect lives:
    • d:
    • cd d:\boot
  • Use bootsect to set the USB as a bootable NTFS drive prepared for a Vista/7 image. I’m assuming that your USB flash drive has been labeled disk G:\ by the computer: bootsect /nt60 g:
  • You can now close the command prompt window, we’re done here.

Copy the installation DVD to the USB drive

The easiest way is to use Windows explorer to copy all of the files on your DVD on to the formatted flash drive. After you’ve copied all of the files the disk you are ready to go.

Set your BIOS to boot from USB

This is where you’re on your own since every computer is different. Most BIOS’s allow you to hit a key at boot and select a boot option.

share|improve this answer
    
thanks! will try out and reply –  darthvader Jul 29 '09 at 12:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.