Citrix profile taking an age to load

hi all,

background
Citrix XP on a Server2000
Recent upgrade from SBS 2003 to 2011

For some reason it is now taking an age to open any app through the web connection, it is sometimes taking 15mins to load personal settings.

This did not appear straight after the upgrade to SBS2011 but I through that info in just in case it has caused an issue.

I have created new profiles but this has not helped.

this is happening to 2 users that i knwo of.

any thooughts greatly appreciated.

thanks
gareth
Gareth McKeeCEO/OwnerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Carl WebsterCitrix Technology Professional - FellowCommented:
Are you using Folder Redirection to keep stuff like My Documents out of the profile?
0
basrajCommented:
1. To make sure if that is something related to profile or not, remove roaming profile for those users if any, for testing purpose and check the performance.

2. How big is their profile

3. See if logon scripts are causing the problem

4. See if network  printers are causing the problem as suggested below:

http://support.citrix.com/article/CTX111403

0
Ayman BakrSenior ConsultantCommented:
Alternatively you can enable userenv logging to see what is happening when the user is logging - specially that you said this did not appear at the start but appeared lately for some reason.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

JezCommented:
Try running from the CLI as Admin, "netsh interface tcp set global autotuninglevel=highlyrestricted" or "Disabled"

Should increase the "tuning" on the TCP stack.
0
CoralonCommented:
Since it is only 2 users, then it is *very* likely they have something very large in their profile.  As basraj mentioned, check their profile size.

The first thing I would check is their Desktop folder if it is not redirected..  Some users have a habit of storing everything on their desktop and this will greatly slowdown the profile load if they have a lot of stuff and/or large items on their desktop.  My favorite - a user had put a full ISO image on their desktop and wanted to know why they were taking 10 minutes to load their session.

And as CarlWebster pointed out - My Documents can be a killer if it is not redirected.  I *always* redirect My Documents - typically to the home directory just to avoid this.

Coralon
0
Gareth McKeeCEO/OwnerAuthor Commented:
Thanks for all the ideas guys, I am slowly working through them.

The TS box is 2000 and the DC is SBS2011, unfortunately I am unable to find the GPO setting on the 2011 box to redirect 'My Documents', any ideas?

thanks
g
0
Ayman BakrSenior ConsultantCommented:
It should read 'documents'

Check this YouTube video:

Http://www.youtube.com/watch?v=iFHPtz9ufr4
0
CoralonCommented:
It is under the User Section | Policies | Windows Settings | Folder Redirection | Documents.

If the TS box is Win2k, you should *really* get that upgraded :-D

Coralon

0
Gareth McKeeCEO/OwnerAuthor Commented:
hi guys, as per Mutawadi's idea above, how do I use userenv logging?

thanks
g
0
CoralonCommented:
you will want to set a couple of registry keys on the TS box. (http://support.microsoft.com/kb/221833)

(from the article)
Use Registry Editor to add or to modify the following registry entry: 
Subkey: 
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Entry: UserEnvDebugLevel
Type: REG_DWORD
Value data: 10002 (Hexadecimal) UserEnvDebugLevel can have the following
 values: NONE 0x00000000
NORMAL 0x00000001
VERBOSE 0x00000002
LOGFILE 0x00010000
DEBUGGER 0x00020000
The default value is NORMAL|LOGFILE (0x00010001).

Note To disable logging, select NONE (0x00000000).

Open in new window


Just be careful.. it will generate a *lot* of data with the verbose mode.  It logs to %Systemroot%\Debug\UserMode\Userenv.log and if left on in a TS environment, you can fill the disk.

Coralon
0
Gareth McKeeCEO/OwnerAuthor Commented:
Thanks for the info Coralon.

Please find attached the from 1 user logging on/off.

thanks for all your help guys, hopefully one look at this and the penny will drop with someone.
gareth

 userenv.log
0
Carl WebsterCitrix Technology Professional - FellowCommented:
On my Mac, I am getting an error trying to download the file.  Says the file is unreadable.
0
Ayman BakrSenior ConsultantCommented:
The userenv.log is limited to about 300 KB as far as I remember but can cross the limit and grow larger on a TS environment and as Coralon said it can fill the disk on bulk logging.

I would prefer to carry out the environment logging on off peak hours where you will have a couple of your users facing the long logging issue log on your TS server. Once you are satisfied with the logs you can disable the logging through the registry key given by Coralon; after which you can analyze the log files.
0
Gareth McKeeCEO/OwnerAuthor Commented:
Please find the log attached as a word doc, hopefully will download much better as it is nearly half the size.

g
 USERENV.doc
0
Carl WebsterCitrix Technology Professional - FellowCommented:
that got it for me
0
Carl WebsterCitrix Technology Professional - FellowCommented:
You have a lot of these:

USERENV(7b4.b40) 14:17:03:955 UnloadUserProfile: Leaving with a return value of 1
USERENV(7b4.8fc) 14:17:08:518

USERENV(7b4.b40) 14:17:10:987 UnloadUserProfile: Leaving with a return value of 1
USERENV(7b4.8fc) 14:17:15:627

USERENV(7b4.b40) 14:17:25:221 UnloadUserProfile: Leaving with a return value of 1
USERENV(7b4.8fc) 14:17:29:674

0
Ayman BakrSenior ConsultantCommented:
I think there seems to be an issue with your users profiles path. When the users are trying to log on to your Citrix servers it seems it is trying to locate their profiles but is unable to, thus creating a new temporary local profile from the default profile. Can you verify if the users are logging on with temporary local profiles?

One more thing to note is that it seems that your default profile on the Citrix is large in size. Can you verify the size?

Check the permissions for your users on the file share where the profiles are stored; check also whether the terminal services profiles setup are still in place - specially that you upgraded from SBS 2003 to 2011 there might be some loss or corruption of setup. You can also check network connectivity between the Citrix servers and the file share servers.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gareth McKeeCEO/OwnerAuthor Commented:
it was the default profile, it had some very large files in it for some reason which I have now deleted.

thankfully with this issue the company has decided to upgrade the system... yippee.

thanks everyone for your help
g
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Citrix

From novice to tech pro — start learning today.