You are viewing the article Format USB using CMD (Command Prompt) at Lassho.edu.vn you can quickly access the necessary information in the table of contents of the article below.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 4,390 times.
If the computer reports an error while formatting the flash drive (USB) on Windows File Explorer (such as “Windows was unable to complete the format”), you can still format the drive in a command-line environment. This wikiHow teaches you how to erase and reformat a flash drive using the DiskPart tool in CMD (or Command Prompt).
Steps
- Usually we will format the USB by right-clicking on the drive and choosing Format from the menu that appears. If this is not available, you can proceed through the Command Prompt.
- You can also use Command Prompt if you can’t find the USB drive in File Explorer.
- Click Run as Administrator from the list of results that appear.
diskpart
” and press ↵ Enter . After displaying a few lines of information about the computer, the DiskPart utility will launch. list disk
” and then press ↵ Enter . In the list that appears, you will be able to determine which drive is USB. select disk [số của ổ đĩa flash]
” and press ↵ Enter . From the drive list, replace the flash drive’s number in the corresponding place in the command.
- For example, if the USB is on drive 2, you need to enter ”
select disk 2
.” - After the command is accepted, the message ” Disk [flash drive number] is now the selected disk” will appear.
clean
” and then press ↵ Enter . Wait a moment for Command Prompt to format the USB drive.
- The message “DiskPart succeeded in cleaning the disk” will appear after the process is completed.
create partition primary
” and press ↵ Enter . You need to do this step first before you can format the USB drive.
- Command Prompt will return the message “DiskPart succeeded in creating the specified partition” after the process is completed.
format fs=ntfs
” and then press ↵ Enter . This command will tell the computer to format the USB drive using the ntfs format. You can also use fat32 or exfat format by replacing “ntfs” in the command.
- The message line “DiskPart successfully formatted the vpume” will appear after completion.
exit
” and press Enter . This command is used to exit the DiskPart program. You can then continue using the USB or disconnect the flash drive from the computer.
- If you want to assign a specific letter as the name for this drive, enter the command ”
assign letter=h
” before exiting the DiskPart utility.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 4,390 times.
If the computer reports an error while formatting the flash drive (USB) on Windows File Explorer (such as “Windows was unable to complete the format”), you can still format the drive in a command-line environment. This wikiHow teaches you how to erase and reformat a flash drive using the DiskPart tool in CMD (or Command Prompt).
Thank you for reading this post Format USB using CMD (Command Prompt) at Lassho.edu.vn You can comment, see more related articles below and hope to help you with interesting information.
Related Search: