How to Recover a Deleted Partition on Windows: All the Methods

Approved by

Recover partitions in Windows 10

Partitioning a hard drive comes with many benefits. This includes being able to run more than one operating system on a single computer, the ability to have one partition for more confidential data while the other could be more casual, or you may have multiple people using the same computer and want your data to be kept separate.

Whatever the case may be, deleting a partition will delete with it any data that is on it. You may have deleted a partition and then realized that you shouldn’t have as there were important files on it. Can you recover a deleted partition? The short answer is yes!

Why the Partition May Be Deleted

Most of the time when a partition is missing or deleted, it is not done by the user but is the cause of some other sort of event. The most common and main reasons that your partition could either have been lost or is not showing up anymore are:

Reason Description
👤 Accidental deletion If you’re not sure what you’re doing, or you’re making quick adjustments in Disk Management or DiskPart and make a mistake, you can end up accidentally deleting the partition entirely.
🗃️ Partitioning error While you’re shrinking a partition, you may enter the incorrect value and shrink it more than you intended to. Or, your computer may crash while you’re trying to extend or shrink the volume, causing it to become corrupted or damaged.
💥 Power failure Sudden power failure can interrupt important processes, like formatting, that will leave your partition in a corrupted or RAW state. If you were in the process of writing data to the drive, it can also cause some of your files to become corrupted and unusable.
💻 OS update If your computer shuts down before it finishes updating the operating system, a number of issues could occur, like your system partition becoming corrupted.
📊 Partition table corruption When a partition table becomes corrupted, the operating system will not know how to locate the partitions on the drive. Therefore, you will lose access to all of the data on those partitions until the partition table is repaired or restored.
💿 Hardware failure Sudden hardware failures, like a failing power supply, hard drive motor, or any other moving parts, can suddenly stop critical processes on your computer and result in the corruption of your hard drive.
🕷️ Malware Malware, like viruses, can be designed to intentionally damage the partition table of your drive (in addition to other areas of your computer). In such cases, you may find some of your partitions (and the data on them) become lost or encrypted.
🗄️ Firmware Issues Drivers are an essential firmware component of your storage device. Outdated or corrupted storage device drivers will break down communication between your drive and Windows. Until it’s fixed, you won’t be able to access the data on the drive.

Unless the hard drive has experienced physical damage, the partition should be recoverable. The quicker that you act, the higher of a chance that you have of successfully recovering the missing partition and the data that is on it.

If you notice a partition or files are missing from your computer, act quickly to ensure successful data recovery!

How to Recover Specific Files from a Deleted Windows Partition

Before you jump straight into troubleshooting, it’s important that you recover what data you can, as you risk it being overwritten and becoming unrecoverable. However, the data recovery tool that you use must be able to get the job done effectively. While there’s never a 100% guarantee that you’ll get your data back, the odds can be increased if the software is well-made. If you only intend to recover specific files from the lost partition, we suggest Disk Drill.

Disk Drill is a very competent recovery solution that equips you with all the essential tools to get your data back, even if it seems like it’s lost forever. Here are some of the main reasons why we recommend Disk Drill for recovering data from a deleted Windows partition:

  • Easy to use – Disk Drill has a streamlined and accessible user interface that’s easy to use for a user of any level. Recovering your data can be done in just a few clicks.
  • Great support – Disk Drill has the ability to recover data from almost any type of partition, including RAW and unrecognized drives, and supports all commonly used Windows file systems, such as FAT16, FAT32, exFAT, and NTFS.
  • Multiple scan modes – The program combines multiple scan types (quick, smart, and signature) into a single click, allowing you to discover as much data as possible without performing multiple scans manually.
  • Byte-to-byte backups – You can create byte-to-byte image backups for free within the program to protect your data from becoming permanently lost if the drive is unstable and fails during the recovery process.
  • Free 500 MB data recovery – You can recover up to 500 MB of data for free before you need to upgrade to a paid license. Additionally, other features like Drive Backup and S.M.A.R.T. Monitoring are completely free.

