FreePartition

FreePartition icon FreePartition

Free, open-source disk management for Windows. No ads.
Recover deleted files and manage your partitions, all in one app.

Platform Target UI Release License Downloads


Download

  1. Open the latest release and download one of the zips:
    • FreePartition-<version>-win-x64-self-contained.zip: runs without installing anything (recommended).
    • FreePartition-<version>-win-x64.zip: smaller, needs the .NET Desktop Runtime 10.
  2. Extract it and run FreePartition.exe. Accept the administrator prompt: raw disk access needs it.

Requires Windows 10 / 11 (64-bit). To copy Windows to another disk you also need a USB drive: see Clone Windows to another disk.

Table of contents

File recovery

Tools → Recover deleted files is the main feature of FreePartition. Pick a drive, or a partition without a drive letter (listed as “Disk 2, partition 5 …”), and scan it; the source is only ever read, and files are always recovered to another drive.

Step What you get
1. Scan NTFS: reads the MFT and lists deleted files with their original names and folders, plus a recovery chance for each. FAT / exFAT / damaged NTFS: carves files by signature, searching the whole drive for known formats (JPEG, PNG, GIF, BMP, WebP, PSD, PDF, DOCX/XLSX/PPTX, ZIP, 7z, MP4/MOV/HEIC, WAV, AVI, SQLite, EXE/DLL). You can also force carving on NTFS.
2. Filter By name, type (pictures, documents, audio, video, archives), size and modified date.
3. Preview Select any file, carved or not, to see it before recovering: the image, the text, or a hex dump. Nothing is written anywhere.
4. Thumbnails Thumbnails… opens a window with every image in the list (respecting the filters) as a thumbnail, so you do not have to click them one by one. Click a thumbnail to check it, drag across several to check or uncheck them all, or Shift+click to take a whole range. Programs (EXE, DLL, SCR, OCX, CPL) show their own application icon, read from the file’s resources in memory. A slider changes the thumbnail size.
5. Recover Check the files and recover them to a folder on another drive. NTFS files keep their original folders; carved files are grouped by type.

Carving is the way to get photos and documents back from a formatted memory card or USB stick, where no file names survive: scan, open Thumbnails…, check the pictures you recognize and recover them. See How recovery works for the details and limits.

What it does

Everything in the Operations panel (and the right-click menu, which mirrors it) and the Tools menu is listed below. Nothing that changes a disk runs until you click Apply.

Overview

Area Feature
Disks and partitions Lists disks, partitions and volumes through WMI, grouped by disk with a graphical map. Tells SSDs from HDDs, flags partitions that are not aligned to 4 KB and draws the hidden Microsoft Reserved (MSR) partition as Reserved (MSR) instead of unallocated space.

Operations

Inspect (read-only)

Operation What it does
Explore partition Opens the selected partition in Windows Explorer.
Properties Usage bar (used/free, and on a drive with Windows the estimated share of the operating system, programs and users) plus partition, NTFS volume and disk details.
Verify wipe Reads a whole volume (also a RAW one) and checks that nothing is left after a wipe: counts the bytes that are not zero, shows where the first one is with a hex dump and names any NTFS / exFAT / FAT32 signature that survived. Verdict: all zeros, random-looking, residual data or inconclusive.
Cluster map Draws a whole volume (also a RAW one) as a grid. Each square is classified as zero, data or unreadable from three 4 KB samples; clicking a square shows its byte range, its NTFS clusters and a hex dump.
Recover files Looks for deleted files on the selected NTFS drive, or carves files by signature on FAT/exFAT and damaged NTFS, with preview and a thumbnail gallery (see File recovery). Also works on partitions without a drive letter.
Recover partitions Looks in the unallocated space of the selected disk for NTFS, FAT32 and exFAT partitions missing from the partition table (read-only) and queues the ones you check to be put back. Only the table is written, never the files (see below).

Create

Operation What it does
Initialize disk Initializes a blank disk as MBR or GPT.
Create partition Creates a partition in the selected unallocated space, formatted as NTFS, FAT32 or exFAT, with a label and drive letter.

Size and position

