Windows VPS & RDP

Use added disk space on Windows (extend C: or a new drive)

Rescan disks, then extend C: into the new space or initialise and format a new disk, with Disk Management or PowerShell.

IntermediateWindows server2 min read

After you add disk space to your server, for example with an NVMe disk add-on, Windows does not use the new space automatically. Depending on how the space is added, it appears either as unallocated space on the existing disk or as a new disk. This guide covers both.

Warning: Back up anything important first (guide). Never delete a partition to make room unless you know exactly what it holds; deleting the wrong one can make the server unbootable.

1. Look at the disks

  1. Press Windows + R, type diskmgmt.msc and press Enter.
  2. Choose Action → Rescan Disks so Windows picks up the change.

Now look at the bottom panel:

  • A black Unallocated block directly to the right of C: → follow Case A.
  • A new Disk 1 marked Not Initialized or entirely unallocated → follow Case B.

Case A: extend the C: drive

  1. Right-click C: and choose Extend Volume.
  2. Click Next, accept the maximum size offered and click Finish.

Or in PowerShell as Administrator:

PowerShell
Update-HostStorageCache
$max = (Get-PartitionSupportedSize -DriveLetter C).SizeMax
Resize-Partition -DriveLetter C -Size $max

Note: If Extend Volume is greyed out, another partition (often a small Recovery partition) sits between C: and the free space. Windows can only extend into space directly after the partition. Do not delete the recovery partition on a guess; open a support ticket if you are unsure.

Case B: set up a new disk

  1. If prompted, choose GPT to initialise the disk.
  2. Right-click the unallocated space and choose New Simple Volume.
  3. Accept the size, pick a drive letter such as D:, format as NTFS and click Finish.

Or in PowerShell:

PowerShell
Get-Disk | Where-Object PartitionStyle -eq "RAW" | Initialize-Disk -PartitionStyle GPT -PassThru | New-Partition -AssignDriveLetter -UseMaximumSize | Format-Volume -FileSystem NTFS -NewFileSystemLabel "Data"

Then point programs at the new drive, for example move database files or website folders to D:\.

2. Check the result

PowerShell
Get-Volume | Format-Table DriveLetter, FileSystemLabel, Size, SizeRemaining

Troubleshooting

  • No new space appears after rescan: restart the server once, then rescan. If it is still missing, check in the client area that the upgrade has been applied.
  • Disk shows Offline: right-click the disk label (Disk 1) and choose Online.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.