ISO-certified Class 100 cleanroom • Secure chain of custody • 30,000+ successful recoveries
ClearQuote Data Recovery
Home›Guides›Data Loss
Data Loss

Partition Recovery: Fix an Unallocated Hard Drive Safely

Updated October 2, 2026 •6 min read

Your drive letter has disappeared, and Disk Management shows the space as a black bar labeled Unallocated. Windows is offering to create a new volume. Don’t. An unallocated hard drive almost always still holds your files; what’s missing is the map that tells Windows where they are. Partition recovery is about finding that map again, or copying the files out without it, before anything new is written to the disk.

What “Unallocated” actually means

Every drive has a partition table at the start of the disk (MBR on older systems, GPT on newer ones) that records where each partition begins and ends. “Unallocated” means Windows can’t find a valid partition entry for that space. The files themselves usually haven’t been touched.

It’s worth being precise about what you’re seeing in Disk Management (right-click Start → Disk Management):

  • Part of the disk is unallocated and a partition you used to have is gone. That’s a classic lost or deleted partition.
  • The whole disk is unallocated but shows its correct capacity. The partition table is likely missing or damaged.
  • The disk says “Unknown, Not Initialized.” That’s a related but distinct problem; see disk unknown, not initialized.
  • The partition is there but shows as RAW. The partition table is fine and the file system is damaged instead; see RAW drive and CHKDSK not available.
  • The capacity is wrong, such as 0 bytes, a few gigabytes, or a number that doesn’t match the label. That points to a hardware or firmware fault, not a partition problem.

Common causes of a lost partition

  • An accidentally deleted partition, often while reinstalling Windows or tidying up in Disk Management.
  • A damaged partition table after a power cut, a crash during a write, or malware.
  • A failed resize, move, merge or convert in a partition manager that was interrupted partway through.
  • MBR or GPT damage, including a botched conversion between the two. See MBR vs GPT for how they differ.
  • A failing drive that can no longer read the start of the disk reliably, so the partition table comes back unreadable.
  • Encryption. Some external drives encrypt data in the USB enclosure itself. Take the bare drive out and connect it directly, and it can appear unallocated or uninitialized because the data is unreadable without that original enclosure. A locked BitLocker volume can also look unfamiliar; see finding your BitLocker recovery key.
  • Moving a drive between a USB enclosure and an internal connection. Some enclosures report a different sector size to Windows than the drive does internally, so a partition created in one can look missing in the other. Putting the drive back in its original enclosure often makes it reappear.

What not to do

Windows will helpfully offer several options that can turn a recoverable problem into a much harder one:

  1. Don’t click “New Simple Volume.” Creating a new partition writes a fresh partition table and, usually, a new file system over the start of your data.
  2. Don’t initialize the disk if Windows asks. Initializing writes a new, empty partition table.
  3. Don’t format anything on the drive.
  4. Don’t convert the disk between MBR and GPT, or between basic and dynamic.
  5. Don’t run diskpart clean or any command you found in a forum without understanding exactly what it writes.
  6. Don’t install recovery software onto the affected drive.

Step 1: Check whether the drive is healthy

Before attempting any partition recovery, make sure you’re not dealing with failing hardware. Scanning a dying drive for hours can push it over the edge.

  • Check SMART data with a free tool like CrystalDiskInfo. Our CrystalDiskInfo guide explains what to look for; warnings about reallocated, pending or uncorrectable sectors mean stop.
  • Listen for clicking, beeping or grinding, and notice whether the drive makes Windows freeze or takes minutes to appear.
  • Confirm the capacity in Disk Management matches the drive’s label.

If any of these look wrong, stop here. That’s a hardware problem, and software will make it worse.

Step 2: Image the drive first if the data matters

If the files are important, the safest path is to make a sector-by-sector copy (an image) of the drive onto another drive with enough space, then work on the image. Every recovery attempt then happens on the copy, and your original stays untouched if something goes wrong. Tools such as ddrescue are built for this, though they’re aimed at technical users.

Step 3: Scan for the lost partition with read-only tools

Most reputable recovery programs include a lost-partition or deep-scan mode that searches the disk for the signatures of old partitions and file systems. The safest approach is:

  1. Install the software on a different drive.
  2. Scan the unallocated drive (or its image) for lost partitions.
  3. Browse the partition the tool finds and check that your folders and files look right.
  4. Copy the files to a different drive. Don’t “restore” or “rebuild” the partition in place until your data is safe elsewhere.

TestDisk is a free, open-source tool that is well known for this job. It can search for lost partitions, let you list and copy files from them, and rewrite the partition table. It’s powerful, text-based and unforgiving: writing the wrong partition structure can make things worse. Treat it as an advanced tool, use it on an image when you can, and copy your files out before you let it write anything. Read is data recovery software safe? for more on choosing tools.

When partition recovery needs a lab

Software can rebuild what’s logically missing. It can’t fix a drive that can’t read its own sectors. Send the drive to a lab if:

  • SMART shows serious warnings, or the drive clicks, beeps or disconnects.
  • The capacity is wrong or shows as 0 bytes.
  • Scans stall, crawl or report large numbers of read errors.
  • A partition tool or Windows has already written over part of the disk and software scans find only fragments.

The bottom line

An unallocated hard drive usually still contains your files. Don’t create a new volume, initialize, format or convert it. Check the drive’s health first, image it if the data matters, then use a read-only tool to find the lost partition and copy your files to another drive before repairing anything.

If the drive is failing, has the wrong capacity, or software can’t find your partition, our hard drive recovery service can help. It’s one flat $1,200 price for a single device, with free prepaid shipping, and you pay nothing unless the recovery succeeds.

Get your data back for one clear price.

Confirm online, ship free, and pay nothing unless we succeed.

Confirm & get my free label