Windows Server 2012 was released over a decade ago, and the hard drives used when building these servers were often not very large. Of course, many disks have been replaced by new disks. However, there is still an issue that the C drive is running out of space. Because Windows requires less than 20GB after installation, few server administrators configure the C drive to be larger than 100GB. When the C drive is running out of space in Windows Server 2012 R2, follow the 2 effective methods below to solve this problem easily.

1. Clean Up Disk When C Drive Runs Out of Space
There are many types and large amounts of unnecessary junk files in the system partition C, especially if you install all programs with their default settings. After deleting temporary, cache, log, browser-generated, Windows Update, and other types of junk files, you can reclaim the disk space occupied by them. This is especially useful if you have never freed up disk space or have not done so for a long time.
Windows Server 2012 van bennszülöttje Lemezkarbantartó utility to help you accomplish this task. It is able to delete common types of junk files quickly, easily, and safely.
To clean up the disk when the C drive is running out of space in Windows Server 2012 A2:
- Sajtó Windows és az R gombot a billentyűzeten, írja be cleanmgr és nyomja meg az belép.
- Select the C: drive in the drop-down list and click OK.
- Check the boxes next to the files you want to remove in the next window.
- Erősítse meg a törlést.
- Repeat to clean system files (if there is such an option).
If you receive an error stating that cleanmgr is not found, it means this utility is not enabled. Follow the steps to telepítse vagy engedélyezze a Lemezkarbantartó funkciót Server 2012.

If you cannot get plenty of free space for the C drive by cleaning up the disk, you should add more from other partitions. Otherwise, the C drive will become full again in the near future, because new junk and unnecessary files are continuously generated.
2. Add More Free Space to C Drive from Another Partition
All hard drive partitions are already allocated, but you can megváltoztathatja a partíció méretét with some tools. Among these software options, NIUBI Partition Editor sokkal biztonságosabb és gyorsabb olyan innovatív technológiái miatt, mint például:
- Forró klónozás - Lemezpartíciók klónozása Windows biztonsági mentéshez, migráláshoz és gyors lemezcseréhez.
- Virtuális mód - Minden művelet függőben van az előnézethez, és a valódi lemezpartíciók nem módosíthatók mindaddig, amíg az "Alkalmazás" gombra nem kattint a megerősítéshez.
- Lemondás tetszés szerint - Ha helytelen műveleteket hajtott végre, a folyamatban lévő műveleteket bármikor biztonságosan megszakíthatja a befejezés előtt.
- 1 másodperc visszalépés - Ha a partíciók átméretezése során bármilyen hibát észlel, azonnal és automatikusan visszaállítja a lemezpartíciókat az előző állapotukba.
- Fejlett fájlmozgatási algoritmus: A partíciókat 30-300%-kal gyorsabban átméretezheti és mozgathatja, így jelentős időt takaríthat meg, különösen nagyszámú fájl kezelésekor.
NIUBI Partition Editor can shrink another volume on the disk to generate unallocated space, and then move and add this unallocated space into the C drive. To accomplish this task, you just need to click, drag, and drop on the disk map. There will be a large amount of free space in the C drive in a short time without doing anything else. The Operating System, programs, associated settings, and everything else remain the same as before.
Letöltés NIUBI Partition Editor and follow the steps in the video to add more space to the C drive:
The larger the C drive is configured, the less likely it is to run out of space in Windows Server 2012 újra.
There is no difference if you run a physical server with an SSD, any type of HDD, a RAID array, or run a virtual machine in VMware/Hyper-V.
Copy and Migrate If the Disk Is Small
If the system disk is small and there is not enough free space in other partitions, no software can add space into the C drive egy másik külön lemezről. Ehelyett megteheti klónozza a rendszerlemezt to a larger one. While cloning the disk, you can enlarge the C drive and other partitions with the extra disk space.
Kövesse a videó lépéseit:
After the copying process is complete, replace the original disk or change the BIOS settings to boot from the larger disk.
Összefoglalva
Amikor a C meghajtón elfogy a hely Windows Server 2012 R2, clean up the disk to reclaim space. Add more free space to the C drive from other partitions on the system disk. Clone this disk to a larger one if it is too small. Because new junk files are continuously generated, it is highly recommended to run the Disk Cleanup utility monthly.

