poweradminllc / PAExec

Remote execution, like PsExec
531 stars 177 forks source link

PAExec returning exit code -8 #44

Closed vlreinier closed 3 years ago

vlreinier commented 3 years ago

Running paexec.exe \\[computer] -c -f -s test.cmd returns the following error. Same error when providing credentials.

PAExec v1.29 - Execute Programs Remotely
Copyright (c) 2012-2021 Power Admin LLC
www.poweradmin.com/PAExec

Connecting to [computer]...
Failed to impersonate [] - continuing anyway. The handle is invalid. [Err=0x6, 6]
Starting PAExec service on [computer]...
Copying test.cmd remotely...

PAExec returning exit code -8
vlreinier commented 3 years ago

It seems to fail trying to copy the file to a remote computer. Temp fix is copying the file before running the command, or use -csrc.