Libérez de l’espace disque

How to free up disk space on Windows Server 2016?

It is very common that hard disk drive running out of space on both Windows servers and PCs, especially to system C: drive. In this situation, you may try to free up disk space without replacing with new disk. This article shows how to free up disk space on Windows Server 2016 with native Disk Cleanup utility and additional 4 ways to reclaim disk space. If you cannot get plenty of free space, you can augmenter l'espace disque C by taking unused space from other partition drives.

Run Windows Disk Cleanup

To free up disk space on Windows Server 2016, the first choice is Windows native Nettoyage de disque utility. Although there are professional disk cleanup and optimization software, I still like to use Windows Disk Cleanup, because it is safe and able to clear up many types of unnecessary files. I don’t want to put the computer in danger for additional 1GB free space.

If you have your own familiar and trustable cleanup software, you may ignore this step.

Steps to free up disk space on Windows Server 2016 with Disk Cleanup:

Étape 1 Cliquez sur la barre des tâches ou appuyez sur Windows Et E sur le clavier pour ouvrir Explorateur de fichiers, faites un clic droit sur le lecteur C et sélectionnez Propriétés.

Propriétés

Étape 2 Cliquez sur Nettoyage de disque dans la fenêtre contextuelle.

Nettoyage de disque

Wait Disk Cleanup to scan the files that can be removed safely.

Numérisation

 Click the check-box in front of the files that you want to delete and then click D'ACCORD. If you don’t know what the files are, click it and you’ll see the description.

Sélectionner des fichiers

Étape 4 Cliquez sur Supprimer des fichiers dans la fenêtre contextuelle pour confirmer cette opération, terminé.

Confirmer

Pointe If you like to use command line, refer how to run Disk Cleanup from cmd.

To the computer that never or have not free up disk space for a long time, Disk Cleanup may help you reclaim several GBs of disk space. If you cannot get plenty of free space, you may try the additional 4 ways below, or Développez le lecteur C by taking space from other partitions.

Additional 4 ways to free up space

1 Decrease Recycle Bin

Tous les fichiers qui ont été supprimés en appuyant sur DEL sans touche Maj iront à la corbeille, où vous pouvez rétablir ces fichiers à l’emplacement d’origine manuellement si vous les avez supprimés par erreur. La corbeille utilisent une partie de l’espace du lecteur C par défaut, donc plus de fichiers dans la corbeille signifie moins d’espace libre dans le lecteur C.

You can decrease the size and change the location of Recycle Bin to other larger partition.

  1. Clic droit Corbeille.
  2. Sélectionnez le lecteur pour la corbeille.
  3. Select Customer size and enter an amount, click OK to confirm.

Reset Recycle Bin

 Reset Page File

Page file uses part of disk space as virtual RAM and it is located in C drive by default, too. You can change it to other partition when C drive is getting full. Steps:

1. Appuyez sur Windows Et Touche R sur le clavier pour ouvrir Courir, type sysdm.cpl et appuyez sur Entrer.

2. Switch to Avancé tab and click Paramètres under Performance on top.

Change page file

3. Switch to Avancé tab and click changement Ci-dessous Virtual memory.

Virtual memory

4. Un-check Automatically manage paging file, Click C: drive > No paging file > Set, Click D or other drive > Custom size > Enter an amount > Set. Click D'ACCORD pour confirmer.

Attention It requires reboot to take affect.

Reset page file

3 Delete Shadow Copies

Si vous avez activé Shadow Copy, vous pouvez supprimer les précédentes Copes.

  1. Ouvrez l’Explorateur de fichiers de fenêtre
  2. Right click C drive > click Propriétés > switch to Clichés instantanés.
  3. Sélectionnez les copies précédentes et cliquez sur Supprimer maintenant.

Delete shadow copies

4 Uninstall programs

Appuyez sur Windows Et X on keyboard > Programs and Features, uninstall the programs that you no longer need.

Expand C drive larger

After running Windows Disk Cleanup and the 4 additional options, you may reclaim over 10GB disk space. However, it is not the end.

To most of the server, administrators can only get several GBs free space, it is not enough even if you get over 10GB. The free disk space will be eaten up by many types of files quickly, this is the reason why many people feedback that C drive becomes full again frequently.

To completely solve this problem, you’d better expand C drive to larger size. It is similar with a smart phone: if you use a 16GB device, you have to delete files and clean up very frequently, but you won’t encounter this problem for a long time if you use a 128GB or 256GB device.

À augmenter l'espace disque C on Server 2016, there are many choices in the market, but you’d better use safe partition software, otherwise, there is system damage and data loss risk. When you shrink D or other partition to extend C drive, all related parameters of disk, partitions and files should be updated correctly, but some software error or hardware issue could cause part of parameters failed to updated. In that case, you cannot boot Windows or lose files.

To accomplish this task, NIUBI Partition Editor is recommended, because it provides many unique technologies to ensure system and data intact, for example: 1 Second Rollback, Virtual mode, Cancel-at-will. Its Hot-resize technology helps extend C drive on the fly.

Télécharger NIUBI Partition Editor et suivez les étapes de la vidéo:

En résumé

Disk Cleanup is not the final step to free up disk space on Windows Server 2016. Actually, it is the first step to get some precious free disk space in C drive, so the server could keep running smoothly. You’d better run it monthly to delete new generated junk and unnecessary files. The most important step is expanding C drive to larger size with NIUBI Partition Editor.