0% found this document useful (0 votes)
209 views

Disk Part

This document provides instructions to create a bootable Windows installation USB drive using DISKPART and XCOPY commands in 3 steps: 1. Use DISKPART to clean, create a primary partition, format, and assign a drive letter to the USB flash drive. 2. Use the bootsect command from the Windows installation DVD to make the USB drive bootable. 3. Use XCOPY with switches to copy all installation files from the DVD to the formatted USB flash drive, creating a bootable device to install Windows.

Uploaded by

Francis Manon-og
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
209 views

Disk Part

This document provides instructions to create a bootable Windows installation USB drive using DISKPART and XCOPY commands in 3 steps: 1. Use DISKPART to clean, create a primary partition, format, and assign a drive letter to the USB flash drive. 2. Use the bootsect command from the Windows installation DVD to make the USB drive bootable. 3. Use XCOPY with switches to copy all installation files from the DVD to the formatted USB flash drive, creating a bootable device to install Windows.

Uploaded by

Francis Manon-og
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

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

You might also like