
Type in SELECT DISK 1 and press Enter. Hard Disk Drive (HDD) as Disk 0 and USB flash drive as Disk 1. It will show the two disks available i.e. In the command prompt window, type DISKPART and hit a click on Enter. Go to start menu and in the search box, type cmd and right-click on cmd.exe After that, select the option Run as administrator. It gives a complete information about the volumes and partitions, allows to delete and create partitions and extends the NTFS volumes. There is a disk-partitioning tool known as Diskpart which is built-in Windows and can be accessed through the Command Line Utility. Step 2: Remove the write protection in USB flash drive using Diskpart command line utility If there is any virus found on your system, remove it using the Antivirus. Now, right click on it and enable your Antivirus to scan it manually. Step 1: Scan the USB drive and remove virusesĬonnect your USB flash drive to the computer. Here is the detailed procedure that you should follow. But, the question arises, how to format USB flash drive? Well, you can simply follow the below steps to remove the write protection in a USB flash drive so that you’ll be able to format the USB drive with ease. Formatting is always a good way to get rid of unwanted virus/malware or errors. But, don’t worry, you can fix any USB flash drive or a memory drive which is write protected or corrupted by formatting it.
With the usage of flash drive, some bad sectors and corruption issues arise on USB flash drive. But, there must be a valid file system in the drive that you are using irrespective of its type so that it can be recognized by the Windows and can be used.
These are the storage devices which can be removed such as USB flash drive. Also, there are some other devices having more flexibility and features.
The most widely used storage devices nowadays are SSDs and HDDs, which are set up on a Mac or PC to store the data files and install the OS. You can format a write protected, corrupted or inaccessible USB flash drive or pen drive using command prompt. Summary: In this blog, you will learn how to format USB flash drive using cmd in various versions of Windows.