upon remote desktop connection to server 2003, allow users to execute only 1 application.

Posted on 2005-04-11
Last Modified: 2008-02-01
I'm new with this but here is what I've set up: users establish VPN connection to the remote server 2003. Using remote desktop they are able to connect to the server and run application. The ideal solution would only load appropriate application and wont allow them to do anything else. (example: user connect, application load; user closes application, connection closed)
The problem is that application that i need to run executes by -->"C:\Dpw32\dpw.exe -cc\C:\Dpw32\fox.dbf"
I've tried to create executable (using AutoIT) that executed upon establishing Remote Desktop connecting, but it did not work.
I'm open minded toward different solutions as long as they come close to the ideal solution.
Question by:maximyshka
    LVL 4

    Expert Comment

    How about setting a GPO in User Configuration -> Adm. Templates -> System -> Run only allowed Windows applications?

    Specify your app (dpw.exe) as only application the user can run and start it when user logs in (AD: user -> user properties, Enviroment -> Start the following program at logon: .....).

    I dont know how to end the session when the program ends but hope this helps anyway.
    LVL 13

    Accepted Solution

    You can set it in each user account in Active directory.  Edit there account and select the Enviroment tab and set which program to start at logon.  When they logon it will open that program and when they close it it will close that program.

    You could also go to Terminal Services Configuration.  Under Connections right click the RDP-TCp(or whatever its called) and select properties.  Under Enviroment set the application to start when they logon.  This setting will overide any setting they have set in there user account settings.  It is probally easiest to set it her because you dont have to set it up for each user.

    Author Comment

    How about vise verse: if they close the program it closes connection? Is there such settings?
    LVL 13

    Expert Comment

    if you tell it to start a program at logon all that appears is the program.  no desktop items, no start menu will be seen.  when the application is closed the session ends.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
    Learn about cloud computing and its benefits for small business owners.
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    This video discusses moving either the default database or any database to a new volume.

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now