By Penny / Last update March 17, 2022

Can a deleted partition be recovered?


Hello! I deleted my HDD partition through the command prompt with diskpart. But nowadays, I want to get it back. Is it possible for me to recover the deleted partition? Any help is appreciated. Thanks.


- A user from Tomshardware

First, please calm down because there’re two accessible solutions to recover lost partition Windows 10. Second, let’s dig into the meaning of partition to get more details.

Disk partitioning (Disk slicing) aims to create one or more regions on secondary storage. Then each region can be managed separately. These regions are partitions. Therefore, partitioning a newly installed storage device is the first step, then you can create files and save data on these partitions.

Sometimes your partition is not lost even you cannot access it in Windows File Explorer. At the moment, don’t be panic! You can use disk management to check it because disk management could perform advanced storage tasks in Windows. Maybe you’ll find your lost partition is in the unallocated space by executing it.

Some tips might give you a boost in the long term to avoid suffering data loss again.

Stop using your storage device as quickly as you can.

Do not write new data on the partition.

Do not reformat the hard drive.

Do not rebuild the partition table.

How to recover deleted partitions using CMD?

The first solution is heavily dependent on the command prompt. The following steps describe how to recover deleted partitions using CMD. The input command line is relatively short, please read carefully before starting the implementation. 

Step 1. Press the “Windows + R” keys to open the Run window. Then enter “diskmgmt.msc” and click “OK” to open Disk Management.

Step 2. Locate your deleted/lost partition and remember its size. Then the deleted partition space will be marked as unallocated space.

Step 3. Enter “cmd” in the search bar and select “Run as Administrator”.

Step 4. Type “diskpart” in the window and press “Enter”.

Step 5. Type “list disk” and press “Enter”. Then you can see all the partitions on the computer.

Step 6. Type “select disk a” and press “Enter” (a means the number of the hard drive including the lost partition).

Step 7. Type “list volume” and press “Enter”.

Step 8. Type “select volume b” and press “Enter” (b means the number of the lost partition). Type “assign letter c” and press “Enter” (c means a drive letter that can be used).


Recover lost partition Windows 10 via AOMEI Partition Assistant Wizard

As you can see, carefulness is essential to typing command lines and running them. But mistakes are unavoidable. Therefore, we’d like to introduce another troubleshooting software to you. That is AOMEI Partition Recovery Wizard.

AOMEI Partition Assistant Professional includes this user-friendly application with an easy-to-use interface. As long as there’s no data overwritten, everyone can utilize it to recover deleted/lost partitions on Windows 7/8/10/11 for partition recovery.

You can start with AOMEI Partition Assistant Professional demo by downloading it. These steps depict how to recover data from deleted partition within four steps.

Download Demo Win 11/10/8.1/8/7/XP
Secure Download

Step 1. Download and install it on your PC. Then launch it. Click “Partition Recovery Wizard” > select the disk that includes your deleted/lost partition > click “Next”.


Step 2. Select “Fast Search” to find your deleted/lost partition quickly. Then click “Next”.


Step 3. After scanning, you can see all the deleted/lost partitions on the hard disk. Then you can select the partition you want to restore and click “Proceed”.


Step 4. After the recovery process, you’ll see a “Congratulations” message. (You could pay attention to the helpful notes in the reference pic.) Then click “Finish” to exit.

Related suggestions

How to recover data from deleted partition? In the beginning, you can use CMD to fix it, making your deleted/lost partition visible to you. If you fail due to carelessness, you can try AOMEI Partition Assistant Wizard to address this issue.

Besides, AOMEI Partition Assistant Professional can help you simplify your computer disk partition management and make it safer without losing data. It enables you to create/resize/move/merge/split partitions. You can also perform disk conversion. 

If you’re unwilling to suffer data loss, you can make good use of professional freeware, AOMEI Backupper. This tool gives full coverage to backups, sync, and clone. For example, it enables you to make an automatic/full/incremental/differential backup on Windows 7/8/10/11.