title: PSEXEC Error : No process is on the other end of the pipe
body: <p>I want to execute a bat file in a remote machine and i tried WMI and PSEXEC. I am getting "No process is on the other end of the pipe." error when i try to run the below psexec command.</p>
  
  <pre><code>C:\Users&gt;psexec \\111.111.111.111 -u "sss\user1" -p "ss-12" "\\111.111.111.111\d$\r.bat"
  </code></pre>
  
  <p>Below is the entire output:</p>
  
  <pre><code>PsExec v2.11 - Execute processes remotely
  Copyright (C) 2001-2014 Mark Russinovich
  Sysinternals - www.sysinternals.com
  
  Connecting to 111.111.111.111...
  Starting PSEXESVC service on 111.111.111.111...
  Connecting with PsExec service on 111.111.111.111...
  
  Error reading public key length from PsExec services:
  No process is on the other end of the pipe.
  </code></pre>
  
  <p>However, the below WMI command is working fine. Please help.</p>
  
  <pre><code>wmic /USER:"sss\user1" /PASSWORD:"ss-12" /NODE:111.111.111.111 process call create "D:\r.bat"
  </code></pre>