Another fast way to install windows 7 from USB drive

Note: Back up the files from your USB drive, as it WILL get formatted in this process and all data on it will be lost!

Run CMD.EXE and type the following. Note: This set of commands assumes that the USB flash drive is addressed as "disk 1". you should double check that by doing a list of the disks (type "list disk") before cleaning it. If you have multiple hard drives, like an SDFlash drive or a Multibay drive, you could end up wiping your second drive using this command.
(This was a warning that Josh added to his post along with the following commands that I copied from him, so kudos to Josh)

1. diskpart
2. select disk 1
3. clean
4. create partition primary
5. select partition 1
6. active
7. format fs=fat32 quick
8. assign
9. exit
10. Copy Windows 7's DVD ROM content to the Flash Drive
11. Set the boot priority to boot the USB drive first.
12. Install Windows 7.
Enjoy! :D

This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.