Question : psexec - No process is on the other end of the pipe.

Hi,
I have a VISAT computer, and I am trying to execute a command in a remote XP computer.
I use the following batch file:
psexec.exe "\\SHLOMOARAN" -u "Shlomo Aran" -p "abc"   -i  c:\windows\notepad.exe
pause
and I get the following error:
psexec - No process is on the other end of the pipe.

Please note that I used it first with an older version of PSEXEC (1.95) and received an error:
The parameter is incorrect.

And then I upgraded to 1.97 (latest) version and received this error.

Answer : psexec - No process is on the other end of the pipe.

there have been reports where psexesvc.exe had not been removed on the target machine (folder: %windir%). If such a leftover psexesvc.exe is older than the psexec.exe which tries to use it, this will lead to trouble.
So checking whether an old psexesvc.exe still exists inside %windir% (ADMIN$) on a failing target machines may be worth a try.
other user had the problem and said
" there is another psexesvc.exe at c:\windows of different size and it may be older or newer version. I just "sc.exe delete psexesvc" to get rid of that one and rerun psexec to the host and it solved my problem."
Random Solutions  
 
programming4us programming4us