title: Enter-PSSession returns PSRemotingTransportException
body: <p>When I try to connect to a remote server using <code>Enter-PSSession</code>, I get a <code>PSRemotingTransportException</code>. It says that the user is either unknown or associated with a wrong password.</p>
  
  <p>It works with other users, and it works with this user on other servers.  The user is in the Administrator group of the remote server.</p>
  
  <p>What am I missing?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>The main problem I have is this. I have three servers: <code>remote1</code>, <code>remote2</code>, and <code>main</code>, one domain: <code>domain</code>, and two users: <code>user1</code> and <code>user2</code>.</p>
  
  <p>So now I'm connected with <code>user1</code> on <code>main</code>.  The first problem is that when I use <code>Enter-PSSession</code> on <code>remote1</code>, I'm connected via <code>user2</code>:</p>
  
  <blockquote>
    <p>PS C:\Users\user1> whoami</p>
    
    <p>domain\user1</p>
    
    <p>PS C:\Users\user1> Enter-PSSession remote1</p>
    
    <p>[remote1]: PS C:\Users\user2\Documents> whoami</p>
    
    <p>domain\user2</p>
    
    <p>[remote1]: PS C:\Users\user2\Documents></p>
  </blockquote>
  
  <p>The second problem is that when I use <code>Enter-PSSession</code> on <code>remote2</code>, it doesn't work:</p>
  
  <blockquote>
    <p>PS C:\Users\user1> Enter-PSSession remote2</p>
    
    <p>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: 16
    + Enter-PSSession &lt;&lt;&lt;&lt;  remote2
        + CategoryInfo          : InvalidArgument: (remote2:String) [Enter-PSSession], PSRemotingTransportException
        + FullyQualifiedErrorId : CreateRemoteRunspaceFailed</p>
    
    <p>PS C:\Users\user1></p>
  </blockquote>