Link to home
Start Free TrialLog in
Avatar of Palaceit
Palaceit

asked on

Is there a way to send a "close program" command via remote session?

Here's the scenario:
About half of our Windows workstations are running in a kiosk type environment where the shell has been replaced (no longer explorer.exe).  Generally, the only thing running on the PC is a program with nothing but a login field.  There's no X to click on and Task Manager has also been disabled (to be clear Ctrl+Alt+Del still works, but Task Manager has been removed as an option).  The workstations are setup in such a way so that they can only be used to run this one program.  They use a touch screen and generally don't have a keyboard connected to them.

To gain administrator access to the workstation, we generally have to close the one program that's running.  In the past, I've been able to do this from a remote session, by using the on-screen keyboard (OSK) and clicking ALT+F4 while the remote session is the top window.  Now however, this is no longer working for some reason (nothing happens that I can see).  If I recall correctly, I was able to do this in both Remote Desktop (RDP) as well as Dameware.  Further complicating the issue is I have to remote to a "jump server" before I can reach the workstation in question (hence the use of OSK).

If anyone can recommend how to send a close program command via a remote session, I'd very much like to know how.
ASKER CERTIFIED SOLUTION
Avatar of NVIT
NVIT
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jdmailny
jdmailny

You can use the start and stop service command from a dos prompt with the drive mapping in the command.
Avatar of Palaceit

ASKER

This worked well.  Thanks!
Only caveat I might add is that in my case I had to run it from the subnet where the host resided.  Otherwise I was getting bad account/password errors.
Thanks for the tip, Palaceit!