Friday, July 1, 2016

How to Setup on-premise Nano Server.


Nano Server is a pared down headless version of Windows Server that Microsoft has been developing under the code name Tuva. It is designed to run services and to be managed completely remotely. Microsoft describes Nano Server as “a purpose-built operating system designed to run born-in-the-cloud applications and containers.”

To install Nano server, first you have to download Windows Server 2016 TP5. Nano Server installation was kept inside this and you have to create a Powershell Script to create the Nano Server.  The script you can Download from TechNet Gallery.  Once you have those two, you can start the Nano Server installation.

First mount the Windows Server 2016 TP5 ISO and copy and paste the Nano folder from there.


Then you have the all required things with you, to create the Nano server. First I’ll copy and paste the script below,

.\New-NanoServerVHD.ps1 `
-DestVHD H:\NanoSVR\NanoServer07.vhd `
-ComputerName NANOTEST07 `
-AdministratorPassword 'Password@123' `
-Packages 'Storage','OEM-Drivers','Guest','FailoverCluster' `
-IPAddress ''

Save the downloaded PS Script into a Folder.

In Server ISO, you can point the correct location of the Windows 2016 ISO file.

DestVHD, is the location where you want to save your new Nano VHD file.

Then you can give a name for the VHD,Administration password, IP address and the required Packages. those are in a separate folder under Nano server and you can install them on demand.


Under Packages you can select the packages that you want to install.

Run the Poweshell as a administrator and point the executing location. In my case it’s already downloaded PS script folder.


Then run the customized script to create the Nano server VHD.


Once you run the script, Script warning will be displayed. Click run once.


Then PS script will create the VHD for you. this will take few minutes and in the background you can  see the  and the success percentage of the job


Once this finished, you will be able to see your newly created Nano VHD in the mentioned destination.


Now you can add this in to your Hyper-V Manager and work.


In next post I’ll show the steps to attached this Nano server in to Hyper-V Manager.

No comments: