The same with previous Windows version, disk drive in Server 2019 runs out of disk space, too. To data drives that used for backup or projects, you may transfer files and change files output location to other drives. But to system C drive, it is much more complicated. This article introduces how to free up disk space in Windows Server 2019 with Disk Cleanup and other methods, then you can reclaim disk space in C drive. In addition, you'd better increase C drive to larger size with free space in other drives.
The same with previous versions, Windows Server 2019 has built-in Disk Cleanup utility to help free up disk space. It can scan and delete most of unnecessary and junk files in your disk drive. I use Disk Cleanup from Windows XP whose GUI and steps keep the same over 10 years. I still like to use this tool, because it is easy and fast, the most important - safe.
How to free up disk space with Windows Server 2019 Disk Cleanup tool:
If you don't want to select files manually every time, follow the steps to clean up with command automatically.
This is a new test server, so there are few junk files to clean up. To the servers that are running for a long time but never free up disk space, you'll get much more free space. However, few servers can reclaim over 10GB disk space.
If you want to free up more disk space in Windows Server 2019, you may try the additional options below:
If you enabled Shadow Copy, you can delete the previous copes.
All files that deleted by pressing DEL without SHIFT key will go to Recycle Bin, where you can revert these files to original location manually if you deleted them by mistake. Recycle Bin use part of space of C drive by default, so more files in Recycle Bin means less free space in C drive.
You can change the location of Recycle Bin to other larger partition.
Page file uses part of disk space as virtual RAM and it is located in C drive by default. You can change it to other partition when C drive is running low. Steps:
You may uninstall some programs that you no longer use or that came preinstalled on your computer from the manufacturer. Steps:
You can change the default save locations for apps, documents, music, pictures, and videos to other place, so these types of new files will be saved to other partitions.
All programs are installed to C drive by default and many of them output files there, too. The programs for videos and projects, as well as some Windows services output many large files, so you’d better change the default output location to other large drives.
Storage Sense can free up disk space automatically when a drive is running out of space. It can delete temporary files and files in Recycle Bin and the Downloads folder. To enable Storage Sense in Windows Server 2019:
Disk partitions are allocated while installing Windows or by OEM manufacturer, but you can change partition size without losing data.
Download NIUBI Partition Editor and follow the steps in the video:
Besides shrinking and extending partitions, NIUBI Partition Editor helps do many other operations.➤