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.

  • Intermediate
  • Windows VPS · Admin RDP
  • 2 min read

By RunRacks Team · Published

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.

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

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 RunRacks AI for a quick answer, or open a ticket and our team will take a look at your server.

Windows VPS & RDP

Allow or block multiple RDP sessions for one user

Understand why a new Remote Desktop login takes over your old session, how the single-session policy works on Windows Server, and which setting suits a team.

  • Advanced
  • Windows VPS
  • 5 min read