I got the basic commands from the net and am going to take you step by step through the process without having to use a 3rd party program using the command prompt to utilize DiskPart which is built into Windows 7 by default. So here I give a brief and 100% tested tutorial on how to create a Windows 7 Bootable USB Pendrive to install Windows 7 from USB Pendrive.
How to make bootable pendrive using command prompt how that works follow this steps.
1) Open a command prompt as administrator (Right click on Start > All Programs >Accessories > Command Prompt and select “Run as administrator”.
2) Then run diskpart utility from command prompt, by typing ‘diskpart’ on command prompt and pressing enter. This will run the diskpart utility in a separate windows, which is shown in 2nd picture below:
3) Now type in cmd "list disk" and hit enter The number of your USB drive will listed. You’ll need this for the next step.Then you have to type ‘select disk 2′ and press enter. Note: in our case it is disk 2, in your case it may be disk 3, or disk 1 or any other number.4)Now you enter ‘detail disk’ to see the details of the disk after selecting it to verify that you have selected the correct disk. You can see these steps in the image below:
- clean
- create partition primary
- select partition 1
- active
- format fs=fat32 (Command "Format fs=ntfs quick" will speed up the format otherwise it takes hell lot of time to format big pendrives.)
6) These steps are shown in the image below:
After the format is complete you have to run ‘assign’ command. And after this you can exit diskpart utility by entering the ‘exit’ command. The steps are shown below:
- assign
- exit.
Download UltraISO Software
- Now go to My Computer, & open the virtual or original of DVD Drive. Press ‘ctrl+a’ to select all contents
and copy all the contents by pressing ‘ctrl+c’.
-Aafter complete all process. open the USB Drive and press ‘ctrl+v’ to paste all the contents of DVD into the USB Disk.