Creating a bootable USB drive using the Command Prompt (CMD) in Windows involves several steps. Follow these instructions carefully:
Requirements
- A USB drive (minimum 8GB recommended).
- A bootable ISO file for the operating system.
- Administrative privileges on your Windows system.
Steps to Create a Bootable USB Using CMD
Insert the USB Drive
Plug in your USB drive. Back up any data, as this process will format the drive.Open Command Prompt as Administrator
- Press
Windows + S, typecmd, then right-click Command Prompt and choose Run as Administrator.
- Press
Launch DiskPart
Type the following command and pressEnter:List All Disks
To see the list of connected storage devices, type:Select Your USB Drive
Identify your USB drive from the list (e.g.,Disk 1) and select it:(Replace
1with the actual number of your USB drive.)Clean the USB Drive
This will remove all data and partitions:Create a Primary Partition
Format the USB Drive
- Format the drive as FAT32 (most compatible) or NTFS:
- Format the drive as FAT32 (most compatible) or NTFS:
Assign a Drive Letter
Make the Partition Active
Exit DiskPart
Copy Bootable Files to the USB Drive
Use the xcopy command to transfer files from the ISO or your system to the USB drive:
- Mount the ISO file (right-click the ISO and select Mount) or insert your installation disc.
- Note the drive letter of the mounted ISO (e.g.,
D:) and the USB drive (e.g.,E:). - Use the following command:
Test the Bootable USB
Restart your system and configure the BIOS/UEFI to boot from the USB drive.
Your bootable USB drive is now ready!

0 Comments