Fix a USB flash, SD card with the diskpart command

If a USB flash, or SD card, or in general a drive does not work very well, then the command “” and removing partitions is one of the solutions you have. We would say that this solution fixes problems with a disk that cannot be formatted or one that shows an error in capacity.

usb diskpart

This technique will completely delete all partitions (volumes) that cannot be deleted with the usual tools, such as Disk Managment (Disk Management) that comes with Windows. After this process you should reset the partitions on the you.

We repeat the Warning: This process will completely erase the entire drive you select. Before doing so make sure you have created of the important that exist within him. Also, you should be very careful to specify the correct disk, as there is a chance that you will get confused and delete the wrong disk.

STEP 1: Open a command-line window as an administrator
Κατ ‘αρχάς, θα πρέπει να ανοίξετε ένα παράθυρο γραμμής εντολών ως διαχειριστής. Στα Windows 10 ή 8.1, μπορείτε απλά κάντε δεξί κλικ στο κουμπί (ή πατήστε το πλήκτρο Windows + X) και επιλέξτε το “Γραμμή εντολών (Διαχειριστής)”.

In Windows 7, you will need to locate the “Command Prompt” shortcut in the Inception. Then right-click on the shortcut and select “Run as Administrator”.

STEP 2: Use the diskpart command to clean a disk
Before continuing, make sure you are connected to the σας το USB flash drive, ή την κάρτα SD, ή οποιαδήποτε άλλη μονάδα that you want to clean.

Type the following command in the command prompt window and press Enter:

diskpart

clean1

STEP 3: See your list of units
To see a complete list of storage units that are currently connected to your computer, type the following command and press Enter:

list disk

clean2

STEP 4: Select the correct drive
Examine the command results to determine the disk number you want to clean. Be very careful here! If you choose the wrong disk number, you will delete the wrong disk and you will lose all the data.

In the image below, we can see that "Disk 0" is 465 GB in size, "Disk 1", "Disk 2" and "Disk 3" are 931 GB in size and "Disk 8" is 14 GB in size . We know that our specific USB drive is 14 GB in size. This tells us that drive 8 is the USB drive that is connected to the computer, and Disks 0,1,2 and 3 are the drives of the computer system.

Once you recognize you know the number of the disc you want to make , type the following command, replacing # with the disk number specified above.

Warning: Be very careful to determine the correct disk number! If you enter the wrong disk number all subsequent steps will act on the wrong disk resulting in full of.

select disk #

clean3

STEP 5: Delete the partitions of the selected disk
The diskpart command has now selected the disk you specified. All actions you perform will be applied to the selected drive. To completely delete the partitions of the selected disk, type the following command and press the Enter key.

Warning: This command will delete all data about the selected disk! Be sure you back up your important data before proceeding!

clean

clean4

You will see a "diskpart succeeded in cleaning the disk" which means that diskpart managed to clean the disk and everything worked fine. Close the command prompt window to continue.

STEP 6: και Format του δίσκου
Now you should prepare, partition and format the disk as you would normally, using Disk Management (tool disk space) that is built into Windows. You can also use the diskpart command to do this, but it's probably easier to use the Disk Management GUI.

To start Disk Manager in Windows 10 or 8.1, simultaneously press Windows + X and select "Disk Manager".

In Windows 7, press Windows + R, type “diskmgmt.msc” in the Run dialog box and press Enter (works for Windows 10 or 8.1).

clean7

You will see that the disk no longer has any partitions. Right-click on the unallocated space and select "New Simple Volume" to create a disk partition and format it to your desired file system. By default, Windows will create only one partition that extends to the entire drive.

clean5

clean6

Proceed the Windows process to configure your disk to the end. That's it ! You're done!

If all of the above methods did not work until the end - for example, if the disk was successfully cleaned but does not seem to work properly when you try to partition, or if the diskpart can not see the disk or clean properly - then it is possible that the drive is physically damaged and will no longer work properly no matter what you do. The "clean" disk with diskpart is a solution that can revive disks that seem to be damaged.

iGuRu.gr The Best Technology Site in Greeceggns

Get the best viral stories straight into your inbox!















Written by Dimitris

Dimitris hates on Mondays .....

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).