title: Powershell remoting error - network path not found
body: <p>I cannot connect to remote server using <code>enter-pssession -computername serverA</code>. My scenario:</p>
  
  <ul>
  <li>I have 2 Win 2003 R2 servers in the same domain. ServerA is WSUS server, serverB is a domain controller</li>
  <li>Both servers have enabled powershell remoting</li>
  <li>Both servers have configured winrm (<code>winrm quickconfig</code>)</li>
  <li>Both servers have TrustedHosts set to *</li>
  <li>setspn.exe is set up correctly (http, https, wsman etc.)</li>
  <li>Both servers have FireWall turned off</li>
  <li>Both servers have PowerShell 2.0</li>
  </ul>
  
  <p>I am trying to <code>enter-pssession -computername serverA</code> under the domain admin credentials from serverB to serverA and it throws the following error: </p>
  
  <p>"""Enter-PSSession : Connection to remote server failed with the following error message : WinRM cannot process the request. The following error occured while using Kerberos authentication: The network path was not found."""</p>
  
  <p>When I try to <code>enter-pssession -computername serverB</code> under the domain admin credentials from serverA it works fine! It also works if I use localhost so: <code>enter-pssession -computername localhost</code> under the domain admin credentials (on serverA) works as well, but when I try the hostname on serverA (instead of localhost) <code>enter-pssession -computername serverA</code> it throws the same error.</p>
  
  <p>I also tried to use <code>get-credential</code> and provide different types of credentials, but it did not help. The only thing which helped was using a local (not domain) administrator account and running <code>enter-pssession -computername serverA -credentials $cred</code> and it worked, but only locally, I was able to do this from local machine (from serverA to itself) but not from serverB to serverA under the serverA\administrator credentials.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks</p>