Solved

RDP Windows 2008 Logs Off Instantly When Launching With A Program

Posted on 2011-03-03
6
1,911 Views
Last Modified: 2013-11-21
Hello.  We are trying to create an RDP Session in Windows 2008, with the <Start the following program on connection> function.  Our problem is...when we do this, the RDP client will, indeed, connect to the Terminal Server, but then AUTOMATICALLY LOGS OFF...and *never* launches our application!

As a side note...IF we test this WITHOUT that box checked...using the exact same user credentials...it authenticates, and logs in, directly to a Desktop.  We do NOT want to present/provide a Desktop to such users; the whole purpose, is to lock the user into our application, and have their Terminal Session ended upon Exiting of our application (this is for a Point of Sale application on a WAN).

We've done this many, many times, on Win2003 (Terminal Server), but this is failing on Win2008.  We're obviously missing something...and I'm hoping it's something quite simple.  Any clues?  Please help...we need to get this system up & running pretty quickly for the Remote Users...Thanks!...Mark
0
Comment
Question by:datatechcorp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 43

Accepted Solution

by:
Davis McCarn earned 167 total points
ID: 35055882
What groups did you set the RDP users as members of?
If all they are going to run is the one app, try setting them to members of the Power Users group.
0
 
LVL 24

Assisted Solution

by:purplepomegranite
purplepomegranite earned 166 total points
ID: 35060675
Does this application run as a standard user?  It sounds like the application is loading and then closing (e.g. due to an error), hence the log-out.  If you log in as a standard user and run the program, what happens?  Are there any events recorded in the event log?
0
 
LVL 26

Assisted Solution

by:Tony Johncock
Tony Johncock earned 167 total points
ID: 35067240
There is really no need to elevate user permissions, but rather it is much better practice to determine (a) if it _is_ a permissions issue and (b) address the individual permissions issues directly.

Sorry, but I've seen so many problems over the years caused by lazy admins elevating permissions to the point they make everyone admins and it's a nightmare waiting to happen.

First off - download a copy of Sysinternals' Process Monitor:

http://technet.microsoft.com/en-us/sysinternals/bb896645

Log onto the server desktop as an admin user and run Process Monitor.

Try to log on with one of the users that is having the problem whilst, as the admin user, filtering on the executable you are trying to run and look for any accessed denied error messages (you can also set a highlight filter to make this easier to spot).

You need to do this for both the registry and file access.

IF it's a permissions problem, you will track it down fairly quickly this way.

If not, let us know and we can take it from there.
0
 

Author Closing Comment

by:datatechcorp
ID: 35123354
I'm going to award the points to everyone that responded...as always, it's much appreciated.

We resolved this on our own.  This answer was...and we didn't know this in Win-2008...we had to PUBLISH the application out on the RDP Apps Manager!  That clued us in, and we've tweaked it since...to get the behavior precisely the way we needed.

Again, thanks to all of you!
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Like many organizations, your foray into cloud computing may have started with an ancillary or security service, like email spam and virus protection. For some, the first or second step into the cloud was moving email off-premise. For others, a clou…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

752 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