Use this topic when drive-space layout is confusing, extend/shrink operations fail, boot/recovery partitions are involved, or you must map a volume back to exact disk extents.
Partitions
A partition is a defined range of sectors on a disk. Its offset, size, type and role are partition-table metadata; a partition can exist without a mounted or usable filesystem.
1. Get-Partition -DiskNumber <n>.
2. Extend: Resize-Partition -Size (Get-PartitionSupportedSize).SizeMax.
3. Recovery partition after C: blocks extension.
4. Hidden/system partitions — don't delete.
5. Verify.
partition table → partitions → volumes
Map the partition to its volume/filesystem and verify the intended role before any destructive or resize operation.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Do not delete small unlabeled partitions merely because they lack a drive letter. Do not assume free space shown inside C: is available to create another partition. A successful partition resize still requires filesystem/application verification.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Inventory the responsible disk and full partition layout before modifying one entry. Record offset and size, identify special-purpose partitions, correlate the target with its volume, and confirm where unallocated space actually sits. After resize/create/delete, re-query the same disk and verify volume/filesystem state.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Partition ≠ volume ≠ filesystem.
- Partition numbers are scoped to a disk and can change after layout operations.
- GPT can identify partition types with GUIDs; MBR uses legacy type metadata and primary/extended/logical concepts.
- Free space inside a filesystem is different from unallocated disk space outside partitions.
- Extension normally requires suitable contiguous/unallocated layout as required by the specific operation and storage model.
Get-Disk— disks, partition style, healthGet-Partition— partitionsGet-Volume— volumes, filesystem, free spaceGet-PhysicalDisk | Select FriendlyName,HealthStatus,OperationalStatus— physical disk healthdiskmgmt.msc— Disk Management
ReferenceWhat it is1 section · depth on demand
Core model
Partitions are entries in GPT or MBR metadata describing regions of a disk. Windows uses them for data volumes as well as EFI System, recovery and other special-purpose partitions.
ReferenceImportant terms & boundaries2 sections · depth on demand
Storage boundary
Separate unallocated capacity from filesystem free space. Unallocated space belongs to the disk layout and is not part of a partition; filesystem free space is inside a formatted volume. Many resize misunderstandings come from mixing those two layers.
In depth
Partitions on Windows:
New-Partition -DiskNumber 2 -Size 200GB -DriveLetter E
Resize-Partition -DriveLetter E -Size (Get-PartitionSupportedSize -DriveLetter E).SizeMax
Resize-Partition -DriveLetter E -Size 150GB # shrink (NTFS)
Remove-Partition -DiskNumber 2 -PartitionNumber 2
Add-PartitionAccessPath -DiskNumber 2 -PartitionNumber 2 -AccessPath D:\Mounts\Data2
Shrinking is limited by unmovable files (page file, shadow copies, MFT, hibernation file) — Get-PartitionSupportedSize shows the minimum. Extending requires adjacent unallocated space after the partition.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage → Partitions. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/storage/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Storage → Partitions reference map
Fast lookup boundaries for Storage → Partitions.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| DiskNumber | Owning disk | verify disk identity first |
| PartitionNumber | Partition index on disk | not durable across all edits |
| Offset/Size | Physical extent metadata | does not prove content |
| Type/GPT type | Partition role metadata | not filesystem health |
| AccessPaths | Mapped mount paths | can be absent for valid system partitions |