If you have no DVD Rom on your computer, or it gets damaged in that case you can't setup windows in your PC. This is too boring. Or if you have a notebook then you face the same problem. But nothing to be worried about. There is another way to install windows on your PC. You can set it up by USB Flash Drive (Pen Drive).
If you have a 4 GB (or higher) USB drive then follow the steps below:
1. Format Your USB/ Pen Drive
Insert your USB in the PC and don't forget to back up your important data stored on that USB drive. Now format the Drive as the Picture shows:
Now open command prompt. Remember command prompt must be run as Administrator. You can go to the program menu then make a right click on command prompt and select run as administrator (Be sure that your windows partition is installed on C Drive)
Now you will see the Command Prompt window on your screen.
Type Diskpart press enter. Now you will see another screen will open.
Type List Disk to view all the active disks as the image shows:
Now type the following commands at a time.
Select Disk # (Locate your USB Disk and write the number it instead of #. Example: Select Disk 6)
Create Partition Primary
Select Partition 1
Format FS=NTFS (Note: This may take a considerable amount of time. Don't Worry)
Assign (Gives the USB drive a Windows volume and next available drive letter, which you should write down. In our case, drive “L” was assigned)
Exit (Quits the DiskPart tool)
2. Turn the USB Disk into a Bootable Device
Now back to the Command Prompt windows that is running as Administrator. Using the “CD” command, find your way to the folder where you extracted the ISO files. Your command line path should look something like “C:\Users\username\Desktop\Windows 7\”.
Type the following commands: