Recover Deleted Partition or Recover file from DELETED/LOST partition

Part1: Steps to Recover Files from Deleted Partition

3 Steps to undelete partition to recover lost files with the free undelete software:

download data recovery software

Step1. Download and install iCare Data Recovery on your PC. Launch the software and select a recovery module “RAW DRIVE RECOVERY”.

select recovery
Step2. Choose the device for scanning and then you just need to wait before the scanning is over.

select drive
Step3. Then, you can select the files you want to recover and save them.

recover files

#1 Undo delete partition TestDisk

TestDisk is a free and open-source data recovery software. It is designed to help recover lost partitions and repair damaged disk structures. Here's a general guide on how to use TestDisk to recover a deleted partition:

  1. Download and install TestDisk: Visit the official TestDisk website ( and download the appropriate version for your operating system.

  2. Launch TestDisk: Run the TestDisk executable file to start the program.

  3. Select the disk: TestDisk will display a list of available disks. Choose the disk that had the deleted partition and press Enter.

  4. Choose the partition table type: TestDisk will prompt you to select the type of partition table. If you're unsure, you can choose the default option, which is usually "Intel."

  5. Analyze the disk: TestDisk will analyze the disk and display its current partition structure, as well as any deleted partitions it detects.

  6. Select the deleted partition: If TestDisk detects the deleted partition, it will be listed. Use the arrow keys to highlight the deleted partition and press "P" to preview the files in it. This step helps verify that the deleted partition is the one you want to recover.

  7. Recover the partition: After verifying the deleted partition, use the arrow keys to select it and press "Enter." TestDisk will prompt you to choose the partition type. If you're not sure, you can choose the default option, which is usually "Primary." Confirm your selection, and TestDisk will attempt to recover the deleted partition.

  8. Write the recovered partition table: If TestDisk successfully recovers the deleted partition, it will display a confirmation message. Select "Write" and confirm your choice. This action will write the recovered partition table to the disk.

  9. Restart your computer: After writing the recovered partition table, restart your computer to apply the changes.

It's important to note that data recovery can be a complex process, and there's no guarantee of success. Additionally, it's advisable to create a backup of your important data before attempting any recovery operation.

Video: how to recover deleted partition using TestDisk

#2 Will delete partition delete files on the partition?

Yes, deleting a partition will generally result in the loss of all the files and data stored within that partition. When you delete a partition, the file system information and directory structure associated with that partition are removed, making the files inaccessible. However, the actual data may still remain on the disk until it is overwritten by new data.

If you accidentally delete a partition and want to recover the files within it, it is crucial to avoid any further read/write operations on the affected disk or partition. This helps minimize the risk of overwriting the deleted data and improves the chances of successful recovery.

In such cases, using free data recovery tools like iCare Data Recovery or TestDisk may help you recover the deleted partition and restore access to your files. However, the success of the recovery process depends on various factors, including the specific circumstances of the deletion and subsequent disk activity.

Remember to always exercise caution and consider seeking professional assistance if you are unsure about performing data recovery operations yourself, or if the data is of critical importance.

#3 How to delete all partitions on a disk and repartition disk?

Part1: CMD to delete all partitions on a disk (non os disk)

To delete all partitions on a non-OS disk using the Command Prompt in Windows, you can follow these steps:

  1. Press the Windows key + R on your keyboard to open the Run dialog box.

  2. Type "cmd" and press Enter to open the Command Prompt.

  3. In the Command Prompt window, type the following command and press Enter to open the Diskpart utility:

  4. A new Command Prompt window titled "Diskpart" will open. In this window, type the following command and press Enter to list all the disks on your system:

    list disk  
  5. Identify the disk number of the non-OS disk on which you want to delete partitions. Take note of the corresponding disk number.

  6. Type the following command and press Enter to select the disk:

    select disk [disk number]  

    Replace [disk number] with the actual disk number of the non-OS disk you want to work with.

  7. Type the following command and press Enter to list all the partitions on the selected disk:

    list partition 
  8. Verify that the listed partitions are the ones you want to delete. Be absolutely sure before proceeding, as this action is not reversible and will result in data loss.

  9. Type the following command and press Enter to delete each partition one by one:

    select partition [partition number]  delete partition 

    Replace [partition number] with the actual partition number of the partition you want to delete. Repeat this command for each partition you wish to remove.

  10. Once you have deleted all the desired partitions, you can exit the Diskpart utility by typing:


Be extremely careful when using Diskpart and make sure you select the correct disk and partitions for deletion. Double-checking the disk and partition numbers is crucial to avoid accidentally deleting the wrong data.

Part2: Free tool to delete all partitions

To delete all partitions on a disk using IM-Magic Partition Resizer Free, you can follow these steps:

  1. Download and install IM-Magic Partition Resizer Free: Visit the official website of IM-Magic Partition Resizer Free ( and download the software. Follow the installation instructions to install it on your system.

  2. Launch IM-Magic Partition Resizer Free: Run the IM-Magic Partition Resizer Free application after installation.

  3. Select the disk: From the list of available disks, choose the disk on which you want to delete all partitions. Make sure you select the correct disk, as the operation is irreversible and will result in data loss.

  4. Check for existing partitions: Before deleting the partitions, it's essential to check the current partition layout on the selected disk. IM-Magic Partition Resizer Free provides a visual representation of the partitions on the disk, including their sizes and labels. Verify that you are selecting the correct disk with the desired partitions.

  5. Delete partitions one by one or all at one: IM-Magic Partition Resizer Free allows you to delete partitions individually as well as deleting them all at once. To delete a partition, select it from the list of partitions displayed by the software. Right-click on the selected partition and choose the "Delete Partition" option from the context menu. Confirm the deletion when prompted. To delete all partitions at once, you may click the disk icon in the software, and then it will show you an option DELETE ALL PARTITIONS.delete all partitions

  6. Repeat the deletion process: Once you delete a partition, repeat the process for the remaining partitions until all partitions on the disk have been removed.

  7. Apply the changes: After deleting all the partitions, you need to apply the changes to make them take effect. Look for an "Apply" or "Commit" button in the IM-Magic Partition Resizer Free interface. Click on it to start the process of deleting the selected partitions. Confirm any further prompts or warnings.

Please note that deleting partitions using IM-Magic Partition Resizer Free will result in data loss. Ensure that you have backed up any important data before proceeding. Exercise caution and carefully follow the software's instructions to avoid unintended data loss or damaging your disk's partition structure.

Always refer to the software's documentation or help menu for specific instructions related to deleting partitions if you encounter any difficulties during the process.

How to repartition a hard drive after deleting all partitions

To repartition a hard drive after deleting all partitions, you can follow these steps:

Note: Repartitioning a hard drive will erase all data on it, so make sure to back up any important files before proceeding.

  1. Open the Disk Management tool:

    • Press Windows Key + R to open the Run dialog box.
    • Type "diskmgmt.msc" (without quotes) and press disk management
    • The Disk Management window will open, displaying all the connected drives.
  2. Locate the hard drive you want to repartition:

    • In the Disk Management window, look for the disk you want to repartition.
    • It will be listed as Disk 0, Disk 1, etc., and will display the size of the disk.
  3. Delete existing partitions:

    • Right-click on each partition on the disk and select "Delete Volume" or "Delete Partition."delete partition
    • Confirm the deletion when prompted.
  4. Create new partitions:

    • Right-click on the unallocated space on the disk and select "New Simple Volume."create a new partition
    • The New Simple Volume Wizard will open. Click "Next."
  5. Specify partition size:

    • Enter the size for the new partition in megabytes (MB) or accept the default size.
    • Click "Next."
  6. Assign drive letter or mount point:

    • Choose a drive letter or mount point for the new partition.
    • Click "Next."
  7. Format the partition:

    • Select a file system (e.g., NTFS) for the partition.
    • You can also provide a volume label (name) for the partition.
    • Check the "Perform a quick format" option.
    • Click "Next" and then click "Finish" to create the new partition.
  8. Repeat steps 4-7 if you want to create additional partitions on the remaining unallocated space.

  9. After creating all the desired partitions, close the Disk Management tool.

Please note that the exact steps may vary slightly depending on your operating system version, but the general process should be similar. Always double-check the actions you're performing to avoid accidentally modifying the wrong drive or deleting important data.

Last updated on Sept 14, 2023

Related Articles

Data Recovery Software > Digital Device Recovery > Howto >Recover file from DELETED/LOST partition