Windows Server Deduplication: reclaim disk space after deleting files

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

Romain Drouche

System Architect | MCSE: Core Infrastructure

An IT infrastructure expert with over 15 years of hands-on experience. Currently serving as a Systems and Network Project Manager and Information Systems Security (ISS) Lead, I leverage my expertise to ensure the reliability and security of technological environments.

GHinM▶