Link to home
Create AccountLog in
Avatar of adamchampion
adamchampionFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Event ID: 1505 - insufficient system resources exist to complete the requested service when logging onto Terminal Server

Hi guys,

We have 2 TS servers with 2 quad core 12GB RAM on each.  One runs on WIndows Server 2003 Enterprise and the other is Windows Server Enterprise R2.

Every day around 30 users connect onto each server and, until recently, have been doing so with no problems for the past 6 months...  both servers have now started coming up with the following message once about 20 users have logged on:

When a user tries to log on:
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 the problem persists, contact your administrator

When I try to log on using an admin account:
Windows cannot load the users profile but has logged you on with the default profile for the system

DETAIL - Insufficient system resources exist to complete the requested service

The CPU usage runs at around 20% so can't be that
TS2 runs without a glitch, but TS1 keeps popping up the following message mostly during the afternoon, and when a user tries to log off and then log back on.

'Insufficient system resources exist to complete the requested service'

In event viewer I get Event ID: 1505

I've 'googled' the problem and seen a post which suggested to look at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management and change the PoolUsageMaximum to 60 and PagedPoolSize to ffffffff - looked and it already has these values.

The boot.ini on the server contains:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003, Enterprise" /PAE /noexecute=optout /fastdetect

Also we can only reboot the servers once a week - can't do any more because they are in use 24/7

Any help or advice would be greatly appreciated

Thanks

Adam
Avatar of jerrypd
jerrypd
Flag of United States of America image

is the hard drive where the profiles live full?
I have had that happen to me
Avatar of adamchampion

ASKER

Hi Jerry,

There's 89GB left on the HDD so not the problem

Cheers

Adam
ASKER CERTIFIED SOLUTION
Avatar of dj_jamal2000
dj_jamal2000

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Hi,

I've made a GPO change - enabled wait for remote user profile (have attached)

Already have UPHClean installed.

Any other suggestions??

Thanks

Adam User generated image
Avatar of dj_jamal2000
dj_jamal2000

Try to add these Reg keys on the server:

1-create MaxUserPort and set it to 65534 on:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

alos force Kerbrose over TCP instead of the UDP by creating the MaxUserPort:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\ Kerberos\Parameters
and set the value to 1
Hi,

Thanks for the response... have made the changes and have scheduled a reboot for tomorrow morning.  Will see if it's made a difference.

Thanks for your help

Adam