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


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

Posted on 2005-04-11
Medium Priority
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
  • 2

Expert Comment

ID: 13756402
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

2hype earned 2000 total points
ID: 13757156
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

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

Expert Comment

ID: 13763683
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

830 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