Remote Login to a Windows Nano Server with Powershell RRS feed

  • Question

  • Lately I have been dabbling with Windows Nano Server 2016. I have installed a Nano Server (Nano1) in a Hyper-V Server 2016 and added it to the domain successfully (abc.local).

    My question is after adding it to the domain how can I log on using DOMAIN CREDENTIALS with Powershell? I can successfully login with the local Administrators account. After logging on with the local admin account I can see that I am on the domain. The Nano Server does show up and Active Directory. 


    Enter-Pssession -Computername -Credentials Nano1\administrator

    Doesn't Work:(

    Enter-Pssession -Computername -Credentials  abc\jdoe

    Is it because it's not actually a server but a "thing" to use to visualize a service? 

    Tuesday, September 18, 2018 8:30 PM

All replies

  • Hi,

    Have you added your server to the WS-Management TrustedHosts list?

    First make sure the WinRM is running:

    net start WinRM

    Next add your server to the WS-Management TrustedHosts list:

    Set-Item WSMan:\localhost\Client\TrustedHosts -Value "servername or IP"

    Then you can finally try opening a remote PowerShell session:

    Enter-PSSession -ComputerName "servername or IP" -Credential Domain\User


    After adding the server to the WS-Management TrustedHosts list:

    Best regards,

    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, September 18, 2018 9:39 PM
  • Hi,

    Thanks for your question.

    I agree with leon's reply.

    Also if the abc\jdoe user account not in the domain administrator group, you will get error when you use "Enter-PSSession" cmdlet. By default, only members of the Administrators group on the computer have access to the default session configuration. Therefore, only members of the Administrators group can connect to the computer remotely.

    Best Regards,


    Just do it.

    Wednesday, September 19, 2018 9:14 AM