Perfect way to create bootable windows USB drive

        

 A common use of a bootable USB flash drive is to use it for booting into Windows. This can allow you to perform diagnostics on a computer that has hardware issues or can't boot into Windows. You can also use the flash drive to install Windows, instead of using the Windows installation CD.
Windows Vista and Windows 7 users
To make the bootable USB drive for Windows Vista or Windows 7, you need to have Windows Vista or 7 installed on your computer. It is recommended that you have a flash drive of at least 4 GB in size, in order to store all the necessary files.
1. Open an elevated Windows command line window by clicking Start, typing in cmd in the search text field, then pressing CTRL + Shift + Enter on your keyboard (at the same time). You can also access this by navigating to Start, All Programs, Accessories, right-click with your mouse on the Command Prompt menu item and select Run as Administrator.
2. At the command prompt, type cd c:\windows\system32 to change the directory to the Windows system32 directory. Ensure your USB drive is plugged in and type DISKPART and press Enter. Then typeLIST DISK and press Enter.

4. Type in the following commands, one by one, pressing Enter after each command.
3. You will see a listing of the disk drives connected to your computer. Find the disk number of your USB drive and type SELECT DISK [USB disk #], where "[USB disk #]" is the disk # for your USB drive. It should now state that your USB drive is the selected disk. If you're not sure what disk is the USB disk, eject the USB drive, perform step number 2 again, connect the USB drive again, and compare the results. Usually the USB drive will be the last drive.

CLEAN
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT FS=NTFS
(may take a couple minutes,depending on the USB drive size)
ASSIGN
EXIT

Keep the command prompt window open, but you can minimize it for a little bit.
5. You will now need your Windows Vista or 7 Installation DVD. Put the DVD in your computer's DVD drive. Open up My Computer and note which drive letter is assigned to your DVD Drive and your USB flash drive.
6. Go back to the command prompt window and type in D: CD BOOT (substitute your DVD drive letter for "D:" if necessary) and press Enter. Type CD BOOT again and press Enter. Lastly, type BOOTSECT.EXE /NT60 H: (substitute your USB flash drive letter for "H:" if necessary) and press Enter.
7. The last step is to copy the entire contents of the Windows DVD to your USB flash drive.
Your USB flash drive is now set up to be a bootable USB drive for Windows Vista or 7.

Comments