gordonmann
asked on
How to end a program on terminal server
I have users working on a Terminal Server ans I need to find a waty for them to "End a Program" - the control-alt-del keys do not work from remote connections and I dare not give them access to task manager.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
my only thought would be using something like taskkill.exe
taskkill /im outlook.exe
taskkill /im winword.exe
etc...
But that assumes the user knows the exe name of applications.
taskkill /im outlook.exe
taskkill /im winword.exe
etc...
But that assumes the user knows the exe name of applications.
ASKER
I will go with first solution since it is already there.
Just an FYI - taskkill.exe is included with Windows. You could save the following (very basic) vbscript to their desktop - they'd click on it and be prompted for the name of the executable to kill (again, limitation being the user knowing the .exe name); but it works pretty well:
Dim App
App = InputBox("Name of executable to kill: ")
Set WshShell = WScript.CreateObject("WScr ipt.Shell" )
WshShell.Run "taskkill /im " & App
Dim App
App = InputBox("Name of executable to kill: ")
Set WshShell = WScript.CreateObject("WScr
WshShell.Run "taskkill /im " & App
ASKER