Author Posts

July 10, 2013 at 9:04 am

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?


July 10, 2013 at 10:31 am is also added to the TrustedHosts list?

July 11, 2013 at 7:06 am

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

Any other suggestions?


July 11, 2013 at 8:17 am

What do you get for:

Test-WSMan -Authentication default -Credential $cred