Configure Nano Server for Data Deduplication and Internal WSUS usage


In my last post Setup Nano Server as NAS for Home Lab I showed you how to get started with Nano Server. In that post I used one 150GB disk, but in this post I’m going to show you how to configure Data Deduplication and local WSUS.

In case you missed it I highly recommend you checking out Automate WSUS on Windows 2016 Server Core and How To Clean Up WSUS which have saved customers terabytes of storage.

Let’s get started!

In this example we’re going to create a VHD of 8GB for the OS. Date Deduplication cannot run on the system drive so more space isn’t needed.

After you’ve created and imported the VHD add a new disk and start the VM.

I’m going to break the different commands into sections and at the end you find the complete PowerShell script.

Connect to the host:

Initialize the disk, create partition and format the new disk:

Add Deduplication feature and enable it on D drive:

Add Scheduled Task to run Deduplication:

Create Folders and Shares:

Configure to use Internal WSUS:

These are the registry keys equal to my Group Policy settings.

The complete script:


Automation Framework Community Edition

The fastest way to build your lab environment.

Virtual Expo

Friday 30th of September 2022

Leave a Comment