?
Solved

Terminal server closing applications after 15 minutes

Posted on 2007-12-05
13
Medium Priority
?
3,234 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Suggested Courses

765 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