Author: LarrxX
Subject: PsExec fails running on multiple machines
Posted: 17 April 2013 at 2:32pm
Hi,
I am running a PSExec command on multiple machines. The command, by itself, works fine:
It is supposed to open a console and run a networking daemon.
If I run this command, manually, for each of the 9 machines it should run on, they all work fine.
But when I created a batch file, with 9 lines, one for each of the machines, some of the commands fail (even though PsExec returns a successful error code and the process ID). When I run the batch file, some of the PCs do show the daemon console, whereas on others, the console appears briefly and then shuts down.
There is nothing in the logs of the daemons themselves which tends to indicate they are never launched.
Any idea where the issue might be coming from?
Edited by LarrxX - 6 hours 26 minutes ago at 2:34pm
Subject: PsExec fails running on multiple machines
Posted: 17 April 2013 at 2:32pm
Hi,
I am running a PSExec command on multiple machines. The command, by itself, works fine:
PsExec.exe \\remotePC -d -i -s cmd /c "\\server\share\program.exe" |
It is supposed to open a console and run a networking daemon.
If I run this command, manually, for each of the 9 machines it should run on, they all work fine.
But when I created a batch file, with 9 lines, one for each of the machines, some of the commands fail (even though PsExec returns a successful error code and the process ID). When I run the batch file, some of the PCs do show the daemon console, whereas on others, the console appears briefly and then shuts down.
There is nothing in the logs of the daemons themselves which tends to indicate they are never launched.
Any idea where the issue might be coming from?
Edited by LarrxX - 6 hours 26 minutes ago at 2:34pm