Remoting with 2012 R2 preview?

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

  • Author
    Posts
  • #8361

    Joakim
    Participant

    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 192.168.1.131 -Credential Get-Credential
    Enter-PSSession : Connecting to remote server 192.168.1.131 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 192.168.1.131 -Credential Get-Credential
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (192.168.1.131:String) [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 192.168.1.131

    wsmid : http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd
    ProtocolVersion : http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd
    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 '192.168.1.130' -Concatenate
    PS C:\> Enter-PSSession 192.168.1.130 -Credential Get-Credential
    [192.168.1.130]: 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?

    Cheers,
    Joakim

  • #8368

    192.168.1.131 is also added to the TrustedHosts list?

  • #8383

    Joakim
    Participant

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

    Any other suggestions?

    /j

  • #8389

    What do you get for:

    Test-WSMan 192.168.1.131 -Authentication default -Credential $cred

You must be logged in to reply to this topic.