title: PsTools Cannot Connect Remotely with IP Address
body: <p>I need to grab information remotely from a few pcs using PsTools.</p>
  
  <p>Currently I get all the info I need through an ethernet connection using commands like: <code>psinfo \\(computer name) -u User -p Password</code></p>
  
  <p>But I need to remotely connect and run commands through their ip addresses now. They are connected to the internet through cell connections.
  Supposedly I'm supposed to use something like: </p>
  
  <pre><code>psexec \\(IP Address) -u (IP Address)\User -p Password cmd
  </code></pre>
  
  <p>and it should just connect, but instead I get messages like "The network path was not found" and "cannot connect to remote registry on (IP Address)"</p>
  
  <p>I have already applied the registry changes required to execute commands remotely: <a href="https://support.microsoft.com/en-us/kb/951016" rel="nofollow">https://support.microsoft.com/en-us/kb/951016</a> so I have no issue there.</p>
  
  <p>How should I connect to the computer? Am I using the wrong commands or syntax?</p>