Windows Server Deduplication: reclaim disk space after deleting files

Windows Server 2019

Presentation

On a Windows Server volume where deduplication is enabled, when deleting files, the recovered space is not necessarily available immediately.

In this article we will see how to recover the space immediately.

Recover disk space

Open a PowerShell command prompt as an administrator and enter the following command:

 Start-DedupJob -Type GarbageCollection -Volume "D:"

Adapt the letter of the Volume parameter to your environment

Pour suivre l’avancement du job entrer la commande suivante :

Get-DedupJob

It is also possible advancement from the file explorer and see the space that is released.

Romain Drouche
System Architect | MCSE: Core Infrastructure
IT infrastructure expert with over 15 years of field experience. Currently a Systems and Networks Project Manager and Information Systems Security (ISS) expert, I use my expertise to ensure the reliability and security of technological environments.

Leave a Comment