To enable this feature which is NOT supported from Microsoft, you need to grab some files from the Windows Server 2012 R2 installation before deduplication can be enabled.. -Remember, Data Deduplication requires a dedicated drive to Work.
Storage savings on VHD / VHDX files are over 80% and is just perfect for laptop invironments.
All information written worked for me and i am running deduplication on my work laptop, but use it at your own risk
The files needed can be optained here from my Skydrive (soon to be OneDrive) http://sdrv.ms/1d5GLYW
-Yes it can be done by yourself, but it is not that easy, so you choose.
Place the files in a folder, and open and CMD promt as Administrator. Go into the folder where you placed to files and run this command:
dism /online /add-package /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.cab /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.cab /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.cab /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.cab /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.cab /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.cab
dism /online /enable-feature /featurename:Dedup-Core /all
Now you can see the feature enabled under Windows Features
To enable it for a specific drive (for me the D drive) run the following command in an elevated PowerShell prompt:
Enable-DedupVolume -Volume D:
Set-DedupVolume -Volume D: -OptimizeInUseFiles
To begin Deduplication process, run this:
Start-DedupJob -Volume D: -Type Optimization
When using the drive for Hyper-V VMs (test invironment only), run:
Enable-DedupVolume -Volume D: -UsageType HyperV
To se how it goes, run:
To se status and savings, run:
Get-DedupVolume -Volume D:
Remember that Data Deduplication is a Schedules service, so change the Schedules to fit your need. To se the current Schedules, run:
To change Schedules, and yes you would like to: se my post on this matter HERE
I hope this helps you in your quest to save disk Space 🙂