Share via


Server Manager WinRM Negotiate authentication error to connect with Nano Server

Question

Friday, June 1, 2018 10:58 PM

I have 2 VMs created within same VNet. WebServer1 is Windows Server 2016 and NanoServer is Windows Server 2016-Nano Server. I want to add NanoServer to WebServer1's "Server Manager" to manage it remotely.

The first problem is, I can not ping the NanoServer with private IP.

Second problem is, when I add the Nano Server to Server List using NanoServer DNS name and try to connect, it shows "WinRM Negotiate authentication error".

by the way, can you tell me what is the Domain Name of my NanoServer if it has Azure provided DNS Name for example "nano1.southeastasia.cloudapp.azure.com ". is it "nano1.southeastasia.cloudapp.azure.com " which I should use in 'Manage As' login interface?

Please help to resolve the issue

Regards

Habib

All replies (2)

Saturday, June 2, 2018 4:40 AM

First try to ping NANO server from WIN SERVER 2016, if it’s not pinging create an entry in the “Peering” (present on location Home -> windows server -> windows-server-Networking -> Peering).

You won’t be able to connect to your new VM using Remote Desktop because Nano doesn’t support the terminal services role, but Nano does support PowerShell Remoting.

Once its starts pinging, open PowerShell (in administrator mode), and execute the below cmdlets.

Set-Item WSMan:\LocalHost\Client\TrustedHosts
"<192.168.0.100>"

# replace with your Nano Server's IP address

$ip = "192.168.0.100"  # replace with your Nano Server's IP
address  

$s = New-PSSession -ComputerName $ip -Credential
<username>  

Enter-PSSession -Session $s

Once Logged in:

Start-Service WinRM

Adding Nano server in Server Manager

All servers -> Right click -> add server -> select DNS -> types private IP address of Nano server & search -> select YES on “error searching …” -> ok.

If this answer was helpful, click “Mark as Answer” or “Up-Vote”. To provide additional feedback on your forum experience, click here


Tuesday, June 5, 2018 5:35 AM

Hey Habib,

Checking in to see if the above answer helped. Let me know if there are still any additional issues I can help with.