How to Recover Data Lost by Diskpart Clean [5 Steps]

Here you can realize how to recover partition and data after Diskpart clean.


By Bryce / Updated on October 7, 2023

Share this: instagram reddit

Partitions and data lost after running clean command

“I ran clean command mistakenly and deleted all data and partitions on my hard disk drive. It becomes a piece of unallocated space. I have not backed up the data saved on this disk, is there anyone can tell how to recover data and partitions lost by Diskpart clean command?”

Recover data lost by Diskpart clean command in Windows 

If you don’t make any write operation to the hard disk drive after running clean command, it won’t be a tough task to recover deleted partitions and all data saved on these partitions, as long as you choose a proper tool.

Here AOMEI Partition Assistant Professional is recommended. It is capable of recovering multiple deleted partitions on one disk at once in Windows 11/10/8.1/8/7. Now, let’s see how to recover partitions and data lost by Diskpart clean command using AOMEI Partition Assistant Professional.

You can also choose to download its demo version to have a try at first!

Free DownloadWin 11/10/8.1/8/7/XP
Secure Download

Step 1. Install and run AOMEI Partition Assistant Professional. In the main console, locate Recover Partition Recovery and click it.

Step 2. You’ll enter the Partition Recovery Wizard window where you need to choose the disk for which you have run Diskpart clean command by mistake. Then, click Next.

Select Disk

Step 3. Here offers two search methods: Fast Search> and Full Search. Choose one and click Next button.

Two Options

It is recommended to choose Fast Search for the first time as this option takes less time. If this way is not working, you can use Full Search to search each sector of the selected disk.

Step 4. In this window, lost partitions after Diskpart clean command on this hard disk drive will show up. Choose the partition(s) that you want to recover and click Proceed (Here I choose to recover all deleted partitions on this hard disk.).


Step 5. When the operation is completed, you’ll see a Congratulations message. At this time, click Finish to exit from this program.


After you recover partitions deleted by Diskpart clean command, the data saved on these partitions will come back automatically as well.


Recover partitions and data lost by diskpart clean if PC won't boot

If the hard disk drive for which you run Diskpart clean command is your system disk, you’ll be unable to boot your computer from this disk. At this time, you can use AOMEI Partition Assistant Professional to create a bootable USB drive by following steps below:

PS.: You can also choose to create a bootable CD/DVD.

Step 1. Connect a USB drive to a working Windows-based computer. Install and run AOMEI Partition Assistant Professional on this computer. Click Tools Make Bootable Media.

Make Bootable Media

Step 2. On this page, choose USB Boot Device and click Proceed.

Step 3. After confirming that this operation will format the USB drive, click Yes to continue.

Step 4. When the process is finished, you can click Finish to close this program.

After that, connect the bootable USB drive created by AOMEI Partition Assistant Professional to the computer whose hard drive partitions need to be recovered. Then, enter BIOS and boot this computer from the USB drive.

After booting, you’ll enter the main interface of AOMEI Partition Assistant Professional automatically. Thus, you can do as aforementioned to recover boot partition and other partitions lost by Diskpart clean command.

AOMEI Partition Assistant Professional can work with Windows 11/10/8.1/8/7, XP, and Vista. For Windows Server users, it is advised to employ AOMEI Partition Assistant Server.
If the recovered partition doesn’t show up in File Explorer, the reason can be missing drive letter. In such a condition, you can assign a drive letter to it.
It also supports to recover lost data if you have deleted them by accidentally.

Bryce · Staff Editor
Bryce is an editor of AOMEI Technology, he covers backup & restore, hard disk & partitions management, cloud files transfer, website & database backup and so on for AOMEI. He enjoys helping people find solutions to their problems. He loves traveling, Sleeping, reserching and so on. He enjoys helping people find solutions to their problems. He loves traveling, Sleeping, reserching and so on. He would like to spend all time on reaserching computer problems. He is a very cute boy.