Just another WordPress.com site

How to Enable Data Deduplication in Windows 8

I was just talking to someone that I’m running out of disk space in my test environment and how I am already using differencing disk to reduce the amount of space used. That triggered me to think of the deduplication feature to further “optimize” my disk space utilization.

But hold on, that feature is only available on the Windows 2012 server operating system. But thanks to a folk from “My Digital Life” forum I was able to get it to work on my Windows 8 client test computer. Basically what you need to do is copy the files needed for the data dedup feature from Windows Server 2012 to Windows 8. I’ve uploaded a copy to my SkyDrive so you can alternatively get it from there.

Once you’ve got it down to your local drive, open up powershell and change the path to where you copied the downloaded file to. Go ahead and run the below two commands. Yes, a reboot might be needed.

dism /online /add-package /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~~6.2.9200.16384.cab /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~en-US~6.2.9200.16384.cab /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~~6.2.9200.16384.cab /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~en-US~6.2.9200.16384.cab /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~~6.2.9200.16384.cab /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~en-US~6.2.9200.16384.cab

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

 

If all goes well, you’ll see this from your control panel which is not available before this.

image

 

Now, because you’re on Windows 8 and not on Windows Server 2012, you can’t configure it using the Server manager. So your next best friend here is PowerShell. No biggy! Here’s how you can configure Data Deduplication using PowerShell.

These are the few commands I used to get it working. This is to enable the feature on a particular volume.

PS C:\> Enable-DedupVolume D:

This is to start the optimization manually.

PS C:\> Start-DedupJob –Volume D: –Type Optimization

To look at the progress of the dedup job.

PS C:\> Get-DedupJob

image

By default, jobs have a pre-defined schedule. Use the Get-DedupSchedule to look at the schedule.

image

 

Here’s what I had before dedup.

image

 

And here’s what I’m getting after 15 minutes into the progress. Bear in mind it is still mid-way through the process. Not bad ey! Hope you enjoy it!

image

 

 

 

Enjoy!!!

About these ads

5 Responses

  1. It has been an major issue with Windows 8. So, I thought to roll out back to Windows 7 but somewhere I felt that I couldn’t miss Metro User Interface. Finally here is a useful tutorial to stop duplication.

    January 16, 2013 at 3:09 pm

  2. Pingback: Windows 8 DeDuplication = Awesome « Chris Nackers Blog

  3. Pingback: Windows 8 DeDuplication = Awesome « Nackers Consulting Services, LLC

  4. An-kun

    If you get an error while running dism, the following helped me(I got an error on one of the packages):

    DISM /Online /Cleanup-Image /RestoreHealth

    Also ran this to make sure it was all removed:

    dism /online /remove-package /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~~6.2.9200.16384.cab /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~en-US~6.2.9200.16384.cab /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~~6.2.9200.16384.cab /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~en-US~6.2.9200.16384.cab /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~~6.2.9200.16384.cab /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~en-US~6.2.9200.16384.cab

    Then I ran the commands again and it worked.

    April 26, 2013 at 5:50 pm

    • Awesome! This is truly a community sharing. Thanks An-kun.

      April 26, 2013 at 5:56 pm

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 )

Twitter picture

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

Facebook photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 25 other followers