PsExec - what if the .exe you run remotely requires user interaction?

Posted by Luca Matteis on Server Fault See other posts from Server Fault or by Luca Matteis
Published on 2010-08-14T12:00:52Z Indexed on 2011/01/11 6:55 UTC
Read the original article Hit count: 261

Filed under:
|
|
|

I use PsExec to deploy small .exe files to my workstations. Sometimes the .exe, for some reason, is incompatible with the system and opens a popup window with an error or some other message.

Is there any way to know when the executable is 'stuck' there requiring user interaction? On my side I just have psexec running and waiting for the .exe to return (which will never return because the popup is stuck there).

Since I run PsExec programmatically and I automate all the executions, when this Popup thing happens I find myself with hundreds of psexec processes stuck there and have no result back from them..

What's the best way to handle this sort of issue?

Thanks.

© Server Fault or respective owner

Related posts about Windows

Related posts about deployment