Skip to main content

Windows Server 8 Deduplication

The new deduplication in Windows Server 8 looks awesome, and it just might be the "killer app" for many business to start using Windows Server 8.

 The feature will make it possible for companies or servers that don't use SAN/NAS with deduplication to save disk space, alot if disk space.

How much disk space you can save will depend on what kind of files you have on the disk. You have a utility you can use to calculate the savings, the tool are now only available when you have installed Windows Server 8 (sort of), but I am quite sure that it will be a downloadable and graphical tool in good time for the RTM release of Windows Server 8. The tool that are in the beta version of Windows Server 8 are a command line tool.

Yes I am running it on something else than Windows Server 8, it's actually my Windows 7 computer. My next blog post will tell you how to run it on other Windows than Server 8

Be aware that all deduplication have the cost of hardware resource usage, so be sure to monitor your server to make sure that you don't replace disk shortage with other system resource shortages. You might also use a dedicated server as storage server, remember that Microsoft now give away the ISCSI Initiator target for free.

You can of course use Powershell with it, so it's easy to automate the process

Disable-DedupVolume Disables further data deduplication activity on one or more volumes.
Enable-DedupVolume Enables data deduplication on the specified volumes, using default settings.
Get-DedupJob Returns status and information for currently running or queued deduplication jobs.
Get-DedupMetadata Returns a Deduplication Metadata object for every volume that has data deduplication metadata.
Get-DedupSchedule Returns the Deduplication Job Schedule objects defined on the system.
Get-DedupStatus Returns a Deduplication Status object for every volume that has data deduplication metadata.
Get-DedupVolume Returns a Deduplication Volume object for each volume that has data deduplication metadata.
New-DedupSchedule Creates a new data deduplication schedule and returns a Deduplication Schedule object.
Remove-DedupSchedule Deletes the specified Deduplication Schedule object.
Set-DedupSchedule Sets data deduplication schedule settings.
Set-DedupVolume Sets data deduplication volume settings.
Start-DedupJob Queues a new data deduplication job of the specified type for the specified volumes.
Stop-DedupJob Cancels one or more specified data deduplication jobs.
Update-DedupStatus Scans one or more specified volumes to compute fresh data deduplication savings information and returns a Deduplication Status object.

Table based on info from Technet

To learn more about how Windows Server 8 implementation of deduplication works you can go to this Techrepublic article

Popular posts from this blog

Changing Windows product key (license) for a MDT OS deployment task

Creating a new OS deployment task in MDT you will be asked to specify product key

That’s easy enough, but what if you type in the wrong key or just want to change it (add it) later? You might even have gotten a new MAK.

That is not as easy, you cannot do it from the graphical interface, you have to do it from one of the configuration files. Well you might to it from graphical interface by typing it in every time deploying a computer gets deployed but that is not a great solution.

MDT - The task sequence has been suspended. LiteTouch is trying to install applications

Every now and then I get this error message when fuelling a computer with MDT:
"The task sequence has been suspended. LiteTouch is trying to install applications. This cannot be performed in Windows PE."

How to get and use the Windows key from UEFI/BIOS

I found myself in the situation that I needed to get the Windows key out from the ACPI in the UEFI bios and preferable get to use it in a task sequence in MDT.

There are different ways of doing this, but I wanted to do this with little code and easy to understand.
There is a nice tool created to get the key on github, created by Christian Korneck, called get_win81key. This tool gives you the key in plane text. You can get it

If I were supposed to do this manually, I now would just take that key and type it in with slmgr command or in the GUI. But I want to do this within a task in MDT.
Testing a couple of solutions without using the get_win8key with my great scripting guru colleague HÃ¥vard ( and figuring out that it cannot be done with default powershell stuff, it needs more code. Therefore, we quickly figured out that some use of the “get_win8key” files is the easiest way, but we need a way of setting the output fro…