How to Extend C: Drive and Hard Disk in Windows Server (2016-2025)

Premium services since 2010

Trusted by thousands of businesses worldwide • 99.9% Uptime Guarantee • Crypto Accepted

Table of Contents

When you upgrade your storage plan or purchase additional disk space for your Windows VPS, RDP server, or dedicated server, the new capacity is assigned to your virtual disk immediately on the hypervisor. However, Windows keeps this newly added capacity as Unallocated Space until you extend your existing C: drive or format it into a secondary data drive.

This step-by-step guide explains how to allocate unused storage using native Windows Disk Management or PowerShell across all modern Windows Server versions (2016, 2019, 2022, 2025) and Windows 10/11 without rebooting or losing any data.

Extend the hdd in Windows 2008, Windows 2012, Windows 2016, Windows 7 and Windows 10

When do you need to extend your hard drive?

  • Storage Upgrades: You upgraded your VPS disk from 50 GB to 100 GB in your client portal.
  • C: Drive Full Warning: Your Windows system partition is running low on free space and needs immediate expansion.
  • Initial Setup: Provisioned disk size appears smaller in Windows Explorer because unpartitioned space is sitting idle.

Method 1: Extend volume using Windows Disk Management (GUI)

Step 1: Open Disk Management

  1. Connect to your server over Remote Desktop (RDP) with Administrator rights.
  2. Press Win + X on your keyboard and select Disk Management (or press Win + R, type diskmgmt.msc, and hit Enter).
  3. Alternatively, search for “Create and format hard disk partitions” in the Windows search bar:
    Open Disk Management partition tool in Windows

Step 2: Locate your unallocated space

In the bottom pane of the Disk Management window, locate Disk 0. Next to your primary (C:) partition, you will see a black bar labeled Unallocated showing your extra gigabytes.

Tip: If the unallocated space does not appear immediately after an upgrade, click Action > Rescan Disks from the top menu bar.

Step 3: Extend your C: Drive

  1. Right-click on the (C:) partition box and select Extend Volume…:
    Right click C drive and select Extend Volume
  2. The Extend Volume Wizard window will open. Click Next.
  3. By default, Windows selects all available unallocated space. Leave the default maximum value selected and click Next.
  4. Click Finish. Your C: drive expands instantly with zero downtime.

Alternative: Create a separate secondary data drive (D:)

If you prefer keeping personal files, database logs, or backups separate from your Windows OS installation:

  1. In Disk Management, right-click directly on the black Unallocated space box.
  2. Select New Simple Volume….
  3. Click Next, specify volume size (or use full remaining space).
  4. Assign a drive letter (e.g. D: or E:).
  5. Select NTFS file system, leave allocation unit size as Default, enter volume label (e.g. Data), and click Finish.

Method 2: Extend disk instantly using PowerShell (Fastest)

For system administrators managing headless servers or running remote terminal scripts, you can extend your volume in one single command:

  1. Open PowerShell as Administrator.
  2. View current partition boundaries and maximum supported size:
    Get-PartitionSupportedSize -DriveLetter C
  3. Resize the partition to occupy all maximum available space:
    Resize-Partition -DriveLetter C -Size (Get-PartitionSupportedSize -DriveLetter C).SizeMax

Troubleshooting: Why is “Extend Volume” greyed out?

In Windows Disk Management, the Extend Volume option is only clickable if the Unallocated space is positioned directly adjacent to the right of the partition you want to expand.

  • Recovery Partition in between: On some default Windows installations, a 500MB Recovery Partition sits between C: and the Unallocated space.
  • Fix: You can either use PowerShell commands above (which bypass the limitation), or use free disk tools like AOMEI Partition Assistant / MiniTool Partition Wizard to move the recovery partition to the end of the disk.

Never Miss an Update

Get expert tips, tutorials, and hosting insights delivered to your inbox weekly. Join 10,000+ subscribers!
🔒 We respect your privacy. Unsubscribe anytime.