This is a notorious issue with psexec:
http://forum.sysinternals.com/psexec-always-hangs-when-run-from-java_topic5013.html
Program output lost when passed through PsExec
You can try with xCmd: http://feldkir.ch/xcmd.htm (it will not work against localhost)