How to Remotely Manage a Microsoft Nano Servers

How to Remotely Manage a Microsoft Nano Servers

Nano Server is a new installation option offered by Windows Server 2016. It is a 100% remotely managed server operating system optimized for cloud and datacenter environments, however, one of its ideal usage scenarios is as a web server running Internet Information Services (IIS). It is exclusively 64-bit, supporting only 64-bit applications but with a much smaller footprint than typical server OS’s.

Being fully remotely managed there are is no local login capability. However, it does not support Windows Terminal Services either. As such, unlike typical Windows Server environments, you cannot log on remotely using Windows Terminal Services and be presented with the familiar Windows desktop environment.

Despite this, there are some different ways to remotely access and manage Nano servers.

  • Windows PowerShell
  • Server Manager
  • Windows Management Instrumentation (WMI)
  • Windows Remote Management
  • Emergency Management Services (EMS)

There are also a number of specialized tools which may be used in order to manage specific aspects of Nano server:

  • Hyper-V Manager
  • Failover Cluster Manager
  • Perfmon
  • Event Viewer

In this tutorial, we’ll review the two most commonly used methods for accessing Nano server: PowerShell and Server Manager.

In order to connect remotely to a Nano server using any of these methods, you will need the IP address of your Nano server. This may be obtained by pinging the hostname of the server.

How to Manage a Nano Server using PowerShell

Managing a Nano server via PowerShell requires certain preliminary requirements:

  • You will need to add the IP address of the Nano server to the trusted hosts list on your local computer
  • The account you will be using to access the Nano server must belong to the server’s administrator’s group.
  • While not absolutely necessary, it would be a good idea to enable CredSSP.

How To Add Nano server as a trusted host

  1. Open an elevated Windows PowerShell.
    • Elevated mode allows you to run PowerShell as an administrator in order to execute admin-level commands.
  2. Enter the following command:
    Set-Item WSMan:\localhost\Client\TrustedHosts "[Nano server IP address]"

    The IP address is now part of the trusted hosts list.

How to connect to a Nano Server using PowerShell

  1. Open an elevated Windows PowerShell.
  2. Enter the following commands:
    $ip = "[Nano server IP address]"
    $s = New-PSSession -ComputerName $ip -Credential ~\Administrator
    Enter-PSSession $s

     

You should now be remotely connected to your Nano server and be able to execute PowerShell commands on that server.

How to Manage a Nano Server Using Server Manager

While Nano Server itself does not provide a graphical user interface, Server Manager does provide a GUI whereby an admin could remotely manage their Nano server.

As before, the first thing you will need is to acquire the server’s IP address. Once that has been obtained, again as before, you’ll need to add it to your local computer’s trusted hosts list.

How to Connect to a Nano Server using Server Manager

  1. Open Server Manager
  2. Select All Servers from the categories on the left.
  3. Click Manage (top right corner)
  4. From the drop down menu select Add Servers.
  5. In the Add Servers dialog select the DNS tab.
  6. In the Search field, enter the Nano server’s IP address
  7. Press Enter or click the search icon to the right.
  8. Your server should appear in the search results.
  9. Click it to highlight it
  10. Click the right-facing arrow to add the server to the Selected list.
  11. Click OK.
    Your Nano Server should now be in the All Servers list.Now that it’s in the list of servers you have limited remote access via Server Manager. At this point you still do not have proper access to the Nano server as the necessary credentials have not been applied. By right-clicking the Nano server you will be presented with a drop-down menu of possible actions you can take re the server.
  12. Right-click the Nano server in the server list.
  13. From the drop-down menu, select Manage As…
  14. Enter the username in the following format:
  15. OSTNAMEUsername
  16. Enter the password.

You should now see a change in the Nano server entry in the server list reflecting the successful login.

 

Check out these top 3 Best web hosting services

Hostinger
$2.99 /mo
Starting price
Visit Hostinger
Rating based on expert review
  • User Friendly
    4.7
  • Support
    4.7
  • Features
    4.8
  • Reliability
    4.8
  • Pricing
    4.7
IONOS
$1.00 /mo
Starting price
Visit IONOS
Rating based on expert review
  • User Friendly
    4.5
  • Support
    4.0
  • Features
    4.5
  • Reliability
    4.5
  • Pricing
    4.3
Ultahost
$2.90 /mo
Starting price
Visit Ultahost
Rating based on expert review
  • User Friendly
    4.3
  • Support
    4.8
  • Features
    4.5
  • Reliability
    4.0
  • Pricing
    4.8

How to Use Docker Containers with AWS EC2

This tutorial will help you deploy Docker containers in AWS and leverage the pow
4 min read
Max Ostryzhko
Max Ostryzhko
Senior Web Developer, HostAdvice CTO

How To Create Container Images for Azure Container Service (ACS)

This step by step guide will help you learn how to create container images for u
2 min read
Max Ostryzhko
Max Ostryzhko
Senior Web Developer, HostAdvice CTO

How to Setup a Docker Swarm Cluster on a CentOS 7 VPS or Dedicated Server

This how-to article will help you install and configure Docker Swarm on CentOS 7
5 min read
Avi Ilinsky
Avi Ilinsky
Hosting Expert

How to Install Kubernetes cluster on an Ubuntu VPS

Do you want to learn how to set up Kubernetes on Ubuntu? Keep reading this artic
4 min read
Idan Cohen
Idan Cohen
Marketing Expert
HostAdvice.com provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.
Click to go to the top of the page
Go To Top