I'm starting PsExec inside a WCF web service to execute a remote command and capture it's output.
It's being run while impersonating a certain user.
When trying to run a non-GUI command (like ping, tracert..), PsExec just hangs unless I use -d or -i.
Because I need to get the output, using those parameters is not an option.
GUI apps (mspaint, calc, ..) start just fine.
Any idea what's going on?