Install Windows 7 or 8 through USB

While installing operating system one thing we generally do, that is where can i get the installation cd.
We download OS image file and burn it on CD or DVD.
What if the burning fails????
I think this post will help you a lot in that case to save Discs..

The things you may need
1-> Windows 7 or 8 installation image (Available on Internet)
2-> Daemon tools (trial version would also be enough for this)
3-> Usb storage device (pen drive or any other)

Lets start...

1-> Go to any windows computer nearby. the only requirement is USB ports.
2-> Press start button.
3-> open Command prompt.
4->  Type DISKPART and press enter.

5-> Now type list disk.
       Now from the results choose your storage device from the memory.
       As in this case Disk 1 is my device.
NOTE: select your device correctly else you may get many problems.

6-> Now type Select Disk 1 (here disk 1 is my device name)
     
     CLEAN
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT FS=NTFS
(Format process may take few seconds)
ASSIGN
EXIT











7-> Now install Daemon tools if you don't have it.
8-> Add the windows 7 or 8 installation image to any virtual CD DRIVE.



9-> Now mount it (means select the virtual device and press the button which looks like           play button)


10-> Now again open the COMMAND PROMPT.
11-> Now go to the drive on which your image is mount.
        For Example:- as in this case 'I' is the drive where image is mount.
        so i will type I: 
 followed by enter (this may vary for all cases)
12-> Now type CD BOOT followed by enter
13-> Now comes the most important part type the command as it is written.
     
        BOOTSECT.EXE /NT60 H: where 'H' is the name of the device which represents the      Storage device( Change it as per your device name).

14-> Now comes the final part.
        Open My Computer Or Computer and Right click on the drive on which image is    mount and go for EXPLORE. And copy all files and paste on Your
Storage Device.

Congrats you just created bootable USB for Windows 7 OR 8