We’ve included some step-by-step instructions below to help you recover the data from a deleted Windows partition using Disk Drill.

Step 1. Download and install Disk Drill for Windows.

Keep in mind that when installing Disk Drill you will have the best chance of success by installing it onto an external device such as an external hard drive or thumb drive. We want to maintain wear and tear on the storage device that we’re trying to recover data from so that the data on it is not overwritten.

Step 2. Scan your Windows computer.

After launching Disk Drill, making the Data Recovery tab active will show us all of the devices/disks that are connected to our Windows machine. To start a scan, click on the “Search for last data” option in the lower left-hand corner of the screen.

Selecting the disk to scan.

Step 3. View the recovered data.

As our computer is being scanned, we can see that Disk Drill will start displaying the lost information that it has found with our partition being one of those items! You can wait for the scan to finish or click “Review found items” in the upper right-hand corner and any files if you need them right away.

Reviewing the data that Disk Drill found.

Step 4. Choose what to recover.

Clicking on the lost partition, I can view the files that are located on it that Disk Drill has been able to recover for me. I am only looking to recover certain files off of it as there were some photos that I want to recover and put back onto my computer.

Selecting data for recovery.

Step 5. Preview selected files before recovering.

I can double-click on a file to enter the “preview” mode and look at the image before recovering it. Once I have found and decided what files I want to recover, I can check the boxes in the lower right-hand corner as seen in the screenshot below. This helps with those files that don’t have a specific name tailored to them.

Previewing data with Disk Drill.

Step 6. Recover your missing data.

I can then click “Recover” and Disk Drill will take just a few moments for the deleted files to be back on my computer after I specify the location of the folder I want the files restored to.

Finishing Disk Drill recovery.

Step 7. Verify the recovery was successful.

After the recovery has finished, Disk Drill will give me a confirmation notification along with the option to open the folder I chose for recovery.

Checking the recovery overview.

How to Recover the Entire Partition

When you’ve safely recovered your data, you can get to work on either fixing or recreating the partition so you can once again store data on it.

There are multiple ways you can go about recovering the partition. Some of the methods listed below will guide you through creating a brand new partition, whereas others will guide you through recovering the partition by fixing the underlying problem and restoring the data along with it.

It’s important that you have recovered your data at this point, as some of the methods below may cause your data to become permanently unrecoverable.

Method 1:Confirm the Disk Is Initialized

Before a drive can be partitioned, it first needs to be initialized. If the drive is marked as Not Initialized, it means either the drive is missing a valid disk signature (because it has never been initialized and formatted) or the formatting has broken due to corruption. Checking this allows you to plan what your next steps will be.

If you find that the disk in the Not Initialized state, initializing the disk will delete all of the files on it. Instead, recover the partition using TestDisk as it will recover the partition as well as the data on it.

  1. Right-click Start and click Disk Management.Open Disk Management.
  2. If your disk says Not Initialized, it means your partition will no longer be accessible and you should proceed with recovery.Confirming the status of the drive.

Method 2:Assign or Change Drive Letter

Windows automatically assigns drive letters to storage devices you connect to your computer. If the drive letter has dropped, or if Windows failed to assign one, assigning a drive letter may be enough to restore access to the partition. Moreover, changing the existing drive letter if one is assigned may also rectify the issue.

This method is only viable if the partition is still visible in Disk Management. If it’s not, you will need to create a brand new partition using the next method instead.

  1. Right-click Start and click Disk Management.Open Disk Management.
  2. Right-click the volume if the partition is visible. Select Change Drive Letter and Paths.Change drive letter.
  3. Click Change if a drive letter is already assigned. If there is no drive letter, click Add instead.Add or change drive letter.
  4. Select a new drive letter from the dropdown menu and click OK.Selecting a drive letter.
  5. Click Yes if prompted to confirm the drive letter change.Confirm drive letter change.

Method 3:Recreate Partition from DiskPart

