PA exec error (-8) when copying more than 64 files using -clist
When I run a command similar to:
paexec.exe \\192.168.1.123 *paexec.exe \\\\192.168.1.123 -u 192.168.1.123\Administrator 192.168.1.123\\Administrator -p Dummy -dfr -c -clist "C:\Temp\MyApp.exe.dependencies.txt" "C:\\Temp\\MyApp.exe.dependencies.txt" -cnodel -d -w "C:\Temp" "C:\Temp\MyApp.exe"
"C:\\Temp" "C:\\Temp\\MyApp.exe"*
and *C:\\Temp\\MyApp.exe.dependencies.txt* contains more than 64 files I get the following output:
PAExec v1.25 - Execute Programs Remotely
Copyright (c) 2012-2013 Power Admin LLC
www.poweradmin.com/PAExec
Connecting to 192.168.1.123...
Starting PAExec service on 192.168.1.123...
Copying 65 files remotely...
PAExec returning exit code -8
If I reduce the number of files in the list to less than 64 the same command works.
Using SysInternals Process Monitor for the PA exec process on the target system shows that the operation "CreateFile" for "C:\\Windows\\PAExec_Move64.dat" results in "NAME_NOT_FOUND". The previous files of *PAExec_MoveNN.dat* have been successful.
Operating system on the target system is Microsoft Windows 10 IoT Enterprise 10.0.18363.
I was able to reproduce this behavior with completely different set of files.