Min menu


Flash USB repair method through CMD command prompt in Windows



How to configure a USB mobile drive using CMD in Windows 10, which is protected from writing, damaged, unreadable or unknown by pc.  

 If you see any errors while configuring your drive or if the drive fails to appear in File Explorer even after you set the drive character to it, you can use the command prompt to format a USB drive.

Important information: Configuring the USB drive will erase all the data on it and if the data is important you must move it all to a safe place before you start implementing the next steps.

The first step: Run the command prompt as an administrator and in order to do so type CMD in the Start/taskbar search box and then click the right mouse button above the Command Prompt command prompt entry in search results, and then click Run as administrator and then click the Yes button when you get the user account control screen to continue.

Step 2: In the command prompt, execute the following commands one by one.
Write the Diskpart command and click on Inter.
The second thing is to write List Disk and click on Inter disk and disk part will display all the drives connected to your computer as well as your internal drives, then select the USB drive that you want to format and you should notice its disk number like what you see in the next picture the USB drive number is 1.

If you're not sure, disconnect the USB drive and then turn on Diskpart in the disk command menu and when you do, you can see how many drives before and after you connect the USB drive.
3. Write the third command after selecting the flash and write a Clean order and then click on Inter to start creating and working for flash format.
4. After completing the formula process, write the Create partition primary command and then click on Inter in order to reset the flash position again.
5. Write the Format fs=NTFS Quick command and this will format the drive by using the NTFS file system and if you want to use the FAT32 file system instead of NTFS, use fs = FAT32 Quick.
6. Then write the Assign command or set in order to give the flash a character.
7. We write an exit order in order to close the window and prompt the order.