Remoting with 2012 R2 preview?

This topic contains 3 replies, has 2 voices, and was last updated by  Aleksandar Nikolić 4 years, 10 months ago.

  • Author
  • #8361


    I am trying to remote to a freshly installed Windows Server 2012 R2 (preview) but I am not successfull. I did this from my Windows 8 client.

    PS C:\> Enter-PSSession -Credential Get-Credential
    Enter-PSSession : Connecting to remote server failed with the following error message : Access is denied.
    For more information, see the about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + Enter-PSSession -Credential Get-Credential
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: ( [Enter-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : CreateRemoteRunspaceFailed

    For some reason I am not able to Enter-PSSession to this machine. If I test Enter-PSSession locally (localhost) it works fine. And if I do Test-WSMan from my client everything seems fine:

    PS C:\> Test-WSMan

    wsmid :
    ProtocolVersion :
    ProductVendor : Microsoft Corporation
    ProductVersion : OS: 0.0.0 SP: 0.0 Stack: 3.0

    I can access an identically setup Windows Server 2012 core machine without problems:

    PS C:\> Set-Item WSMan:\localhost\Client\TrustedHosts -Value '' -Concatenate
    PS C:\> Enter-PSSession -Credential Get-Credential
    []: PS C:\Users\Administrator\Documents>

    but when I try to access the Windows Server 2012 R2 preview I get access denied. I have check that I use the correct credentials many times.

    Have something changed in 2012 R2 that makes remoting to WORGROUP Machines different?

    I'd appreciate any ideas! Any tips?


  • #8368 is also added to the TrustedHosts list?

  • #8383


    Yes, the IP is also added, I missed to illustrate that.

    Any other suggestions?


  • #8389

    What do you get for:

    Test-WSMan -Authentication default -Credential $cred

You must be logged in to reply to this topic.