How to Partition a Hard Drive or SSD in Windows
A partition is a defined section of a hard drive or SSD that the operating system treats as a separate volume with its own drive letter. A single 1TB drive can be divided into two 500GB partitions (D: and E:, for example), and each partition appears in File Explorer as if it were a separate drive. Partitioning is useful for separating the operating system from personal data, creating a dedicated drive for games or media, setting up a dual-boot system with two operating systems, or organizing a large drive into logical sections.
When partitioning makes sense
- Separating OS from data. Keeping Windows on one partition (C:) and personal files on another (D:) means you can reinstall Windows without touching your documents, photos, and other files. The data partition stays intact when the OS partition is wiped
- Dual booting. Running two operating systems (Windows and Linux, or two versions of Windows) on the same drive requires separate partitions — each OS needs its own partition to install to
- Dedicated storage. A partition dedicated to games, video editing scratch files, or database storage can be formatted with specific settings (allocation unit size, for example) optimized for that use case
- When it does NOT make sense. Partitioning a small SSD (256GB or less) usually wastes space — the OS partition runs low while the data partition sits half-empty, and you cannot easily move space between them without tools. On small drives, a single partition is usually better
Understanding partition types
Before creating partitions, it helps to understand the two partition table formats:
- GPT (GUID Partition Table). The modern standard. Supports drives larger than 2TB, allows up to 128 partitions, and is required for UEFI boot (which all modern PCs use). Windows 10 and 11 installed in UEFI mode use GPT. If you are setting up a new drive, use GPT
- MBR (Master Boot Record). The legacy format. Limited to drives up to 2TB and a maximum of four primary partitions (or three primary plus one extended partition that can contain multiple logical partitions). MBR is needed only for older systems that boot in BIOS/Legacy mode
To check which format your drive uses: open Disk Management, right-click the disk (the gray bar on the left, not a partition), select Properties, go to the Volumes tab, and look at Partition style.
Method 1: Disk Management (built into Windows)
Windows includes Disk Management, which handles basic partition operations without installing anything:
Creating a new partition from unallocated space
- Right-click the Start button and select Disk Management
- Find the unallocated space on your drive (shown as a black bar). Right-click it and select New Simple Volume
- Follow the wizard: set the size (in MB), assign a drive letter, choose a file system (NTFS for internal drives, exFAT if the partition needs to work with both Windows and Mac), and set a volume label (a name for the partition)
- Click Finish. The partition is created and formatted, and appears immediately in File Explorer with its new drive letter
Shrinking an existing partition to create free space
If the drive has no unallocated space, you need to shrink an existing partition first:
- In Disk Management, right-click the partition you want to shrink (usually C:) and select Shrink Volume
- Windows calculates the maximum amount you can shrink. Enter the amount of space you want to free up (in MB). For example, to free 200GB, enter 204800
- Click Shrink. The partition becomes smaller and unallocated space appears next to it
- Right-click the new unallocated space and create a new partition as described above
Limitations of the shrink function: Windows can only shrink a partition up to the point where unmovable system files are located. If Windows says you can only shrink by a small amount on a partition that has lots of free space, unmovable files (the page file, hibernation file, or system restore points) are preventing further shrinkage. Disabling the page file temporarily, turning off hibernation, and deleting restore points can allow a larger shrink — but this is where third-party partition tools are easier.
Extending a partition
If unallocated space exists immediately to the right of a partition in Disk Management, you can extend the partition to absorb it: right-click the partition, select Extend Volume, and follow the wizard. The unallocated space must be directly adjacent — Disk Management cannot extend a partition using non-adjacent free space.
Deleting a partition
Right-click the partition and select Delete Volume. This erases everything on the partition and converts it back to unallocated space. You cannot delete the partition that Windows is running from (the C: drive) while Windows is running — that requires booting from installation media.
Method 2: DiskPart (command line)
DiskPart is the command-line partition tool built into Windows. It offers more control than Disk Management and works in the Windows Recovery Environment (useful when you cannot boot into Windows):
- Open Command Prompt as administrator
- Type
diskpartand press Enter - Type
list diskto see all connected drives. Identify your target drive by its size - Type
select disk 0(replace 0 with your disk number) - Type
list partitionto see existing partitions - To create a new partition in unallocated space:
create partition primary size=204800(size in MB) - To format it:
format fs=ntfs quick label="Data" - To assign a drive letter:
assign letter=D
DiskPart is powerful but has no undo — a wrong command executed on the wrong disk can erase data instantly. Always verify the disk number with list disk and the partition with list partition before executing destructive commands.
Method 3: Third-party partition managers
Free tools like MiniTool Partition Wizard (free edition) and EaseUS Partition Master (free edition) provide a graphical interface with capabilities beyond what Disk Management offers:
- Move partitions (not just resize them) — essential for rearranging partition order
- Resize partitions using non-adjacent free space
- Convert between GPT and MBR without data loss
- Merge two adjacent partitions into one
- Align partitions for optimal SSD performance
These tools queue changes and show a preview before applying anything, which reduces the risk of accidental data loss compared to DiskPart's immediate execution.
Important considerations
- Back up before partitioning. Any partition operation carries a small risk of data loss — a power failure during a resize, a bug in the partitioning tool, or a user error selecting the wrong partition. Back up important data before making changes
- SSD alignment. Modern partitioning tools automatically align partitions to the SSD's block boundaries (typically 4KB or 1MB alignment). Misaligned partitions cause extra write operations and reduce SSD performance. If using DiskPart or an older tool, verify alignment after creating partitions
- System partitions. Windows creates several small system partitions (EFI System Partition, Recovery partition, MSR) in addition to the C: drive. Do not delete or resize these — they are required for booting and recovery. They are usually hidden and do not have drive letters
- Dynamic disks. Windows offers a Dynamic disk type (as opposed to Basic) that supports spanning, striping, and mirroring across multiple drives. Unless you specifically need these features, keep drives as Basic — Dynamic disks add complexity and are not supported by all tools and operating systems
Partition help in Marion
LuxuriousComputers Repair sets up drive partitions for any purpose — OS and data separation, dual-boot configurations, drive reorganization, and partition recovery when a partition has been accidentally deleted or corrupted.
Need Expert Help?
Our team has handled thousands of cases. Get a fast, honest diagnosis.
Get Started →