Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you can run PowerShell on these machines you could use it to find the running process and kill it. the..</p> <pre><code>Get-Process </code></pre> <p>..Cmdlet will show you the running processes, you can write the logic to foreach through this list and match your application with regex directly in powershell, I don't know Ruby but theoretically you could use it to do the same invoking the powershell commands with:</p> <pre><code>powershell.exe -command Get-Process </code></pre> <p>To kill a process its:</p> <pre><code>Stop-Process &lt;processId&gt; Stop-Process -processname &lt;processName&gt; </code></pre> <p>Not quite sure how to start the GUI process through telnet, I don't have telnet setup on my equipment.</p> <p>perhaps you can do something similar to this: <a href="http://www.peterprovost.org/blog/post/Powershell-Sudo-(sort-of)-for-Vista-UAC.aspx" rel="nofollow noreferrer">http://www.peterprovost.org/blog/post/Powershell-Sudo-(sort-of)-for-Vista-UAC.aspx</a></p> <p>Setting the verb to "runas" like in the example at that address will invoke UAC, doing this I was unable to kill the new process, however I am to kill it if I set:</p> <pre><code>$psi.Verb = "open" </code></pre> <p>Additionally you can set these attributes as well:</p> <pre><code>Verb : open Arguments : CreateNoWindow : False EnvironmentVariables : {processor_revision, processor_level, logonserver, systemroot...} RedirectStandardInput : False RedirectStandardOutput : False RedirectStandardError : False StandardErrorEncoding : StandardOutputEncoding : UseShellExecute : True Verbs : {open, runas, runasuser} UserName : Password : Domain : LoadUserProfile : False FileName : notepad.exe WorkingDirectory : ErrorDialog : False ErrorDialogParentHandle : 0 WindowStyle : Normal </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload