No announcement yet.

RDP to Terminal Server

  • Filter
  • Time
  • Show
Clear All
new posts

  • RDP to Terminal Server

    Have multiple apps on terminal server that we would like to make auto start VIA RDP.
    The issue is we can make them start and Run-but when quiting the app we would like the RDP session to close.

    Can an aplication autostart when RDP is launched and can the RDP session be set to close when the aplication is exited?

  • #2
    Re: RDP to Terminal Server

    I don't think that this can be done with plain RDP... Sounds like you need a software-publishing solution, like Citrix, Cockpit or 2X AppServer. This way, your users will get a seamless application only, not a full Desktop.
    And btw, the title of your post is not the best you could find to explain what you're looking for...

    Sorin Solomon

    In order to succeed, your desire for success should be greater than your fear of failure.


    • #3
      Re: RDP to Terminal Server

      Or wait for Windows 2008

      Michael Armstrong
      MCITP: EA, MCTS, MCSE 2003, MCSA 2003: Messaging, CCA, VCP 3.5, 4, 5, VCAP5-DCD, VCAP5-DCA, ITIL, MCP, PGP Certified Technician

      ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **


      • #4
        Re: RDP to Terminal Server

        I've done such thing a long long time ago with scripting.
        We replaced the explorer.exe in the registry for the script if i recalled it correctly.. Anyhow, it whas the process which starting the shell.

        The script then started the application and keep looping a part of the script which was monitoring the process.
        When the process was closed the script executed a logoff.
        With GPO's we totally locked down the machine so no other stuff was able to start.

        This isn't a nice and clean solution but it did the job.
        I don't have the script anymore and you have to search the registry for replacing the explorer.exe.

        Exually the process is quite simple:
        Replace correct shell part in the registry for the script.
        Script start application
        Script starts monitoring if the exe file is still running (maybe you should use multiple checks)
        If exe file isn't running anymore then logoff.

        SO yes, it can be done but personally I would go for Citrix. It quite hard to script and if you use multiple users and scripts is even harder.
        Especially if a process needs multiple instances or multiple files to call. You really need to know what exe files are running because of the monitoring part of the script.
        Last edited by Dumber; 5th November 2007, 23:31.
        Technical Consultant

        MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
        "No matter how secure, there is always the human factor."

        "Enjoy life today, tomorrow may never come."
        "If you're going through hell, keep going. ~Winston Churchill"