Solved

Terminal server closing applications after 15 minutes

Posted on 2007-12-05
13
3,228 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Drive mapping problem 7 47
Powershell permissions for remote computers 12 46
Exchange Server 2013 Message Tracking log Powershell ? 11 85
Pasword self service reset in Azure 6 52
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

733 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