Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Windows 2003 Terminal Service sessions will not logoff

Posted on 2004-10-02
5
Medium Priority
?
629 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 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

885 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