Let's check out how to format flash drive in Command Prompt: Go to Start menu and type CMD. On the search result that says Command Prompt, right click and click Run as Administrator. Use the following syntax: format: Type the name of flash drive in the place of drive name.
- How to format an external hard drive or flash drive. If you want to re-format an external hard drive (a drive you plug into your computer, instead of installing inside of your computer) or flash.
- Your USB flash drive would be listed with the hard drive partitions of your PC. Right-click on your flash drive and select Format to continue. Click on Start to begin the formatting process.
- Sep 18, 2019 Just go to Control Panel System and Security. Now, Click on ' Create and format hard disk partitions.' Now, Find and select the unallocated storage of the flash drive and right click on it. Then, Select New Simple Volume and follow the onscreen instructions.
Summary :
If a USB drive is corrupted/damaged, or needs to be formatted, you can easily format USB by using CMD on Windows 10/8/7. This tutorial includes a detailed guide. However, any disk formatting will erase all data on the disk, so you should back up all needed data beforehand. To recover data from formatted USB, you can try MiniTool Power Data Recovery.
Quick Navigation :
USB flash drive is widely used for storing and transferring files. But sometimes you may need to format the USB drive because of corrupted file system, data corruption issues, bad sectors, virus infection, etc. This post gives a step-by-step guide for how to format USB using CMD, namely the Windows built-in free DiskPart command tool, on Windows 10/8/7.
How to Format USB Flash Drive/Pen Drive Using CMD on Win 10
Step 1. Open Command Prompt on Windows 10
You have several ways to open Command Prompt on Windows 10. One easy way is: press Windows + R, type cmd in Run dialog, press Ctrl + Shift + Enter and click Yes to run Command Prompt as administrator.
Step 2. Open DiskPart command tool
Next you can type the command diskpart in Command Prompt window. Press Enter to launch DiskPart utility.
Step 3. List all disks on PC
Then you can type the command list disk, press Enter and all detected disks will be displayed with detailed information. Check carefully which disk is your USB drive. You may identify the USB by checking the size. Here, my USB is Disk 3.
Step 4. Select and clean the target USB drive
Type the command select disk 3 and press Enter to select the target USB flash drive. Then type clean command and press Enter. DiskPart will wipe disk data.
Step 5. Format USB flash drive/pen drive with CMD (Command Prompt)
After that, you can type the command create partition primary, and press Enter.
Then type the command format fs=ntfs or format fs=fat32, and press Enter to format the USB flash drive to NTFS or FAT32 format. Optionally you can add a 'quick' flag after the command for a faster format.
Step 6. Assign a drive letter for the USB
Continue to type the command assign letter=h, replace 'h' with the preferred drive letter you want to assign to the USB drive. Press Enter to assign a letter for the USB drive and make it visible in Windows File Explorer.
Type exit to close DiskPart and type exit to close Command Prompt window.
After formatting the USB flash drive in CMD (Command Prompt), the USB drive should be shown in Windows File Explorer and is available for storing files.
Format USB Flash Drive for Free with Software
Actually, you can easily format a USB flash drive on Windows 10 by using File Explorer. You can connect your USB to your Windows computer, open File Explorer, and right-click the USB drive to select Format and select a file system to format the USB flash drive.
However, you might get an error message 'Windows was unable to complete the format' when using this way to format USB. If you meet this error, you can use the Command Prompt to format the USB drive or use other USB formatter software to do this task for free.
MiniTool Partition Wizard is the best free disk partition manager for Windows 10. You can use this program to easily format USB to NTFS or FAT32 for free. The process is much simpler than formatting USB with CMD.
MiniTool Partition Wizard allows you to easily create/resize/format/delete/wipe partitions, convert FAT to ntfs or vice versa, check and fix disk errors, migrate OS, clone disk, benchmark disk, etc.
Download and install MiniTool Partition Wizard on your Windows 10 computer. Check how to use this tool to format USB in a few clicks below.
Step 1. Connect you USB to PC. Launch the USB format tool.
Step 2. Right-click the partition on the USB drive, and choose Format.
Step 3. In the pop-up Format Partition window, choose a file system like FAT32, NTFS. Type a preferred partition label if you like. Click OK.
Step 4. Click Apply button at the bottom-left to start the USB formatting process.
How to Recover Data from a Mistakenly/Intentionally Formatted USB
Formatting USB with CMD or other USB format tools will erase all data on it. No matter you mistakenly or intentionally formatted the USB flash drive/pen drive, you can recover data from USB drive if you want.
MiniTool Power Data Recovery is a professional data recovery program for Windows. This free data recovery software lets you recover any deleted/lost files from USB flash drive/pen drive, SD card, HDD, SSD, and Windows local hard drive. You can use it to recover data from various data loss situations.
Download and install MiniTool Power Data Recovery on your Windows 10 computer, and check how to use it to recover data from formatted USB below.
Step 1. Plug in the USB to your Windows 10 computer. Launch MiniTool Power Data Recovery.
Step 2. Next you can click Removable Disk Drive in the left column, and find the USB in the right window. Select the USB flash drive, and click Scan button.
Step 3. After the software finishes the scanning, you can see it displays all files incl. deleted and lost files on the USB. It recovers all data on the formatted USB drive. You can check the folders to find needed files and click Save button to select a new destination to store the recovered files.
Conclusion
Free pubg xbox one. In this guide, you have learned how to format corrupt USB with CMD (Command Prompt) on Windows 10. An alternative free USB formatter software is also attached with an easy guide if Command Prompt is not working on your Windows 10 computer. To recover data from a formatted USB, this post also covers a free and easy guide.
If you have any problems when using software from MiniTool, you can contact [email protected].
Format USB CMD FAQ
You can press Windows + R, type cmd, and press Ctrl + Shift + Enter to run Command Prompt as administrator. Then type the following commands and press Enter after each command.
- diskpart
- list disk
- select disk * (replace * with the exact disk number of USB)
- clean
- format fs=fat32 quick (replace fat32 with ntfs if you want to format USB to ntfs format)
- assign letter=* (replace * with preferred drive letter)
- exit
Click Start menu, type cmd, right-click Command Prompt to run it as administrator. Then type the following commands to format write-protected USB using CMD. Press Enter after each command.
- diskpart
- list disk
- select disk
- attributes disk clear readonly
- select disk
- clean
- format fs=fat32 quick (replace fat32 with ntfs if you want to format USB to ntfs format)
- assign letter=
- exit
Summary :
This article will provide various methods to restore USB drive to original state. If your USB flash drive becomes abnormal after making it as a bootable disk or has less capacity for unknown reasons, you can try these methods to solve your problems.
Quick Navigation :
When to Restore USB Drive to Original State
USB flash drive is a data storage device that uses flash memory to store data and connects to computer through USB interface. Generally, a flash drive has various usages. You can check Comprehensive Usage Tutorial of USB Flash Drive to know more details.
However, the various usages will simultaneously lead to multiple problems. For example, the USB flash drive may contain less capacity than its original state for unknown reason; the flash drive might have less capacity after it was made as a bootable USB drive. In another word, the USB drive can't work as usual.
If the above problems happen, you may wish to restore USB drive to original state to find back the lost capacity and make it back to normal. Some people may suggest that you could use a USB disk mass production tool to restore USB flash drive to factory settings through low-level formatting.
However, this method will shorten service life of the USB flash drive to some extent. You can check What Is Disk Formatting to know their differences. If you want to restore USB drive back to full capacity, you just need to delete files in USB flash drive. Similarly, if you want to restore bootable USB to normal, you can just format the USB flash drive.
There may be other reasons that urge you to restore USB drive to the original state. However, some of you may encounter difficulties which will prevent you from restoring the USB flash drive.
We recommend three tools for restoring USB flash drive to original state. The specific steps will also be described as well.
How to Restore USB Drive to Original State
There are various methods to restore USB flash drive to original state; but please note that these methods may cause data loss, so you should back up important files in advance.
Method 1: Restore USB Drive to Original State with MiniTool Partition Wizard
MiniTool Partition Wizard is the first tool we recommend because it is extremely great in managing partitions. If the above problems happen to your USB flash drive, MiniTool Partition can help you solve them.
You can use it to delete files including the hidden files. Click here to see the tutorial. If your USB flash drive has less capacity for unknown reason and you just want to restore USB drive back to full capacity, you can use the Space Analyzer feature.
If you want to restore USB flash drive to original state, you can delete the partition, format the partition, or even wipe the partition to complete this job.
Here is a tutorial on deleting USB flash drive with MiniTool Partition Wizard.
Step 1: Download MiniTool Partition Wizard and launch it to get its main interface. Right-click the USB flash drive and choose Delete All Partitions from the context menu.
Step 2: Click Yes on the pop-up warning window. Then click Apply button to carry out the pending operations.
Then, you need to create a new partition for future use.
Here is the tutorial on creating partition with MiniTool Partition Wizard.
Step 1: Right-click on the unallocated space of the USB flash drive and choose Create from the context menu.
Step 2: Set key parameters and click OK.
Kind Reminder:
Please set the partition file system as FAT32 or exFAT and create it as the primary one because the USB flash drive is usually preformatted with FAT32 file system or exFAT file system before it is shipped to you.
What's more, sometimes improper file system may cause some problems when you use it and FAT file system is more compatible than other file systems. As for other parameters, please keep their defaults.
Step 3: Click Apply button on the toolbar to execute the pending operations.
If the USB flash drive can't restore to normal after the deleting and creating process. You can try the format feature.
Here is a tutorial on formatting USB flash drive with MiniTool Partition Wizard.
Step 1: Open the main interface of MiniTool Partition Wizard. Then right-click a partition on the USB drive and choose Format from the context menu.
Step 2: Choose file system and cluster size on the pop-up window and then click OK.
Step 3: Click Apply button on the toolbar to execute the pending operation commands.
However, if the disk formatting also can't restore USB drive to original state, you can try the wiping method. The wiping method will overwrite all information on the USB flash drive.
Here is a tutorial on wiping USB drive with MiniTool Partition Wizard.
Step 1: Launch MiniTool Partition Wizard to get its main interface. Then right-click on the USB drive and choose Wipe Disk from the context menu.
Step 2: Choose a wiping method and click OK.
Attention:
The wiping method is related to data sanitization. You can adopt the default option when restoring USB drive to original state. However, the Wipe Disk feature will not only destroy all information in the USB flash drive, but also clean the partition table. So, you can use it to restore bootable USB to normal.
Step 3: Click Apply button on the toolbar to execute the pending changes. Microsoft office month trial.
Step 4: After disk wiping, you also need to create a new partition on the USB flash drive for future use.
After the partition creation, you can use the USB flash drive as usual. However, if the above methods still can't restore USB drive back to full capacity, you should run Surface Test to see whether there are bad sectors.
Just right-click on the USB flash drive and click Surface Test from the context menu. Then, click Start Now on the pop-up window. Wait until the result comes out. The green block stands for good sector and the red on represent bad sector. If there are bad sectors, you can either fix them or switch to a new flash drive.
Method 2: Restore USB Drive to Original State with Disk Management
Another method is to use Disk Management, a Windows built-in tool, to restore USB flash drive to original state.
Here is the tutorial on formatting the USB flash drive with Disk Management.
Step 1: Press 'Windows + R' keys simultaneously.
Step 2: Enter 'diskmgmt.msc' in the Run box. And then click OK to open Disk Management.
Step 3: Right-click on the USB flash drive partition and click Format.. from the context menu.
Step 4: Set formatting parameters and click OK in the pop-up window.
Step 5: Click OK on the pop-up format warning window.
Step 6: Wait until the formatting process reaches 100%.
Many of you may find that you can format a USB drive in This PC. You may just right-click the USB flash drive in This PC and then choose Format.. to restore USB flash drive to original state. And this method is simpler than what we recommend.
But some of you may find this method not working for unknown reason and that's why we suggest other alternative methods to you.
Format Removable Disk Flash Drive
Method 3: Restore USB Drive to Original State with Command
Surely, you can also use command to restore USB flash drive to original state.
Here is the tutorial.
Step 1: Press 'Windows + R' keys simultaneously.
Step 2: Type 'cmd' in the Run box and then click OK to open Command Prompt window.
Step 3: Type command 'diskpart' and press Enter key to open diskpart.exe input window.
Step 4: Type commands in the new input window one by one as follows.
- List disk
- Select disk 3
- Clean
Step 5: Type the following commands one by one to create a new partition.
- Create partition primary
- Format fs=fat32 quick
Step 6: Enter command 'assign letter = f' and then type 'exit' to close the input window.
Some people may ignore the last step. But if you don't assign a drive letter to the partition, this partition may not be shown on your computer.
Suggestions
Flash Drive Format Tool
Scan for Bad Sectors
If you have tried all the above methods and you still can't solve your problem, you should check whether there are bad sectors. If there are bad sectors on the USB flash drive, you can try the following method to fix the logical bad sectors.
Here is the tutorial.
Windows 10 for osx. Step 1: Right-click the USB flash drive under This PC and choose Properties.
Step 2: Skip to Tools tab and click Check.
Step 3: Click Scan and repair drive.
Step 4: Wait until the scanning and repairing process completes.
However, if there are physical bad sectors, you could buy a new flash drive.
Scan for Virus
If your problem does not solve through the above methods and causes to this problem cannot be detected then you can try antivirus. This USB flash drive might become abnormal because of virus. You can use built-in Windows Defender Antivirus or another reliable third-party antivirus software to do this.
Bottom Line
We need your feedback on whether this article can help you restore USB drive to original state. If you have problems in restoring USB drive to original state, you can leave a comment below or email to [email protected] for help. We will try our best to help you.
Restore USB Dive to Original State FAQ
You can use 3 methods to complete that:
- Use Disk Management.
- Use DiskPart commands.
- Use third-party software.
To restore space on the flash drive, you can:
- Delete partition and create a new one.
- Format or wipe the partition.
- Scan for bad blocks.