Sorry, I don't have enough reputation for comment, but is this a single \ a typo? As
Invalid handle.
probably means that the computer address is not valid. Try
psexec.exe \\ABCDEFG -u "DOMAIN\username" -p "password" "C:\test.bat"
Note the backslash for accessing a locally displayed computer.
otherwise, if this does not work, I recommend @tag
psexec.exe @servername.txt -u "DOMAIN\username" -p "password" "C:\test.bat"
where @ servername.txt is a text file containing only server names, one on each line. File option handles formatting \
ex servername.txt
ABCDEFG COMPUTER2
EDIT: also detected after a quick search on the Internet, which may be related to Windows protection .
source share