Data Deduplication in Windows 8.1 – How to guide

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

And afterwards

dism /online /enable-feature /featurename:Dedup-Core /all

Now you can see the feature enabled under Windows Features

DataDeduplicationEnabled

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:

Get-Dedupjob

To se status and savings, run:

Get-DedupStatus

or

Get-DedupVolume -Volume D:

DataDeduplicationSavings

Remember that Data Deduplication is a Schedules service, so change the Schedules to fit your need. To se the current Schedules, run:

Get-DedupSchedule

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 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s