1.
DISKPART - This will start the utility
2. LIST DISK - This will show the disk number of your USB flash drive. In the image below the
USB flash drive shows as Disk 2.
7. SELECT DISK X (Replace X with your USB flash drive number, we are using 2 in this
example)
8. CLEAN - This wipes the drive
9. CREATE PARTITION PRIMARY- Creates partition
10. SELECT PARTITION 1- Selects partition 1
11. ACTIVE- Marks the current partition as active
12. FORMAT FS=NTFS QUICK - This formats the partition
13. ASSIGN- Assigns a drive letter.
14. EXIT
Insert your Windows DVD into the optical drive.
From the command prompt, enter the following:
g: <enter> (Where "g" is your DVD drive letter)
cd boot <enter> (changes to boot directory)
G:\boot bootsect /nt60 d: <enter> (Where "d" is your USB drive letter)
Copy all files from the Windows CD to the USB flash drive using xcopy
cd\ <enter>
G:\xcopy g:\*.* /s/h/f f:\ <enter>
This will copy the Windows installation files onto the USB flash drive, it may take several minutes.
xcopy switches are as follows:
/s - Copies directories and subdirectories except empty ones.
/h - Copies hidden and system files.
/f - Displays full source and destination filenames while copying.
To display the full list of switches, type xcopy /? <enter>
This will make the USB drive bootable and when selected at start up, will boot straight into the
Windows installation.
Back to Top