Solved

Terminal server closing applications after 15 minutes

Posted on 2007-12-05
13
3,222 Views
Last Modified: 2013-11-21
My users are complaining about our terminal server closing applications after 15 minutes of inactivity.  The session doesnt close.
User opens word, excel does some work and then walks away.  Comes back and word and excel are closed and doucments are not saved.
Again session is not closing just applications.  I am trying to see if its just MS apps or all apps are closing.  Any help would be great
0
Comment
Question by:ryansoto
13 Comments
 
LVL 24

Author Comment

by:ryansoto
ID: 20416219
We have uphclean installed and I think this is whats causing it..?  
Here is uphclean log around the time this is happening

The following handles in user profile hive Domain\User (S-1-5-21-XXXXX-XXXXXXXX-674962684-2116) have been remapped because they were preventing the profile from unloading successfully:
 
winlogon.exe (436)
  HKCU\Software\Classes (0x8f4)
0
 
LVL 2

Expert Comment

by:DougAnderson
ID: 20416376
could it be that thier sessions ARE being terminated, but the client PC's are automatically logging back into TS, therefor appearing as though the applications were closed?
0
 
LVL 24

Author Comment

by:ryansoto
ID: 20416977
I dont think so there is no setting I know of to auto log back on.  
0
 
LVL 24

Author Comment

by:ryansoto
ID: 20417172
Maybe it is logging off...My group policy for the 'remote users' group logs off after an hour of inactivity.  Any other spots this may be coming from?
0
 
LVL 5

Expert Comment

by:Nicholas Iler
ID: 20423475
If you don't have a explicit setting for disconnecting and logging users off automatically you may consider setting this in group policy. It really sounds like the users are being logged off.

Before a user returns to their workstation to log in check the TS Manager to see the status on the server.
0
 
LVL 24

Author Comment

by:ryansoto
ID: 20423494
I checked and their status says disconnected.  So it appears they are being logged off but there should be no reason why.  My GP says log off after an hour of inactivity and disconnect their session after 2 hours
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 5

Expert Comment

by:Nicholas Iler
ID: 20424113
Your policy I believe is incorrect.

Your log off interval must always be after the disconnection. You can't disconnect a logged off user. When a user is disconnected they can leave their workstation and return with their work still available. Log off closes everything.
0
 
LVL 24

Author Comment

by:ryansoto
ID: 20427467
Yes I mistated disco is set for 1 hour of inactivity and log off after 2 hours.
My users are getting logged off after 10-20 minutes of inactivity.
0
 
LVL 5

Expert Comment

by:Nicholas Iler
ID: 20430448
Are you using roaming profiles? User Profile Hive Cleanup Service (uphclean) seems to be used to help profile management. If you are not using roaming profiles maybe you can disable this tool and test user connections. Although, you may want to fully understand what consequences may arise from disabling this tool before taking that step.

We have moved to default profiles with mapped Favorites, Desktop, Documents and Application Data. Our network is blazing fast with zero wait time logons since the change.

Hope this helps,

Nick
0
 
LVL 24

Author Comment

by:ryansoto
ID: 20431510
UPHClean is to help keep terminal server from creating 'orphaned ports'
I guess when users log on it creates a reg entry for printers.  Sometimes those printers dont get removed when the user logs off so the 'number allowed' gets hit and causes printing to cease from functioning.
0
 
LVL 24

Accepted Solution

by:
ryansoto earned 0 total points
ID: 20475258
I figured it out a screen saver on the admin log in was set to 10 minutes.  The check was set to on resume ask for password.  Unchecked and set screen saver to 100 minutes yeilded the solution I was looking for.  Please refund points
0
 
LVL 1

Expert Comment

by:Vee_Mod
ID: 20491662
Closed, 250 points refunded.
Vee_Mod
Community Support Moderator
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

919 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

16 Experts available now in Live!

Get 1:1 Help Now