In the world of computers, we take a lot of things and others that never cross our minds, that means there are many things that can make our lives easier, but we don’t know or hear them. In the case of the Diskpart function or tool, few know, much less how it works. But this one has some very interesting features that can be used to rescue a hard drive or USB drive that is being repaired.
Here are some things to know about this command allows us to manage volumes, disks, partitions, and virtual disks. From the terminal, do not start Windows operating system, as with the other possibilities we know; Administrator permissions are required to run it. It is a good idea to use this tool to format, repair, and delete virtual disks via a command line. This article will show you how to do this.
What do you need to do to fix your Windows hard drive with Diskpart commands?
In any case, before repairing or formatting a hard drive, we must first know what is going on with this drive, what causes the problems, and why it presents a bug or error, why. may cause us inconvenience at the time of repair and formatting, which is involved in various processes within the system, such as starting Windows.
At the time of formatting, we need to know that the disk stores our information, so it is important to be aware that we do not need to look for other methods later, which will help us to repair a hard drive and recover lost data. information, it is good to know all this so that there are no problems in the repair process. Here are some things to keep in mind before repairing your disc.
Change the letter of the unit
It is essential to change the lyrics assigned to the discs so as not to make a mistake when working or confusing ourselves, this step does not matter, but it is advisable to do so. that way we will be clear about this new task and find out in this way, and do not check later the identification letters assigned to the volumes so that this can be done from Diskpart.
We will first open the Computer to identify the disk, then we open it with the shortcut Windows + RWhen you type Diskpart, this will open the terminal. “List volume”. When you type, a list of volumes will appear. Then select “Select Volume (x)”. Select this.
Delete the contents of your disk one by one
Before you start you need to make sure it doesn’t matter, then do not try recover files from hard drive; To delete the contents of the hard disk, we launch Diskpart from the Execution Tool while we copy the “disk list” in the terminal and the disk list will appear. Then we copy “select disk (x)”, after selecting its number we copy “clear” and all the information will be deleted
Performs full formatting of your disc
After checking the disk, assigning the new letter and clearing the information, we open Diskpart again from the execution, copy the “list volume” in the terminal then “select the volume” and copy the following for formatting. “format fs = ntfs tag = 32 fast” and will continue to format the disk volume.
Delete partitions
For this procedure, we will open it and copy the CMD, run the “diskpart” command in the terminal, this will give us the name of the disk, then “list disk” and the list of disks will appear, we will copy “select disk (s)” and remove or select partition To delete this we copy “clear” this procedure It should be done with every partition you have.
What other uses can the Diskpart command give it?
In the case of Diskpart it has many more functions, which are very useful here We’ll list some of the great options for this commandAlthough we would like to, but it doesn’t, it’s about being able to retrieve information from a formatted hard drive, but if you find them very interesting, let us see them
- Attributes: Manipulate the attributes of a volume or disk.
- Automount – Enables and disables automatic mounting of basic volumes.
- Break: Separate a set of reflections.
- Compact – Attempts to reduce the physical size of a file.
- Convert: Convert between disc formats.
- Create – Create a volume, partition, or virtual disk.
- File Systems – Shows the current and supported file systems for a volume.
- Import: Import a disk group.
- Merge: Combine a secondary disc with its major discs.
- Offline: Disconnects a currently connected object.
- Shrink: Reduce the size of the selected volume.