Link to home
Start Free TrialLog in
Avatar of ftbtechadmin
ftbtechadmin

asked on

Users Unable to Login to Terminal Services/Citrix - Cannot Load Profile

We are having trouble with random servers within our farm.  Users cannot sign in and receive a message that states their profile cannot be loaded as there are insufficient system resources.

We end up rebooting our server that has issues and that fixes the issue for a day or so.

The event log shows

Event Type:      Error
Event Source:      Userenv
Event Category:      None
Event ID:      1500
Date:            7/8/2008
Time:            10:51:00 AM
User:            ********************
Computer:      *****************
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.
Avatar of russell124
russell124
Flag of United States of America image

Where are you storing your profiles at?  I'm guessing you are using roaming profiles stored on a DC or file server, is that correct?
Avatar of ftbtechadmin
ftbtechadmin

ASKER

Profiles are stored on a file server.
How is the memory usage on your server when you get the errors?  This usually indicates that a server is out of RAM.

It could also be due to corrupt user profiles.  Try and check the server logs and see if the problem is related to any particular user logins.

http://support.citrix.com/forums/thread.jspa?messageID=649947&fromSearchPage=true&

Do you run any crash prone apps?  I've encountered the resource problem after an application crash, even though it appears there is plenty of free RAM, I still have to restart to allow users to log in.  
The server has 4GB of RAM and only 7 users connected (no one else can connect!) and is using about 1.7gb of memory.  Nothing in the logs points to a corrupt user profile, is there a way I can verify that?  

Crash prone apps are the theme of the day, we have an application that crashes evertime the document image writer is set as the default printer.  I'm not sure this is the problem though as I am able to RDP even when other users are told they cannot (I don't use roaming profile).

When I've had the app-crash issue, I've also been able to RDP to the server, even though citrix was not allowing connections.  

When this happens, some users are able to log in, but it will only allow a small number of users to be on the system, then it starts denying logins.

Fortunately, we rarely have an application crash that will cause this, so we only encounter this every couple of months.

The corrupt user profiles should generate errors in the application log, if that is the issue, if you don't see these errors, then I think it might be due to the crashing application.  See if you can associate the application crashes with the profile errors.



No errors in Event log concerning users profile corruption.  I'll try to correlate the crashing application and see what I get.  

I made the changes per the citrix support link in your previous post.  This will require a soak test of a few days to find out if it works or not.

I'll post the instructions here for others.


To resolve this problem, modify the registry to increase the PoolUsageMaximum value and the PagedPoolSize value. To do this, follow these steps:

1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
3. On the Edit menu, point to New, and then click DWORD Value.
4. In the New Value #1 box, type PoolUsageMaximum, and then press ENTER.
5. Right-click PoolUsageMaximum, and then click Modify.
6. In the Value data box, type 80, and then click OK.
7. If the PagedPoolSize registry entry exists, go to step 8. If the PagedPoolSize registry entry does not exist, create it. To do this, follow these steps:a. On the Edit menu, point to New, and then click DWORD Value.
b. In the New Value #1 box, type PagedPoolSize, and then press ENTER.

8. Right-click PagedPoolSize, and then click Modify.
9. In the Value data box, type ffffffff, and then click OK.
10. Exit Registry Editor, and then restart the computer
ASKER CERTIFIED SOLUTION
Avatar of Henrik Johansson
Henrik Johansson
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Changing the registry settings did not have any effect as we had the problem this morning.  I will try the /userva switch.
Did the /userva switch work?  How much memory is safe to switch over on a terminal server? I see a lot of posts forbidding the use of the /3gb switch alone.

I have an urgent issue with the same originally mentioned error message.  After about 15 users connect to a one of our Citrix servers running Advent Partner, other users are not able to load their roaming profiles because of lack of resources.

Any help is appreciated, I'd like to avoid asking a redundant question.  Thanks!