[Webinar] Learn how to a build a cloud-first strategyRegister Now


How to end a program on terminal server

Posted on 2007-08-09
Medium Priority
Last Modified: 2013-11-21
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.
Question by:gordonmann
  • 3
  • 2
LVL 19

Accepted Solution

aissim earned 2000 total points
ID: 19662918
ctrl-alt-end will give you the same results as ctrl-alt-del in a terminal session.

Not sure what you're trying to access though with the ctrl-alt-del?

Author Comment

ID: 19663012
I am aware of that but that gives them the availability of too many other items.
LVL 19

Expert Comment

ID: 19664801
my only thought would be using something like taskkill.exe

taskkill /im outlook.exe
taskkill /im winword.exe

But that assumes the user knows the exe name of applications.

Author Comment

ID: 19664826
I will go with first solution since it is already there.
LVL 19

Expert Comment

ID: 19665161
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("WScript.Shell")
WshShell.Run "taskkill /im " & App

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
Integration Management Part 2
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question