Operation What it does
Resize/Move partition Extends, shrinks or moves the selected partition within the free space around it: drag the partition to move it, or drag its edges to resize it from either side (a move loses data if interrupted).
Align partition Moves a partition that is not aligned to 4 KB to the nearest 1 MB boundary (data is lost if interrupted).
Clone partition Copies the selected partition, sector by sector, into unallocated space on the same or another disk, and adds it to that disk’s partition table. The original is only read and is not changed.
Merge partitions Merges the selected partition into the one right before it; its files are kept in a folder.
Split partition Splits the selected partition in two, using its free space, by dragging the bar. The files stay on the original drive.

Settings

Operation What it does
Change label Changes the volume label (also on a partition without a drive letter).
Change letter Changes the drive letter.
Convert FAT32 / NTFS Converts the selected partition between FAT32 and NTFS, keeping its files.
Convert MBR / GPT Converts the selected disk between MBR and GPT, keeping every partition and its files: only the partition table is rewritten (see below).
Set active Marks the selected MBR partition as active (bootable).
Hide partition Removes the drive letter; the data stays untouched.
Show partition Gives a drive letter to a hidden partition.

Maintenance

Operation What it does
Check for errors Checks the selected volume for file system errors with chkdsk (scan or repair), also on a partition without a drive letter.

Destructive

Operation What it does
Format partition Formats the partition as NTFS, FAT32 or exFAT. Erases all data on it. Also works on a partition without a drive letter.
Delete partition Deletes the partition. Erases all data on it. Also works on a partition without a drive letter.
Wipe free space Overwrites the free space of the selected drive so deleted files cannot be recovered. The files are kept.
Wipe partition Overwrites every sector of the selected partition so nothing on it can be recovered.
Wipe disk Deletes every partition of the selected disk and overwrites all of its sectors.

Tools

Tool What it does
Recover deleted files (Tools menu and toolbar) MFT scan of NTFS volumes: original path, recovery chance (cross-checked against $Bitmap, and marked Overwritten (zeros) when the start, middle and end of the file are all zeros, as after a wipe; those files cannot be checked for recovery) and recovery to another drive. Results are a folder tree with check boxes that recreates the original folders, with filters by name, type, size and modified date, a read-only preview (image, text or hex dump) of the selected file and a Thumbnails… gallery of all the images (click, drag or Shift+click to check them). Also carves files by signature. Shows a TRIM warning when the drive is on an SSD.
Disk health (S.M.A.R.T.) (Tools menu and toolbar) Read-only report per disk: overall level, temperature, power-on time and wear, with the ATA S.M.A.R.T. attribute table or the NVMe health log.
Clone Windows to another disk (Tools menu and toolbar) Copies an installed Windows to another disk so the new disk boots on its own: initializes the destination, creates the boot partition, copies Windows and the recovery partition and writes the boot files. Runs only from the WinPE build (a bootable USB drive), where the source Windows is not in use; in a normal Windows it shows how to download the WinPE ISO from the releases page and make the bootable USB drive (see below).

Not implemented yet: SSD firmware Secure Erase.

Clone Windows to another disk

First time? Follow the step-by-step guide, written for non-technical users, with the problems you may meet and how to solve them: English · Español · Português (Brasil).

Windows cannot be copied consistently while it is running, so the clone runs only when FreePartition runs from the WinPE build (the app detects it). In a normal Windows the same button opens a window that explains how to get there:

  1. Download the ready-made WinPE image: FreePartition-WinPE.iso, attached to the latest release (or build it yourself with build-winpe.ps1).
  2. Write it to a USB drive of 4 GB or more (it is erased): with Rufus, partition scheme MBR (target BIOS or UEFI) and file system FAT32; with Ventoy, just copy the ISO to the drive.
  3. Connect the destination disk, shut Windows down completely and start the PC from the USB drive (boot menu, usually F12, F11, F8 or Esc), in UEFI mode for a UEFI Windows or BIOS mode for a BIOS one.

FreePartition opens by itself. Use Tools → Clone Windows to another disk… or the Clone Windows toolbar button. A single window guides you and shows each step with its status (OK, Skipped or Failed):

Step What it does
1. Check the disks The destination must be a different disk, large enough for the boot partition, Windows and the recovery partition.
2. Erase and initialize Wipes the destination disk and initializes it as GPT (UEFI source) or MBR (BIOS source).
3. Create the boot partition EFI system partition plus MSR on GPT; an active System Reserved partition on MBR.
4. Copy the Windows partition Sector by sector, the same copy as Clone partition.
5. Copy the recovery partition Creates it, copies its files and points the copied Windows to it (reagentc). Skipped when the source has none; a failure here is only a warning, which tells you to run reagentc /enable in the new Windows if needed.
6. Write the boot files bcdboot; if it refuses the copy (for example Windows 7 from a recent WinPE), the source’s own boot files are copied and its boot store is repointed to the new disk.
7. Verify the result Checks that the boot loader and the boot store exist and that the default entry points to the copy.

