Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an application that wouldn't start via Remote Desktop (it checks whether it was started via Windows Terminal Services). One simple way to circumvent this would be using a different remote desktop application, such as DameWare. This works, but I was wondering if I could keep using windows Remote Desktop, starting the application remotely by other means. So far I haven't been able to do so:

  • PsExec / BeyondExec / Windows Scheduled Tasks - The application detects these as well (I assume they use Terminal services too)
  • Telnet - The telnet session does not appear to be interactive, I can't see any of the applications I start there in my remote desktop session

I suppose I could always roll my own simple "remote process runner" (with say .NET/WCF), just wondering if there is something ready-made.

EDIT Rolling my own didn't work either, since I had to run the server application I built from Remote Desktop, and any process it spawned was still under that context

share|improve this question
I was wondering if you tried a run as to change the user to a local one. Also, if the roll your own was a service running on the remote box. That way it would also use a local user account. Perhaps REMOTE.EXE would help. Also, I don't know if VNC be acceptable. If I knew more on how the target app protected itself from remote execution, maybe I could give better suggestions. – Scott McClenning Feb 13 '12 at 2:42
Strictly speaking, all interactive sessions, even local ones, now run via Terminal Services on XP and above. – grawity Feb 13 '12 at 8:39
@Scott: What I rolled was a process running on the remote box, but I ran it from the remote desktop session. As per your suggestion I also tried run as with a local user, still woudln't start. Perhaps it simply recognizes that the current session is a remote desktop session ? – Optimus Prime Feb 13 '12 at 10:18

You must log in to answer this question.

Browse other questions tagged .