Terminal server closing applications after 15 minutes

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
LVL 24
ryansotoAsked:
Who is Participating?
 
ryansotoConnect With a Mentor Author Commented:
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
 
ryansotoAuthor Commented:
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
 
DougAndersonCommented:
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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
ryansotoAuthor Commented:
I dont think so there is no setting I know of to auto log back on.  
0
 
ryansotoAuthor Commented:
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
 
Nicholas IlerIT Technical EngineerCommented:
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
 
ryansotoAuthor Commented:
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
 
Nicholas IlerIT Technical EngineerCommented:
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
 
ryansotoAuthor Commented:
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
 
Nicholas IlerIT Technical EngineerCommented:
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
 
ryansotoAuthor Commented:
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
 
Vee_ModCommented:
Closed, 250 points refunded.
Vee_Mod
Community Support Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.