DiskPart is a command-line disk management tool that can be used to create partitions from unallocated space. Using a number of commands, you can set up a partition exactly how you want it.

Much of what we’ll be doing with DiskPart can also be achieved with Disk Management. So, if you prefer setting up a partition using a user interface, try the next method instead.

Follow these steps to create a partition using DiskPart:

  1. Right-click Start and click Terminal (Admin).Opening Terminal.
  2. Type diskpart and press Enter.Running DiskPart.
  3. Type list disk and press Enter. Make note of your disk number.Listing the available disks.
  4. Type select disk *. Replace * with your disk number. Press Enter.Selecting the disk.
  5. Type create partition primary and press Enter. This will create a blank new partition for us to work with. Alternatively, if you want the partition to be a specific size, you can do so by adding the size parameter (measured in megabytes). For example: create partition primary size=10000 will create a 10 GB partition.Creating a partition.
  6. Type assign and press Enter. This will assign a drive letter to the volume.Assigning a drive letter.
  7. Type format fs=ntfs quick and press Enter. You can use another compatible file system if you don’t want to use NTFS.Formatting with NTFS.
  8. Type exit and press Enter.

Once you run the last command, you can exit Terminal and verify that the new partition has been set up.

Method 4:Recreate Partition Using Disk Management

In some cases where your partition has disappeared, it may have been replaced with what’s known as unallocated space. Unallocated space is space that hasn’t been formatted with a file system, rendering it unusable. If your partition has been damaged, it could have reverted back to unallocated space. Therefore, before you can use it again, you must format it with a file system.

Unallocated space doesn’t necessarily mean that your data is gone, just that it’s not reachable as Windows cannot read the partitioning info for that section of the drive. You can recover this data using the recovery method we mentioned earlier, then create a new partition and move the data back across afterward.

Follow these instructions to format the unallocated space with a file system so you can use it again.

  1. Right-click Start and click Disk Management.Open Disk Management.
  2. Right-click the unallocated space and click New Simple Volume.Creating a new volume.
  3. Click Next.Skipping the new volume overview.
  4. Specify how large you want the volume to be. Click Next.Specifying the volume size.
  5. Choose a drive letter and click Next.Selecting a drive letter.
  6. Choose a label for your volume and make sure it’s being formatted with the NTFS file system. Ensure Perform a quick format is ticked. Click Next.Formatting the partition.
  7. Click Finish.

Method 5:Use TestDisk

If you’re recovering a partition that’s simply used for data storage, you can use TestDisk to recover the entire partition, as well as the data on it. TestDisk is an open-source partition recovery tool. It’s trusted in the recovery community for its efficiency and favored by many because it’s free.

It can scan your drive for any lost partitions and recover them to their original state, either by repairing the corrupted partition table or rewriting the partition from an existing backup.

  1. Download TestDisk and extract the contents. Open testdisk_win.
  2. Press Enter on the Create option to create a log of the actions you’re performing.Creating a log.
  3. Highlight the disk that contains the lost partition and press Enter.Selecting the drive to scan.
  4. Highlight your partition table type. TestDisk automatically selects the one it detects. Press Enter.Choosing the partition table type.
  5. Press Enter on the Analyse option.Searching for lost partitions.
  6. Press Enter again to start the Quick Search.Quickly searching for partitions.
  7. Select the lost partition and press Enter.Selecting the missing partition.
  8. Move to the Write action and press Enter to restore the partition.Restoring the partition.
  9. Press Y to confirm.

How to Restore Accidentally Deleted Recovery Partition

The recovery partition is rarely used unless it’s necessary, but it’s an essential part of your operating system that helps you recover your computer to a working order if your system drive encounters any issues. It isn’t assigned a drive letter and usually sits at the end of all your partitions on your system drive.

This partition can be deleted quite easily through using the delete partition override command, but recovering it is a bit more of a challenge. However, it’s not impossible, as you can restore it using your Windows installation media.

If you no longer have your original Windows installation media, you can create a bootable USB and use that.

