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