How To Create A Windows Nano Server 2016 Server Image With Technical Preview 5

In this article I’ll show you how to create a new Nano Server Image( .VHD ) using PowerShell.

It Is very Important to note that Nano Server doesn’t come as downloaded ISO Image, The only way to create a Nano Server Is by generating It using PowerShell from the full ISO Image of Windows Server 2016.

To get started, Install Windows Server 2016 TP5  once done open the ISO Image and open It In Windows Explorer.

Copy the NanoServer folder to a folder the server and Import the PowerShell module from the NanoServer\ NanoServerImageGenerator folder:

Import-Module .\NanoServerImageGenerator\NanoServerImageGenerator.psd1

To create a basic Nano Server run the cmdlet below:

New-NanoServerImage -MediaPath D:\ -BasePath .\Base -DeploymentType Guest -Edition Standard -TargetPath C:\VM\NanoTest.vhd

When done you will see the result below.

Next, you will need to load the .VHD to your Hyper-V server and set static IP address or DHCP and Connect to it.

1 comment

Comments are closed.