
Lastly, type BOOTSECT.EXE /NT60 H: (substitute your USB flash drive letter for H:, if necessary) and press Enter. 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.

Open up My Computer and note which drive letter is assigned to your DVD drive and your USB flash drive. Put the DVD in your computer's DVD drive. You now need your Windows Vista or 7 installation DVD.Keep the command prompt window open, but you can minimize it for a little bit. (may take a few minutes, depending on the USB drive size) ASSIGN EXIT Type in the following commands, one by one, pressing Enter after each command.ĬLEAN CREATE PARTITION PRIMARY SELECT PARTITION 1 ACTIVE FORMAT FS=NTFS.Usually, the USB drive will be the last drive. 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. It should now state the USB drive is the selected disk. Find the disk number of your USB drive and type SELECT DISK, where "" is the disk # for your USB drive. A listing of the disk drives connected to your computer appears.See our diskpart command page for additional information on this command.Ensure your USB drive is plugged in, type DISKPART, then press Enter. At the command prompt, type cd c:\windows\system32 to change the directory to the Windows System32 directory.

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.
