Solved

Windows 2003 Terminal Service sessions will not logoff

Posted on 2004-10-02
5
623 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

820 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