Psexec executed cmd to run further programs which require user input
<p>I have a small problem with my Powershell script.</p>

<p>What do i want:
open CMD via PSEXEC on a remote machine, and work in this "remoteshell" as if i am in front of this machine. There is a commandline tool which i'd like to run, which requires user input after its started (it runs a own "shell")</p>

<p>What the problem is:
i utilize PSEXEC 2.11 with the following command</p>

<p>.\PSEXEC \\$Global:Endpoint -s -accepteula cmd</p>

<ul>
<li>Cmd gets started as expected.</li>
<li>When i enter the name of the tool (lets call it tool.exe) the inital screen is loaded. But when the shell appears, nothing happens. I can enter commands but there will be no feedback...</li>
</ul>

<p>C:\windows\System32>tool.exe</p>

<p>Testing Tool V1.0</p>

<p>Command? > </p>

<p>Then nothing can be entered anymore...</p>

<p>I even cannot stop it by pressing CTRL+C. I need to close the application window to force it to close. :(</p>

<p>Any ideas? Are there programs which cannot run in "user interaction" mode?
For reasons, it cannot run as a window visible on the remote endpoint. It needs to run silent.</p>