How To Format Pen Drive Using CMD In Windows 7

Pen Drive, USB, Flash Drive or Memory Stick, whatever you call it, is a handy portable device that helps you to store valuable data.

Like everything else, these tiny devices need formatting from time to time to work properly. An average person would try and do it the old-fashioned way: right click on the drive concerned and select ‘format’.

But what if the process gets stuck in the middle or worse, comes up with an error? And that happens quite often. However, there’s always a better to get things done. You can format your USB drive by using Command Prompt.

What is Command Prompt?

Command Prompt (CMD) is a command line interface in Windows which executes the command entered. It is a useful tool to execute tasks in a simpler and more effective way (learn more).

Steps to Format a Pen Drive Using CMD in Windows 7

In this article, we have discussed how to format  a Pen Drive using CMD in Windows 7.

  1. Connect your Flash Drive or Pen Drive to your computer.
  2. Please make sure that you know the assigned letter for the drive as it is required in commands while formatting Pen Drive. Let’s suppose the drive letter assigned is H.
  3. Press the Windows key and R together to open Run box. In Run box, type CMD to open Command Prompt.

See Also: How to Remove Virus from Pen Drives

Note: You can also Go to Start menu and type CMD  in the search box to open Command Prompt.

  1. Once Command Prompt is open, type this command:

format /q /x H:


open cmd

In this Command,

Q – Quick Formatting

X – forces the selected volume to dismount if required.

H – letter assigned to the Drive. Check on your system and type the drive letter accordingly.

  1. When you press enter, a message would be displayed “Insert new disk for drive H: and press ENTER when ready…”

run cmd

  1. Press enter, now the process will start and you need to wait until it is 100% completed.
  2. A message will appear – “Initializing the File Allocation Table (FAT)… Volume label (11 characters, ENTER for none)?” This means that the process is completed and waiting for your confirmation.

format pendrive

  1. Press Enter to confirm, Once the process is complete, a message, “Format Complete” will be displayed.

format pd via cmd

You will also see the total space available on the drive after the process is complete.

See Also: How To Protect Your USB Pen Drive With Password

In this way, you can format your Pen Drive using CMD in Windows 7. This method would work in Windows 8, 8.1 and 10 as well.

Try the method and let us know what you think about it !

One COMMENT

  • comment_avtar
    Ravi
    Thank you very much, it’s very simple method and quick to format my USB.

    6 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe Now & Never Miss The Latest Tech Updates!

Enter your e-mail address and click the Subscribe button to receive great content and coupon codes for amazing discounts.

Don't Miss Out. Complete the subscription Now.