De-Duplication it’s a new feature which is included in Windows Server 2012 and you can get it in Windows Storage section and today we will see how we can work with that… this is a good features which is introduced by Microsoft within the OS – I was bit surprised but it’s very impressive, basically it will save space in case we have same files lying in the same volume.

I will show you how we can enable that – But this Article is part -2 of my Last Post were I have shown How to work with Storage Spaces in Windows Server 2012 Click Here

Again I will give special thanks to Microsoft Tech Lab

Windows Server 2012 Tech Lab - 00

Ok Now we will see how we can enable De-Duplication on a Volume

We will follow the steps as per the LAB – Now we will open a Powershell from a Windows 8 Machine and enable the Deduplication on a volume which on Windows Server 2012.

I have opened ISE (Integrated Scripting Environment) in Power Shell it has so many handy features and i love to use it

Windows Server 2012 Tech Lab - Deduplication01Windows Server 2012 Tech Lab - Deduplication02

So i have executed a command as below…

Invoke-command -ComputerName WS2012VMDC -ScriptBlock { Get-WindowsFeature *Deduplication* | Install-WindowsFeature}

Windows Server 2012 Tech Lab - Deduplication03

After that we will execute a command as

Invoke-command -ComputerName WS2012VMDC -ScriptBlock { Enable-DedupVolume e:}

Windows Server 2012 Tech Lab - Deduplication04

Windows Server 2012 Tech Lab - Deduplication05

Invoke-command -ComputerName WS2012VMDC -ScriptBlock { Get-DedupStatus e:}

Windows Server 2012 Tech Lab - Deduplication06

Windows Server 2012 Tech Lab - Deduplication07

After running these commands – i will login into the Windows Server 2012 Machine and open Server Manager

Windows Server 2012 Tech Lab - Deduplication08

In Server Manager Select File and Storage Services and click Disks

Windows Server 2012 Tech Lab - Deduplication09Now we will Select the Virtual Disk Pool

Windows Server 2012 Tech Lab - Deduplication10And Select E:

Windows Server 2012 Tech Lab - Deduplication11Right Click on Volume E: and click on Configure Data Deduplication and it open a Wizard

Windows Server 2012 Tech Lab - Deduplication12 You can see the Deduplication is enabled as we have ran the Powershell commands from Windows 8 Machine and it also set to a defualt value of Days as 5 and now we will change it to 0

Windows Server 2012 Tech Lab - Deduplication13Click Ok

To do a Testing we will copy a file from C drive to volume E:

Windows Server 2012 Tech Lab - Deduplication14Copy a file in our example boot.wim will copy to volume E:

Windows Server 2012 Tech Lab - Deduplication15File is Copying to Volume E: – New Look in Windows Server 2012

Windows Server 2012 Tech Lab - Deduplication16File is copied and now create a copy of that

Windows Server 2012 Tech Lab - Deduplication17Ok Now – i will open a ISE and run a Command as

Start-DedupJob -Type Optimization -Volume E: and hit enter

Windows Server 2012 Tech Lab - Deduplication18

Now to check the Progress – run a command as Get-DedupJobWindows Server 2012 Tech Lab - Deduplication19

After few seconds run the same command just to verify the Job is done

Windows Server 2012 Tech Lab - Deduplication20Hummm Now – Lets see the status by running a command as Get-DedupStatus

Windows Server 2012 Tech Lab - Deduplication21

 

newsletter-aik

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!