Steps to create USB Boot using Command Prompt
Before creating a USB Boot in this way, prepare a USB Boot ISO file like Windows, Hiren Boot and a USB with a capacity of 4GB or more.
1. Format USB Boot with CMD
Step 1: You open CMD with Administration rights. To open cmd with Admin rights on Windows 10, open Search (1) => enter the keyword cmd (2) => Run as administrator (3).
Step 2: You enter the command diskpart => press Enter.
Step 3: You enter the command list disk => press Enter. At this point, the system will display the available drives on your computer and you can base your USB stick on the capacity of the USB stick.
For example, a 32GB USB stick will show Size as 28GB and as Disk 1 in the sample below.
Step 4: You enter the command select disk 1 => press Enter.
In which: select disk 1 you can replace it with select disk 2, select disk 3. depending on your USB order.
Step 5: You enter the clean command => press Enter to delete the USB partition.
Step 6: You enter the command create partition primary => Enter to create a primary partition for the USB.
Step 7: You enter the command select partition 1 => press Enter.
Step 8: You enter the active command => press Enter to activate the partition on the USB.
Step 9: Enter the command format fs=ntfs quick => press Enter to format the USB as NTFS.
For the USB Boot installer with a capacity of less than 4GB, you can use the format fs=fat32 quick command to format the USB quickly in FAT32 format.
Step 10: You enter the command assign letter=X => Enter to assign the abbreviation to the USB. You can replace X with another drive name such as D, E, F, G, H .
Finally, enter the command exit => press Enter to exit Disk Part and move on to the following operation.
2. Copy files from USB Boot installer to USB using CMD
Step 1: Extract the Boot ISO file to the virtual drive. On Windows 10, you can extract the file by right-clicking on the ISO file (1) => Mount (2). After successfully mounting the virtual drive, you will see the new drive containing the installation file (3).
Step 2: Remember the letter name of the virtual drive (1) and USB (2) exactly copy the file from the virtual drive containing Boot to the USB.
In the picture below, drive D is a virtual drive mounted from an ISO file and drive X is a USB created in part 1.
Step 3: You return to Command Prompt and enter the command D: => press Enter.
Where D: is the letter name of the virtual drive containing the Boot file.
Step 4: Enter the command cd boot => press Enter.
Step 5: You enter the command bootsect /nt60 X: => press Enter.
Where X: is your USB drive's name.
Step 6: You enter the following command => press Enter.
xcopy D:*.* X: /E /F /HERE
- Inside:
D: is the virtual drive name
X: is the USB drive name
/E: Execute the command to copy all directories, subdirectories except empty directories.
/F: Display source and destination file while copying
/H: Execute the command to copy properties and hidden files. By default, the xcopy command does not allow you to copy properties and hidden files.
After copying is complete and no error message appears, it is successful. Please close the Command Prompt window.
Step 7: After creating a successful USB Boot, remember to remove the USB and virtual drive by right-clicking on the drive (1) => Eject (2).
Through the instructions in the article, you can learn more how to create a new USB Boot without using support software, which is to use Command Prompt (CMD) to create.
You should read it
- How to open Microsoft Word from Command Prompt
- How to Create a Custom Windows Command Prompt
- Add Command Prompt to Power User Menu on Windows 10
- How to open Command Prompt on Windows 10, 8, 7, Vista and XP
- How to Make Command Prompt Appear at School
- 6 Best Command Prompt Alternatives for Windows
- How to use Xcopy command in Command Prompt
- Instructions for using Command Prompt
May be interested
- How to open Command Prompt during Windows installationopening command prompt while you install windows will help you use commands in cmd such as checking drive health, converting standard mbr - gpt and many other benefits,
- Common GHOST errors and how to fix themsummary of common errors when ghosting and instructions on how to fix it. you should consult before performing the ghost to be able to grasp the cause and offer a solution.
- Download Ghost Windows 10 LTSB 1607 2021windows 10 ltsb is a stripped-down version of windows released by microsoft in 2016, which removed all unnecessary components to provide the most stable lightweight version of windows 10 ltsb 2016.
- Create a Windows installation USB on Ubuntu using the WoeUSB tooldetailed instructions on how to create a windows usb install on ubuntu operating system through the woeusb tool. tips to create usb install win on linux fastest
- How to download a Windows installer, Office directly from Microsoftinstructions on how to download the original windows installer, download the original office installer (all versions). download the iso file to install from the microsoft homepage
- Link to download the ISO file Windows 10 20H1 directly from Microsoftthere are many ways to get the link to download the iso windows 10 20h1 file online, but many of them are not safe, contain many malicious codes that steal user information, for the best safety, users should get the download link. genuine windows 10 iso file 20h1 from the publisher microsoft.