Issues with running a PsExec process from code
问题 I am experiencing a weird issue when attempting to run a .NET command line tool remotely using PsExec. When running PsExec from command line, it runs and completes fine. When running it from a console application (creating a process, running PsExec.exe with the necessary arguments to it) -- it is running OK. When running it from our in house custom tool that is used to run different tasks, it either times out or does not complete successfully. Here is the code i am using: Process p = new