C: is full on my Windows VPS
What this is
A full system drive on Windows fails the same way it does on Linux, sideways: databases refuse writes, updates fail half-installed, apps crash on save, RDP sessions misbehave. Confirm in seconds (This PC, or Get-PSDrive C), then find the bulk, clean it properly, and know the plan-upgrade wrinkle at the bottom.
Find what's eating the space
Don't guess, map it: WinDirStat (open source) or TreeSize Free visualize the whole drive by folder size in a minute. Run either as Administrator so system folders count, and the culprit is usually obvious at a glance.
Clean the legitimate bulk
In order of typical yield:
- Disk Cleanup, with system files: run
cleanmgr, click Clean up system files, and let it take Windows Update leftovers, temp files, and old error dumps, this is the sanctioned cleaner and often frees gigabytes on its own. - Component store (WinSxS), the folder that scares everyone in WinDirStat: don't delete from it by hand, ever, service it properly:
Dism.exe /Online /Cleanup-Image /StartComponentCleanup
- Application logs: IIS logs (
C:\inetpub\logs) grow forever by default, archive or delete old ones and add a scheduled cleanup; the same goes for your app's own log folders. - Recycle Bin (it counts!), old user profiles of accounts you removed, and forgotten downloads/installers.
- Old backups parked on C::
.bakfiles belong shipped off-site, not accumulating on the drive they're meant to protect. - The pagefile (
pagefile.sys) legitimately occupies RAM-sized gigabytes. Leave it system-managed, shrinking it to reclaim disk trades slowness for crashes; if its size is the problem, the disk is undersized for the plan's RAM, see below.
What not to do: delete anything in C:\Windows by hand because a forum said so, and don't remove things WinDirStat shows that you can't identify, ask an AI chatbot what the folder is first, the ten seconds beats an unbootable server.
Genuinely need more room? And the upgrade wrinkle
More disk comes with a plan upgrade or Additional Storage. After the upgrade, the new space is normally extended into C: automatically. If Windows still shows the old size, finish it yourself in two minutes:
- Right-click Start → Disk Management (
diskmgmt.msc). - Action → Rescan Disks. You should see the new space as Unallocated after the C: partition.
- Right-click C: → Extend Volume → Next through the wizard (defaults take all the new space) → Finish. Applies live, no reboot.
PowerShell one-liner, same result:
Resize-Partition -DriveLetter C -Size (Get-PartitionSupportedSize -DriveLetter C).SizeMax
If Disk Management shows no unallocated space at all after an upgrade, open a ticket with the VPS and what Disk Management shows.
Related questions
- "How do I find what's using disk space on Windows Server?"
- "Is it safe to clean the WinSxS folder?"
- "Why is pagefile.sys so large?"
- "I upgraded my plan but C: still shows the old size."
- "How do I extend the C: volume on my VPS?"