Installing Nanoserver VM

Today we are going to dive in Nanoserver deployments

Some characteristics regarding the new nanosilver windows server edition :

Nano Server is headless; it has no local user interface, no 32-bit application support, and only the most basic configuration controls.

There is no support for Remote Desktop; to administer the system, you use Windows Remote Management (WinRM) remote PowerShell connections, and Windows Management Interface (WMI) tools.

The two basic scenarios for Nano Server deployments

1.Server cloud infrastructure services, such as Hyper-V, Failover Clustering, Scale-Out File Servers, DNS, and Internet Information Services (IIS)

2.Born-in-the-cloud applications running on virtual machines, in containers, or on physical servers, using development platforms that do not require a graphical interface


  1. Ensure that you have mapped a windows server 2016 CD drive into your core machine when you hold your VM’s ( VMWARE/ Hyper-V …ETC)

The main folder that we are going to work with is Nanoserverimagegenerator , located inside the MEDIA CD / IMAGE

2017-11-21 10_25_08-Windows Server 2016 Nano Server - Installation and Management _ StarWind Blog

2.Open a PowerShell console & ensure to target the correct path wich follows the next image


2017-11-21 10_49_01-Edit Post ‹ Tech Blog —

Hence we import the nanoserver module installation

command: import-module .\NanoServerImageGenerator.psm1

2017-11-21 10_50_28-Edit Post ‹ Tech Blog —

once done, We’ll specify & create the image


New-NanoServerImage -deploymenttype guest -edition datacenter -mediapath ‘G:\
‘ -computername NANOSRV01 -Administratorpassword @Winter2020 -enableremotemanagementport -targetpath c:\NANO\NANOSRV.vhd


2017-11-21 10_54_44-Desktop

3. Add your nanoserver into the hyper-v console

select generation2

include the option “use an existing virtual hard disk”

2017-11-21 10_38_20-Open

2017-11-21 10_38_36-Administrator_ Windows PowerShell


4. Ready to crack on!

2017-11-21 10_39_17-Hyper-V Manager

Installation Parameters & definitions ( Extracted from an official source )



Specifies whether the image file should be used on a Hyper-V virtual machine (Guest) or a physical server (Host).


Specifies whether to install the Standard or Datacenter edition of Nano Server.


Specifies the path to the root of the Windows Server 2016 installation disk or mounted image.


Specifies a path on the local system where the cmdlet creates a copy of the installation files from the location specified in the MediaPath parameter. Once the copy is created, you can use the BasePath parameter only for future New-NanoServerImage commands and omit the MediaPath parameter. This parameter is optional.


 Specifies the full path and filename of the new image to be created. The filename extension (.vhd or .vhdx) specifies whether the new image should be Generation 1 or Generation 2.


 Specifies the computer name that should be assigned to the new image.


Have fun!



Leave a Reply

Fill in your details below or click an icon to log in: Logo

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

Google+ photo

You are commenting using your Google+ 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