How to Shrink Volume in Windows Server 2022/2025

by John, Updated on: June 8, 2026

Certain OEM servers are configured with only the C drive on the primary system disk. In such scenarios, shrinking the volume to create at least one additional partition for applications is highly recommended to avoid cluttering the core operating system files. Likewise, if a data storage drive contains an oversized volume, it can be shrunk to organize different file types into distinct partitions. To shrink volumes in Windows Server 2022/2025, you can utilize native Windows utilities or specialized third-party software. This article provides a comprehensive guide detailing how to safely reduce partition sizes using both methods.

Shrink volumes in Server 2022/2025 using native utilities

Windows Server 2022/2025 provides two native utilities to assist with shrinking storage volumes. The Disk Management snap-in includes a "Shrink Volume" function with a Graphical User Interface (GUI), while the diskpart tool operates via the command-line prompt. Although these utilities function differently, they share the exact same limitations when shrinking volumes in a Windows Server environment:

  1. They cannot shrink partitions formatted with the FAT32 file system; only NTFS and ReFS are supported.
  2. They can only shrink a partition from right to left, generating the resulting unallocated space strictly on its right side.
  3. They cannot relocate unmovable system files, meaning they may fail to shrink a partition significantly even when a large amount of free space is available.

How to shrink a volume in Windows Server 2022/2025 via Disk Management:

  1. Press the Windows key + X simultaneously on your keyboard and select Disk Management from the menu.
  2. Right-click the target NTFS or ReFS partition and select "Shrink Volume."
  3. The maximum available shrink space is calculated by default; you can input a smaller value if desired, and then click the Shrink button.

How to shrink a volume in Windows Server 2022/2025 using the diskpart command line:

  1. Press the Windows key + R to open the Run dialog box, type diskpart, and press Enter.
  2. Type list volume and press Enter within the command-line window to view all available partitions.
  3. Type select volume X and press Enter (where X represents the specific number or drive letter of the partition to be shrunk).
  4. Type shrink desired=XX and press Enter (where XX specifies the target shrink capacity in megabytes).

As previously explained, both native Windows utilities enforce strict operational limitations when reducing partition sizes. To overcome these restrictions seamlessly and optimize your storage layout, professional third-party software remains the ideal choice.

An efficient method to shrink partitions in Windows Server

Outperforming native Windows utilities, NIUBI Partition Editor offers distinct architectural advantages when shrinking partitions in Windows Server 2022/2025 and legacy environments:

  1. It provides full compatibility for resizing both NTFS and FAT32 file systems, eliminating native tool restrictions on FAT32 modification.
  2. It automatically relocates "unmovable" system files during the process, allowing you to shrink partitions to their absolute minimum footprint.
  3. It gives you the flexibility to generate newly reclaimed unallocated space on either the left or right side of the modified volume, greatly simplifying subsequent extension operations.

How to shrink a volume in Windows Server 2022/2025 without data loss:

  1. Download and launch NIUBI Partition Editor, right-click any NTFS or FAT32 partition, and select "Resize/Move Volume."
  2. Within the pop-up window, drag either the left or right border toward the opposite side to reduce the partition's capacity.
  3. Click "Apply" in the top-left corner of the dashboard to execute the pending volume modifications safely.

Watch the video tutorial below for a comprehensive visual demonstration of how to shrink and extend partitions in Windows Server 2022/2025:

Extend C drive

Outperforming alternative utilities, NIUBI Partition Editor integrates proprietary Virtual Mode, Cancel-at-will, 1-Second Rollback, and Hot-Clone technologies to safeguard server system and data integrity. In addition to shrinking volumes across Windows Server 2022/2025 and legacy editions, the software provides a versatile suite of disk optimization capabilities. These advanced features enable administrators to effortlessly merge, move, convert, clone, defragment, hide, or wipe partitions, as well as scan for bad sectors.

Download