1.Type diskpart inside the command prompt and hit ENTER.
2.After last step type list disk inside the command prompt and hit ENTER. 3.This will show all disk connected to the system like DISK 0, Disk 1, and so on with Status, Size , Free etc.. We can recognize the pen drive with size. Disk 0 will be the system disk in which the windows OS is installed. In this tutorial Disk 1 is the pen drive (3855MB=4GB). This pen drive is going to be a bootable pen dri ve. Type select disk 1 inside the command prompt and hit ENTER. It will select the disk 1 (pen drive) for all coming steps. 4.Type clean and hit ENTER. It will erase all the data from the pen drive. 5.Type create partition primary and hit ENTER. It will create a primary partition in pen drive. 6.Type select partition 1 and hit ENTER. It will select the partition created in the last step. 7.Type format=fs ntfs quick and hit ENTER. It will format the pen drive quickly with NTFS file type. 8.Type active and hit ENTER. It will make partition as active for booting after rest arting the computer. If this is step is missed then computer will not boot from the pen drive. 9.Type exit and hit ENTER to close the diskpart and close the command prompt window 10.Now the pen drive has become bootable. Now all the files from root of Windows operating system setup DVD or ISO has to copy inside the pen drive root. So open the Windows setup file from DVD or ISO and copy all file by selecting wi th Ctrl+A and paste it inside the pen drives root folder as shown in the figure. 11.After complete copy, the pen drive will be a bootable for Windows 7 and Windo ws 8 OS completely. You just need to Restart your computer. Restart your computer. W hen BIOS screen appears then press F12 key. It will show the options to boot from CD/DVD drive, hard disk and pen drive. Just scroll down to pen drive and hit Ente r. Your system will boot from pen drive. Now you can install windows OS. Thats it. Enjoy