By Bryce / Last Updated September 11, 2019

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 partitions and data deleted by Diskpart clean command

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 10/8/7. Now, let’s see how to recover partitions and data lost by Diskpart clean command using AOMEI Partition Assistant Professional.

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

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

Step 2. You’ll enter 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.).

Proceed

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

Finish

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 after 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 Partition Assistant Professional on this computer. Click 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 deleted boot partition and other partitions on your hard disk drive.

Notes:

  • AOMEI Partition Assistant Professional can work with Windows 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 condition, you can assign a drive letter to it.