Solved

Logon Error on a Windows 2003 Terminal Server

Posted on 2009-07-14
4
649 Views
Last Modified: 2013-11-21
Yesterday I received a call from a client.  Some users were having issue logging on to their terminal server.   I looked into it and they were getting the errors below.   I restored the NTUSER files in the profile folder and they were able to log back on.   I looked at the log and I noticed that UPHClean which I had loaded a few weeks ago was being blocked by Symantec from making any changes to the profiles when the users logged off.  I added an exception to Symantec to resolve this issue and thought the issue was resolved.

This morning I received a call saying they were again having issues logging into the server.  I used the same tape to restore the NTUser files but today it does not seem to make any difference.   Even after I have restored these files they can not logon onto the server.  

We are running Microsoft Windows 2003 with Symantec Endpoint Protection.  Whenever this isue occurs I see both of the following error messages in the application log.  I watched the performance tab on Task manager and there seems to be enough memory and the CPU is not overloaded.  

Any suggestions would be appreciated.

Event Type:      Error
Event Source:      Userenv
Event Category:      None
Event ID:      1500
Date:            7/14/2009
Time:            11:54:03 AM
User:            CANDW2\pcollins
Computer:      CWSERVER
Description:
Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, or that your network is functioning correctly. If this problem persists, contact your network administrator.

 DETAIL - Insufficient system resources exist to complete the requested service.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

and

Event Type:      Error
Event Source:      Userenv
Event Category:      None
Event ID:      1508
Date:            7/14/2009
Time:            12:19:36 PM
User:            NT AUTHORITY\SYSTEM
Computer:      CWSERVER
Description:
Windows was unable to load the registry. This is often caused by insufficient memory or insufficient security rights.

 DETAIL - Insufficient system resources exist to complete the requested service.  for C:\Documents and Settings\pcollins.CANDW2\ntuser.dat

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.




0
Comment
Question by:qvfps
  • 3
4 Comments
 

Author Comment

by:qvfps
ID: 24851438
Thanks
0
 
LVL 5

Accepted Solution

by:
Darkstriker69 earned 500 total points
ID: 24854679
Hi gvfps,

This issue you are seeing is quite common in Windows 2003 TS 32 bit servers.

The main reason for the "insufficient system resources..." is depleted kernel memory (mostly paged-pool memory).

You can verify if kernel memory causes problems in your environment by running Process Explorer, here is a good link on how to do that - http://blogs.technet.com/askperf/archive/2007/03/07/memory-management-understanding-pool-resources.aspx

In order to configure to maximum amount of paged pool kernel memory I always configure the following Registry keys on my customers TS boxes:

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PagedPoolSize - FFFFFFFF (Hex, REG_DWORD)

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\SystemPages - 0 (REG_DWORD)

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PoolUsageMaximum - 60 (Decimal, REG_DWORD)

After you configure these settings you need to reboot the TS box. after the reboot you can use Process Explorer again and make sure that now more Paged-pool kernel memory is avaliable.

Hopefully this helps,

Darkstriker69
0
 

Author Comment

by:qvfps
ID: 24856331
Thanks for the reply.  I have made the suggested changes and I will let you know if the issue occurs again in the next couple of days.  
0
 

Author Closing Comment

by:qvfps
ID: 31603345
I checked the Application log again this morning and there have been no errors since I made the above changes.  Thanks for the help.
0

Featured Post

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
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.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 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

13 Experts available now in Live!

Get 1:1 Help Now