- Apache is a widely used and secured server it is well documented and easy to use,
- MySQL is an open-source relational database management system,
- and PHP is a widely-used general-purpose scripting language.
USB flash drives are widely used to store and transfer data (Like Video, Audio, Documents, and more) from one computer to another.
Because of this, sometimes Windows stopped recognizing them. This happens because of the issue like they become a raw-space or write-protected. You can fix this issue by formatting the device using the command prompt.
*Note: Formatting a device causes loss of data. So, if it is possible take a backup of the data.
This is a step-by-step guide on how to format a USB Flash Drive using Command Prompt. Follow these simple steps to format your Pendrive using the command prompt:
Step 1: Open Command Prompt with administrator permission
Step 2: Open DiskPart on Command Prompt
The Diskpart is a command interpreter which helps you manage computer drives such as disks, partitions, volumes, or virtual hard disks.
Step 3: List Disk available on your system
List Disk interpreter helps you to get the list of drives on your computer.
Step 4: Select the Disk you want to format using the command prompt
Now select the disk you want to format from the list.
*type the disk number you want to format
Step 5: Clear the partition on the disk
After selecting a disk you should clear all the partitions on it.
Step 6: Create a new partition on the disk
Clean command leads to clean all the partitions on the disk. So, now create a partition on the disk.
Step 7: Format the Disk
Once a new partition is created on the disk your device is ready to format.
N.B: here in place of NTFS you can type fat32 to format the disk on FAT32.
(Also to speed up the process of formatting you can type “format fs=ntfs quick“)
Step 8: Assign the disk.
After the above process, your device is formatted, and to assign the disk you have to type “assign” command on the prompt.
That’s it. Your USB Flash Drive is successfully got format, and now you can close the command prompt. If you find issues with any of the steps mentioned above, you should watch the video mention below.