• About
  • Contact
  • Cookie
  • Disclaimer
  • Privacy Policy
  • Change the purpose of use

Tnhelearning.edu.vn - Various useful general information portal

  • Photo
  • Bio
  • How To
  • Tech

Format USB using CMD (Command Prompt)

November 7, 2023 by admin Category: How To

You are viewing the article Format USB using CMD (Command Prompt)  at Tnhelearning.edu.vn you can quickly access the necessary information in the table of contents of the article below.

In today’s digital age, USB drives have become an essential tool for storing and transferring data. However, just like any other storage device, USB drives can also encounter issues such as corrupted files or viruses. When encountering such problems, formatting the USB drive becomes necessary. While there are various methods to accomplish this task, using Command Prompt (CMD) provides a quick and efficient way to format a USB drive with complete control over the process. In this article, we will delve into the topic of formatting a USB drive using CMD, exploring the step-by-step process and highlighting the benefits of this method. Whether you are a novice or an experienced user, learning the CMD method for formatting USB drives will equip you with a powerful troubleshooting skill to address USB-related concerns effectively.

X

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

Image titled Format a USB Using Cmd Step 1

Image titled Format a USB Using Cmd Step 1

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/ab/Format-a-USB-Using-Cmd-Step-1.jpg/v4-728px-Format-a-USB- Using-Cmd-Step-1.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/ab/Format-a-USB-Using-Cmd-Step-1.jpg/ v4-728px-Format-a-USB-Using-Cmd-Step-1.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Plug the flash drive into the computer. Plug the flash drive into an empty USB port on your computer to continue.

  • 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.
READ More:   How to Find Open Licensed Icon Images with Noun Project's search engine
Image titled Format a USB Using Cmd Step 2

Image titled Format a USB Using Cmd Step 2

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/f/ff/Format-a-USB-Using-Cmd-Step-2.jpg/v4-728px-Format-a-USB- Using-Cmd-Step-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/f/ff/Format-a-USB-Using-Cmd-Step-2.jpg/ v4-728px-Format-a-USB-Using-Cmd-Step-2.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Open Command Prompt as administrator. To proceed, press the Win key on your keyboard and then type “cmd” to find the program.

  • Click Run as Administrator from the list of results that appear.
Image titled Format a USB Using Cmd Step 3

Image titled Format a USB Using Cmd Step 3

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/d/db/Format-a-USB-Using-Cmd-Step-3.jpg/v4-728px-Format-a-USB- Using-Cmd-Step-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/d/db/Format-a-USB-Using-Cmd-Step-3.jpg/ v4-728px-Format-a-USB-Using-Cmd-Step-3.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Type the command ” diskpart ” and press ↵ Enter . After displaying a few lines of information about the computer, the DiskPart utility will launch.
Image titled Format a USB Using Cmd Step 4

Image titled Format a USB Using Cmd Step 4

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/2/2c/Format-a-USB-Using-Cmd-Step-4.jpg/v4-728px-Format-a-USB- Using-Cmd-Step-4.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/2/2c/Format-a-USB-Using-Cmd-Step-4.jpg/ v4-728px-Format-a-USB-Using-Cmd-Step-4.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Type the command ” list disk ” and then press ↵ Enter . In the list that appears, you will be able to determine which drive is USB.
Image titled Format a USB Using Cmd Step 5

Image titled Format a USB Using Cmd Step 5

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/c/ce/Format-a-USB-Using-Cmd-Step-5.jpg/v4-728px-Format-a-USB- Using-Cmd-Step-5.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/c/ce/Format-a-USB-Using-Cmd-Step-5.jpg/ v4-728px-Format-a-USB-Using-Cmd-Step-5.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Type the command ” 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.
Image titled Format a USB Using Cmd Step 6

Image titled Format a USB Using Cmd Step 6

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/ae/Format-a-USB-Using-Cmd-Step-6.jpg/v4-728px-Format-a-USB- Using-Cmd-Step-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/ae/Format-a-USB-Using-Cmd-Step-6.jpg/ v4-728px-Format-a-USB-Using-Cmd-Step-6.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Type the command ” 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.
Image titled Format a USB Using Cmd Step 7

Image titled Format a USB Using Cmd Step 7

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/3/3d/Format-a-USB-Using-Cmd-Step-7.jpg/v4-728px-Format-a-USB- Using-Cmd-Step-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/3/3d/Format-a-USB-Using-Cmd-Step-7.jpg/ v4-728px-Format-a-USB-Using-Cmd-Step-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Type the command ” 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.
READ More:   How to Stop Grieving About a Boyfriend Who Only Loves Sex
Image titled Format a USB Using Cmd Step 8

Image titled Format a USB Using Cmd Step 8

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/5/53/Format-a-USB-Using-Cmd-Step-8.jpg/v4-728px-Format-a-USB- Using-Cmd-Step-8.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/5/53/Format-a-USB-Using-Cmd-Step-8.jpg/ v4-728px-Format-a-USB-Using-Cmd-Step-8.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Type the command ” 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.
  • Image titled Format a USB Using Cmd Step 9

    Image titled Format a USB Using Cmd Step 9

    {“smallUrl”:”https://www.wikihow.com/images_en/thumb/9/99/Format-a-USB-Using-Cmd-Step-9.jpg/v4-728px-Format-a-USB- Using-Cmd-Step-9.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/9/99/Format-a-USB-Using-Cmd-Step-9.jpg/ v4-728px-Format-a-USB-Using-Cmd-Step-9.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
    Type the command ” 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.
  • X

    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).

    In conclusion, formatting a USB using CMD (Command Prompt) can be a helpful and efficient method for users who prefer a more command-line based approach or encounter issues with other formatting methods. The process can be easily executed by following a few simple steps, starting with accessing the Command Prompt and identifying the correct drive letter, then using the “format” command to initiate the formatting process. However, it is important to exercise caution and ensure the correct drive is selected to avoid unintended data loss. Nevertheless, with proper understanding and careful execution, using CMD to format a USB drive can be an effective way to reformat, repair, or prepare a USB for use in various scenarios.

    READ More:   How to Confess Love Without Fear of Rejection

    Thank you for reading this post Format USB using CMD (Command Prompt) at Tnhelearning.edu.vn You can comment, see more related articles below and hope to help you with interesting information.

    Related Search:

    1. Steps to format a USB drive using Command Prompt
    2. How to use CMD to format USB drive
    3. Format USB drive via Command Prompt
    4. Command Prompt tutorial: Format USB drive
    5. How to format USB using CMD in Windows
    6. Quick guide to format USB drive with CMD
    7. Using Command Prompt to format a USB flash drive
    8. Tips for formatting USB using Command Prompt
    9. Step-by-step guide: Format USB using Command Prompt
    10. Troubleshooting common issues when formatting USB with CMD

    Related Posts

    How to Create Curved Text in Photoshop
    How to fall asleep faster
    How to Install FBReader to Read eBooks

    Category: How To

    Previous Post: « Top 999+ happy bhai dooj images in hindi – Amazing Collection happy bhai dooj images in hindi Full 4K
    Next Post: Top 999+ Sparkle Iphone Wallpaper Full HD, 4K✅Free to Use »

    Copyright © 2025 · Tnhelearning.edu.vn - Useful Knowledge