How to free up disk space in Windows Server 2012 (R2)?
The longer you running the server, the less free space left in system C: drive. Windows updates, system service, applications, cache and many other files eat up the free space very fast. One day, the system C drive will become red after opening Explorer.
When your server starts to run low on space it can not only impact performance but also prevent certain processes from running properly. For example: you cannot download and install updates especially the important security updates. If your server is hosting SQL Server and space is critically low then the scheduled backups will fail to run. If you then needed to restore some data this could be a serious problem.
You should free up disk space on this server as fast as possible. The most common tool to free up space is Windows built-in Disk Cleanup utility, however, when you right-click the low disk space C drive on Windows Server 2012, you won’t see the Cleanup button.
If you try to start from Run, you’ll receive the error: Windows cannot find ‘cleanmgr’. Make sure you typed the name correctly, and then try again.
The reason is that the disk cleanup utility is not installed by default on Windows Server 2012, then how to install it?
How to add/enable/install Disk Cleanup in Windows Server 2012
Step 1: Click Server Manager on bottom left, click the 2nd option “Add roles and features“.
Step 2: Click Next till you see the Features.
Step 3: Click the check-box in front of “Desktop Experience” and click Next.
Step 4: Within several minutes, the installation complete, click Close.
Step 5: Restart the server to finish adding features.
After booting to desktop, when you right click C drive in Explorer, you’ll see Cleanup utility.
Another way is pressing Windows and R on keyboard to start from Run, type cleanmgr, Disk Cleanup will be launched.
Free up space in Windows 2012 Server
It is very easy, in the pop-up window, select the files you want to delete and click OK, you may also try to clean up system files.
Windows Cleanup utility is a great tool to free up disk space, as you see, it is able to free up many types of files, such as Temporary Internet Files, files in Recycle Bin, Temporary files, Log files, Thumbnails and Windows Error Report files. I do not suggest delete files with 3rd-party software, because some people reported mess-up after using these software.
In some other website, which provide ways to free up disk space listed as 1, 2, 3… such as Cleanup Windows Temp Files, Cleanup Windows Error Reports, Empty the recycle bin. Why waste so much time if you can complete these operations in one step with Cleanup utility?
Extend C drive after freeing up disk space
A server administrator who has more than 15 years experience says that the best idea to fix low disk space issue is expanding this drive, why?
- It costs too much time to free up space.
- You won’t get large amount of free space in most cases.
- Potential danger of losing data or messing up the server if you try some methods that you are not familiar with.
- The server runs low disk space again in a short time.
With some partitioning software, you can extend the C drive as large as possible by taking free unused space from other data drives, keeping Operating System and all data intact.
Video guide to increase C drive free space
Better than other tools, NIUBI Partition Editor is integrated unique 1 Second Rollback protection technology, which is able to automatically reverts the server to original status in a flash if any software error or hardware issue occur, so you don’t need to worry about Operating System and all data safety. Furthermore, it is 30% – 300% faster than ANY other tools because of its advanced file-moving algorithm.