Solved

Windows 2003 Terminal Service sessions will not logoff

Posted on 2004-10-02
5
619 Views
Last Modified: 2010-04-19
I manage a 2003 Terminal Server.  Normally, we have 30 active sessions at a time.  We run several apps including Office, Pervassive SQL client, Attachemante, and several other small apps.

Users access this server from XP and 2000 clients.

The server ran perfectly for many months.  About 2 months ago we started having a problem.  Users can not logoff the server.  They can close the session by clicking on the 'X', but when they do a start > logoff, the server appears to hang forever.

I have setup group policy to force a disconnected session to logoff after 1 minute of inactivity.  This works.  Through Terminal Manager, I can force a logoff or disconnect.

For many reasons, closing a session by logging off is a much preferred method of exiting a session.

My thinking is that this problem was possibly caused by an update, but I can't confirm this.

Any thoughts on this?
0
Comment
Question by:jpierson_jerome
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:SamuraiCrow
ID: 12213797
I am running a couple of 2003 servers with the latest windows critical updates and haven't seen this issue.  Just out of curiosity, how are the user profiles managed (i.e. roaming, local, etc...)?
0
 
LVL 1

Author Comment

by:jpierson_jerome
ID: 12213881
Local only.

It was an issue of timing and ruling out everything that I could think of that led me to consider that updates were the cause.
0
 
LVL 9

Accepted Solution

by:
SamuraiCrow earned 500 total points
ID: 12214549
The reason I asked about profiles is that sometimes the profile hive gets 'gummed up'.  Check your event logs and see if you are getting any sort of event id 1000 errors at the time of logoff.  If you are you might consider using the hive cleanup tools found here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=1b286e6d-8912-4e18-b570-42470e2f3582&displaylang=en

Let me know if this helps
Crow
0
 
LVL 9

Expert Comment

by:SamuraiCrow
ID: 12214554
Oops... On 2003 the event IDs your looking for are 1517 and 1524 (1000 is the 2K error).  Good luck.
0
 
LVL 1

Author Comment

by:jpierson_jerome
ID: 12214780
I downloaded the hive tool and that didn't seem to make any difference, but...

Ya got me to thinkin.  At one point I suspected this was a profile issue and this problem also occured right after the SMS Remote Control / Mngt agent was installed.

I disabled the two services associated with SMS and another management tool.  

I then tried to rename my old local profile and couldn't. Long after I had logged off that account, the C:\Documents and Settings\jpierson\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat file was still tied up by something.  I checked and all the profiles were 'locked'.

It is late and my head is foggy, but these profiles should not be 'locked' if there is no one logged on - correct?

So I figured, maybe the hive tool wouldn't work unless I rebooted - the service was running, but if the profiles were tied up then maybe the hive tool couldn't work.  Apparently (I am guessing) that was the case.  My profiles are now 'unlocked' and I can logoff properly.  In fact, the logoff is quicker than ever.

I believe your suggestions was correct. BUT, I didn't have any of the associated events in my event logs.

FYI, I don't think SMS or the other management tool have anything to do with my problem, I added that just to try to make the documentation complete.  I still have them disabled.  Sometime this week, I will re-enable the services just to make sure they weren't part of the problem.

Thanks for the help.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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

11 Experts available now in Live!

Get 1:1 Help Now