After failing at this so many times using boot loaders and an whole bunch of software that claim to make a bootable usb pen drive, I will show you an easy but yet very effective way on making a Bootable USB pen drive using the Command Prompt. The main purpose of doing this is to install Windows 7 on notebooks or simply any PC/ Laptop that has a bad CD drive and that supports booting from a USB port. Also to avoid installing a bunch of software that you will only use once or twice...

What we need:
-Administrative Rights.
-USB Pen Drive (We need one being at least 4GB or more, this is due to the size of Windows 7 installation files)
-PC/Laptop running Windows 7.
-Windows 7 DVD or ISO mounted using Daemons tools.

OK let's get started...

-Step 1 .. Open "CMD.exe"
a- Right click on Start and on the search box type CMD then hit ENTER.
b- Under "Programs" Right click on CMD and choose "Run as Administrator" Command Prompt window will appear
- or -
- Right click on Start > All Programs > Accessories > Command Prompt and select “Run as administrator”


Step 2 ... Lets partition the usb drive and format it.
- Type the followng

DISKPART (enter)


LIST DISK (enter)


SELECT DISK 1 (Replace “DISK 1 with your USB drive’s disk number, For example: If your usb is 4GB,
and Disk 1 shows 4000mb disk size, then type SELECT DISK 1, as that is your usb drive)


CLEAN


CREATE PARTITION PRIMARY


SELECT PARTITION 1


ACTIVE


FORMAT FS=NTFS (Format process may take a few minutes, depending on the size of the USB drive)



ASSIGN (This assigns a Letter to the drive ie: "F:" )


EXIT (Exits DISKPART)


We have now formated and prepared our Pen Drive for the next step ... To make it Bootable!!! .. (don't close the CMD window we still need this...)

-Step 3 ...

-Before we continue, insert your Windows 7 DVD in the DVD Rom, or Mount it using Daemon Tools Lite..
-Now lets go back to the command prompt window and type the following commands...

D: CD (Assuming that D: is the DVD drive letter) And hit Enter.


CD D:BOOT


BOOTSECT /NT60 F: (Assuming that F: is your USB drive letter) And hit Enter.


You have a Bootable Pen Drive, Now lets get to the last step. Adding all the installation files from your DVD to the removable device.

-Step 4 ...
Same command prompt window ..
Type -

XCOPY D:*.* /S/E/F F: (Again D: = DVD drive, and F: = USB Drive) And hit Enter.


Wait for DVD contents to copy to USB.



That is it!! You now have a Bootable USB Pen drive with all the installation files for Windows 7 ready to plug in and install to your notebook...

-End Result ..



This is my first post here, I hope it saves you a whole bunch of headaches when trying to install Windows from a USB port ...