If you’ve accidentally deleted the recovery partition on your system drive, we’ll show you how to create a new one.

  1. Connect your Windows installation media.
  2. Right-click Start and click Terminal (Admin).Opening Terminal.
  3. Type mkdir c:\temp and press Enter.Making a directory.
  4. Type dism /mount-wim /wimfile:"d:\sources\install.wim" /index:1 /mountdir:"c:\temp" /readonly. You may need to update the drive letter with the one assigned to your Windows installation media. Press Enter.Mounting the Windows image.
  5. Copy (or move) Winre.wim from C:\temp\Windows\System32\Recovery to C:\Windows\System32\Recovery\.Moving the WinRE file.
  6. Type DISM /unmount-Wim /MountDir:"c:\temp" /discard and press Enter.Dismounting the Windows image.
  7. Type diskpart and press Enter.Running DiskPart.
  8. Type list disk and press Enter. Make note of your system disk’s number (usually Disk 0).Listing the available disks.
  9. Type select disk *. Replace * with your disk number. Press Enter.Selecting the disk.
  10. Type list partition and press Enter. Make note of the primary partition you will be shrinking to make space for the recovery partition.Listing the partitions.
  11. Type select partition *. Replace * with your partition number. Press Enter.Selecting the partition.
  12. Type shrink desired=700 and press Enter.Shrinking the partition.
  13. Type create partition primary and press Enter.Creating a primary partition.
  14. Type format quick fs=ntfs label="winRE" and press Enter.Formatting the partition.
  15. Type set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac and press Enter.Setting the partition ID.
  16. Type exit and press Enter.Exiting DiskPart.
  17. Type reagentc /enable and press Enter.Running the reagentc command.

After running the final command, you can close Terminal. If you open Disk Management, you should now see the recovery partition at the end of the disk.

How Can I Protect My Partition From Going Missing?

It may not be possible to guarantee with 100% certainty that your partition will never go missing again, but there are some steps you can take to reduce the chances of it happening again and make sure your data stays safe. Here are some useful tips you can use to help protect your partitions.

  • 💾 Back up your data. Make a backup of your computer’s internal/external hard drives. You can plug in an external hard drive and use the Windows backup feature to prevent this from happening from here on out. Windows backup comes installed with your windows machine and is free to use. You can get reliable SSD backups that can be thrown into a bag as they don’t have moving parts for fairly reasonable prices these days. Making sure that your computer uses SSDs, in general, are more reliable than spinning hard drives.
  • Invest in a surge protector. If a power surge was the cause of the partition issue, invest in a surge protector. They offer protection against power surges and most distance lightning strikes. While they can’t protect against direct lightning strikes, they do a good job of offering protection against everything else.
  • 🔋 Use an official charger. If you’re using a laptop, make sure that you’re using the charger that came from the manufacturer! Yes, getting one from a 3rd party vendor may save you some money in the long run, but it is not worth the frustration of losing precious files and photos.
  • 🚫 Avoid writing new data. If you do notice that your partition or other data is missing, don’t load new files onto your computer as this can overwrite them and make them unrecoverable. Also, make sure you do the data recovery as soon as you notice that the partition is no longer there to ensure that you have the highest chance of recovering your data.

Knowing how to recover a lost partition or the data off of it, is a valuable skill to know as computers do fail and mistakes do happen. With the right tools and knowledge though, you have a better chance of recovering your data should that happen.


Yes, there are multiple ways to recover a deleted partition. Our advice is to use a data recovery tool first to ensure your data is safe. Then, you can either manually recreate the partition with Disk Management or DiskPart, or try recovering the entire partition using software like TestDisk.
When the recovery partition is deleted, you will no longer have a means of performing diagnostics on your system drive using Windows Recovery Environment (WinRE).
When a new build of Windows 11 is released, a new recovery partition is created if the existing one is not big enough for the upgrade. You can use the command reagentc /info to determine what recovery partition is actually being used and delete the unused ones.