Why does it fail if I deploy a .cmd file that runs a ping command?
If I have a .cmd file that contains only the following command:
ping -n 11 127.0.0.1 > NULL
And then deploy that .cmd file to a remote computer, PDQ will say it failed with the message "Runner service died unexpectedly on target computer and left no last will and testament".
If I change that ping command, to something, like, say:
xcopy \\serverpath.domaincom\shares\ExampleFile.doc /y C:\
It will run successfully with no failures.
So I know it's not my setup or permissions.
What's wrong with a .cmd file running ping? And it's not just ping, it's many other commands. Such as net start "service", or net stop "service", or start /wait someprogram.exe
all of these kinds of commands cause PDQ to fail