Screenshots

FreePartition main window

FreePartition Create Partition FreePartition Move Partition FreePartition Resize Partition
FreePartition Split Partition FreePartition Recover Delete files FreePartition Disk Health

How to try it safely (test VHD)

Run in an elevated PowerShell. This creates a throwaway 2 GB NTFS disk you can scan, format and delete files on without risking real data:

$vhd = "$env:USERPROFILE\FreePartition-test.vhdx"
@"
create vdisk file="$vhd" maximum=2048 type=expandable
select vdisk file="$vhd"
attach vdisk
convert gpt
create partition primary
format fs=ntfs label=FreePartition_TEST quick
assign
"@ | diskpart

Copy some files to the new drive, delete them, then scan that volume in FreePartition. When you are done, detach the disk and delete the file:

@"
select vdisk file="$vhd"
detach vdisk
"@ | diskpart
Remove-Item $vhd

This uses diskpart, which ships with Windows, so nothing extra needs to be installed. You can also create the VHD from Disk Management → Action → Create VHD.

How recovery works

  1. Reads the boot sector → cluster size and where the MFT starts.
  2. Reads record 0 ($MFT) and follows its data runs, so a fragmented MFT works too.
  3. For each record: applies the fixups, reads $FILE_NAME (name and parent folder) and $DATA. Records without the “in use” flag are deleted files.
  4. Rebuilds the original path from the parent folders (in use or deleted).
  5. Cross-checks the file’s clusters against $Bitmap: clusters still free = data probably intact.
  6. Recover = copy the clusters (or the content resident in the MFT) to a file on another disk.

File carving

The Carve files by signature option ignores the file system and walks the whole volume looking for the bytes each format starts with, then works out where each file ends from its own structure. Supported: JPEG, PNG, GIF, BMP, WebP, PSD/PSB, PDF, DOCX/XLSX/PPTX, ZIP, MP4, MOV, M4A, 3GP, HEIC, AVIF, WAV, AVI, 7z, SQLite and EXE/DLL.

It is on by default for FAT/exFAT drives, and the scan switches to it by itself when the NTFS MFT cannot be read.

Lost partitions

Recover partitions finds partitions whose entry is gone from the partition table (a deleted partition, a corrupted table, a disk that shows as uninitialized):

  1. Looks in the unallocated ranges of the disk for the boot sector of an NTFS, FAT32 or exFAT volume, and keeps only partitions that fit entirely in the free space.
  2. A partition whose backup boot sector (at the end of the volume) also matches is high confidence and checked by default; one with only the first boot sector is low confidence and left unchecked.
  3. Add to queue queues a Restore partition for each checked result. On Apply it re-checks the boot sector and that nothing else occupies the range, then writes the table entry directly (New-Partition would zero the start of the partition and destroy the boot sector). The volume is not formatted, so its files come back as they were.

Safety

The guarantees the code is built around:

Known limitations

Build from source

Requires the .NET SDK 10.

git clone https://github.com/rfiori/FreePartition.git
cd FreePartition
dotnet build
dotnet test
dotnet run --project src/FreePartition.Wpf

The app requests elevation (UAC) on startup. If you run it from Visual Studio, open Visual Studio as administrator.

Using a different .NET version The default target is `net10.0-windows`, set in a single place. Edit `TargetFramework` in [`Directory.Build.props`](/FreePartition/Directory.Build.props), for example to `net8.0-windows`.
If your tooling does not support the .slnx solution format `.slnx` needs Visual Studio 2022 17.13+ or a recent `dotnet`. To generate a classic `.sln`: ```bash dotnet new sln --format sln -n FreePartition dotnet sln add src/FreePartition.Core src/FreePartition.Wpf tests/FreePartition.Tests ```

Contributing

Issues and pull requests are welcome.

License

MIT — see LICENSE.

Privacy policy: English · Español · Português (Brasil). FreePartition collects no data. Its only network call is an optional check for a new version on GitHub (Help > Check for updates on startup).

FreePartition is an independent project and is not affiliated with any company.