Hi,

A about 9 months ago XP SP3 was rolled out with an image upgrade, since then there has been rumblings of slow logins when connected to an external network (eg a ADSL modem at home) but no evidence etc.

About the environment
Windows XP SP3
Novell Client 4.91 SP5 IR1
ZENworks 7
Roaming profiles with folder redirection for Desktop, My Documents.

We have just rolled out another upgrade to a number of base apps and this has come up again but with some evidence and some time for me to investigate.

What I have discovered is this:

When a laptop is plugged into an external network (I have used an ADSL network here at work to test this) the login for a user takes about 2 minutes with SP2 and about 3.5 minutes with SP3. This is done checking the workstation only box.

This happens consistently on workstations.

What I have done to narrow this down is as follows:

Removed ZENworks 7 agent. Login times improved dramatically
Installed older versions of ZENworks agent, all results the same, extra slow logins experienced with all versions tried.
Installed ZEN agent and removed Novell Client, still the same slow login.
Created a local user, fast logins experienced even with the ZEN agent installed.
Disabled all ZEN services and logged in with an eDir account, slow logins all the same.
Removed all policies from user and workstations, this made a slight difference but nothing much
Disabled ZEN, no difference either
Disabled NMAS, no difference either
Removed some IDM installer we had rolled at the same time, no difference.

Here are the timed results.
XP with SP2 on corporate network = 30 secs
XP with SP3 on corporate network = 35 secs
XP with SP2 WS only ticked and ADSL modem plugged in = 2min
XP with SP3 WS only ticked and ADSL modem plugged in = 3min 26 secs
XP with SP3 WS only ticked and ADSL modem NOT plugged in = 45 secs
XP with SP3 local user with ADSL modem = 45 secs

So it's down to the ZEN agent really, but the update to SP3 hasn't helped either.

I enabled debug logging and got the following from the log, usernames and servers have been removed:

NWGINA log:
01/31/2011 08:57:02:062 This machine is *NOT* configured to store profiles using NetWare!
01/31/2011 08:57:02:062 Testing for a ZEN cached profile path for this Windows user
01/31/2011 08:57:02:062 GinaRetrieveUsersCachedRoamingProfilePath entered
01/31/2011 08:57:02:062 User's cached profile is: \\SERVER\VOL1\Users\"USERNAME"\Windows NT 5.1 Workstation Profile
01/31/2011 08:57:02:062 GinaRetrieveUsersCachedRoamingProfilePath returning: 1
01/31/2011 08:57:02:062 Testing for NT configured policy file
01/31/2011 08:57:02:062 Didn't find an NT Configured Policy
01/31/2011 08:57:02:062 User logged onto the local machine NT policies are *NOT* configured!
01/31/2011 08:57:02:062
01/31/2011 08:57:02:062 Calling MS API LoadUserProfile
01/31/2011 09:00:16:187 Returned from calling MS API LoadUserProfile
01/31/2011 09:00:16:187 CheckIfSpecialGroupPolicyRunIsRequired entered.
01/31/2011 09:00:16:187 CheckIfSpecialGroupPolicyRunIsRequired returning TRUE
01/31/2011 09:00:16:187 Calling WMGRPPOL in cleanup situation
01/31/2011 09:00:16:187 WMCallUserPolicyHelperDLL Entered.
01/31/2011 09:00:16:187 szHelperName returned: WMPM.DLL
01/31/2011 09:00:16:187 szHelperName returned: WMPOLHLP.DLL
01/31/2011 09:00:16:187 szHelperName returned: WMPRTNT.DLL
01/31/2011 09:00:16:187 szHelperName returned: WMUSPOL.DLL
01/31/2011 09:00:16:187 szHelperName returned: WMGRPPOL.DLL
userenv.log:
USERENV(400.940) 08:56:39:203 GPOThread: Next refresh will happen in 95 minutes
USERENV(400.404) 08:57:02:062 LoadUserProfile: Yes, we can impersonate the user. Running as self
USERENV(400.404) 08:57:02:062 ================================================== =======
USERENV(400.404) 08:57:02:062 LoadUserProfile: Entering, hToken = <0x998>, lpProfileInfo = 0x6ea18
USERENV(400.404) 08:57:02:062 LoadUserProfile: lpProfileInfo->dwFlags = <0x1>
USERENV(400.404) 08:57:02:062 LoadUserProfile: lpProfileInfo->lpUserName = <USERNAME>
USERENV(400.404) 08:57:02:062 LoadUserProfile: lpProfileInfo->lpProfilePath = <\\SERVER\VOL1\Users\USERNAME\Windows NT 5.1 Workstation Profile>
USERENV(400.404) 08:57:02:062 LoadUserProfile: NULL default profile path
USERENV(400.404) 08:57:02:062 LoadUserProfile: NULL server name
USERENV(400.404) 08:57:02:062 LoadUserProfile: In console winlogon process
USERENV(400.404) 08:57:02:062 In LoadUserProfileP
USERENV(400.404) 08:57:02:062 ================================================== =======
USERENV(400.404) 08:57:02:062 LoadUserProfile: Entering, hToken = <0x998>, lpProfileInfo = 0x6ea18
USERENV(400.404) 08:57:02:062 LoadUserProfile: lpProfileInfo->dwFlags = <0x1>
USERENV(400.404) 08:57:02:062 LoadUserProfile: lpProfileInfo->lpUserName = <USERNAME>
USERENV(400.404) 08:57:02:062 LoadUserProfile: lpProfileInfo->lpProfilePath = <\\SERVER\VOL1\Users\USERNAME\Windows NT 5.1 Workstation Profile>
USERENV(400.404) 08:57:02:062 LoadUserProfile: NULL default profile path
USERENV(400.404) 08:57:02:062 LoadUserProfile: NULL server name
USERENV(400.404) 08:57:02:062 LoadUserProfile: User sid: S-1-5-21-77328758-3310200150-3344791982-1022
USERENV(400.404) 08:57:02:062 CSyncManager::EnterLock <S-1-5-21-77328758-3310200150-3344791982-1022>
USERENV(400.404) 08:57:02:062 CSyncManager::EnterLock: No existing entry found
USERENV(400.404) 08:57:02:062 CSyncManager::EnterLock: New entry created
USERENV(400.404) 08:57:02:062 CHashTable::HashAdd: S-1-5-21-77328758-3310200150-3344791982-1022 added in bucket 21
USERENV(400.404) 08:57:02:062 LoadUserProfile: Wait succeeded. In critical section.
USERENV(400.404) 08:57:02:078 LoadUserProfile: Expanded profile path is \\SERVER\VOL1\Users\USERNAME\Windows NT 5.1 Workstation Profile
USERENV(400.404) 08:57:02:078 ParseProfilePath: Entering, lpProfilePath = <\\SERVER\VOL1\Users\USERNAME\Windows NT 5.1 Workstation Profile>
USERENV(400.404) 08:57:02:078 CheckXForestLogon: checking x-forest logon, user handle = 2456
USERENV(400.404) 08:57:02:078 CheckXForestLogon: Stand-alone or NT4 domain, not x-forest logon.
USERENV(400.404) 08:57:14:093 AbleToBypassCSC: Try to bypass CSC
USERENV(400.404) 08:57:14:250 AbleToBypassCSC: tried NPAddConnection3ForCSCAgent. Error 53
USERENV(b78.b7c) 08:57:21:500 LibMain: Process Name: C:\WINNT\system32\wuauclt.exe
USERENV(4ec.ca0) 08:57:42:812 LibMain: Process Name: C:\WINNT\System32\Novell\XTAgent.exe
USERENV(4ec.ca0) 08:57:42:828 GetUserDNSDomainName: Computer is running standalone. No DNS domain name available.
USERENV(400.404) 09:00:16:000 ParseProfilePath: CSC bypassed failed. Ignoring Roaming profile path
USERENV(400.404) 09:00:16:015 ReportError: Impersonating user.