Solved

Terminal server closing applications after 15 minutes

Posted on 2007-12-05
13
3,232 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
[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
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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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
 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

696 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