In the Yellow Springs School District we have one Windows domain
(yellow-springs.k12.oh.us) and about 75% of our computers are Windows XP SP2
and we have 1 Windows 2003 domain controller (YSS-SERVER) some time during
the week of April 10th I started experiencing problems with our users taking
a VERY long time logging off. I narrowed the problem down to just our
students. Our students share one of two mandatory user profiles, one for the
high school / middle school and one for the elementary school. Our teachers
have there own roaming user profiles. I also have a GPO set to delete cached
roaming profiles upon logoff. As students where logging off it was taking 10
minutes for the windows XP machines to finish "Saving Settings..." This is
odd since mandatory profile shouldn't save any settings. I changed the
profile to a standard roaming profile and just gave students read access to
the share and this allowed for fast log offs again because as profile
changes try to propagate back to the profile share they are just denied
write access and they get a popup box with an error that times out in about
10 seconds. Next I took 1 student (a test account) write access to the
profile share and that student logs off as well as the teachers / staff. So
basically profiles local or roaming work fine on my network as long as they
are not mandatory. I have included samples two userenv.log files one with
the user
logging off with a mandatory profile and one with the user logging off with
a standard roaming user profile. Both have identical lines like this:
UnloadUserProfileP: Wait succeeded. In critical section.
The good logoff takes .5 seconds the bad logoff takes 600 seconds (the 10
extra minutes). They only things I could find on Microsoft's website either
had to do with and NVIDA driver service (Not running on any machine in
question) or a SMS client problem, I do not have SMS. I don't know of any
change to our GPOs that occurred just prior to this occurring, any changes
where made over a week before this began.
I have tried recreating a new profile from scratch and making it into a
mandatory profile and that does not work. I have also tried this on a
computer that gets no GPO settings, just out of the box XP SP2 local
settings.
If anyone has any ideas what could cause this please let me know.
Good Logoff Sample Log:
USERENV(998.2f0) 09:00:18:099 LibMain: Process Name:
C:\WINDOWS\system32\mobsync.exe
USERENV(1f0.1f4) 09:00:21:524 UnloadUserProfile: Entering, hProfile =
<0x1c8>
USERENV(1f0.1f4) 09:00:21:524 UnloadUserProfile: In console winlogon process
USERENV(1f0.1f4) 09:00:21:524 UnloadUserProfileP: Entering, hProfile =
<0x1c8>
USERENV(1f0.1f4) 09:00:21:524 AbleToBypassCSC: Try to bypass CSC
USERENV(1f0.1f4) 09:00:21:602 AbleToBypassCSC: tried
NPAddConnection3ForCSCAgent. Error 2109
USERENV(1f0.1f4) 09:00:21:602 AbleToBypassCSC: Share
\\YSS-SERVER\YSHSProfile1 mapped to drive E. Returned Path E:\
USERENV(1f0.1f4) 09:00:21:618 UnLoadUserProfileP: CSC bypassed.
USERENV(1f0.1f4) 09:00:21:618 GetExclusionListFromRegistry: Policy list is
empty, returning user list = <Local Settings;Temporary Internet
Files;History;Temp>
USERENV(1f0.1f4) 09:00:21:618 CSyncManager::EnterLock
<S-1-5-21-3768285352-763796197-1560542703-1531>
USERENV(1f0.1f4) 09:00:21:618 CSyncManager::EnterLock: No existing entry
found
USERENV(1f0.1f4) 09:00:21:618 CSyncManager::EnterLock: New entry created
USERENV(1f0.1f4) 09:00:21:618 CHashTable::HashAdd:
S-1-5-21-3768285352-763796197-1560542703-1531 added in bucket 7
USERENV(1f0.1f4) 09:00:21:633 UnloadUserProfileP: Wait succeeded. In
critical section.
USERENV(1f0.1f4) 09:00:22:163 MyRegUnLoadKey: Returning 1.
USERENV(1f0.1f4) 09:00:22:163 UnloadUserProfileP: Succesfully unloaded
profile
USERENV(1f0.1f4) 09:00:22:178 MyRegUnLoadKey: Returning 1.
USERENV(1f0.1f4) 09:00:22:178 UnLoadClassHive: Successfully unmounted
S-1-5-21-3768285352-763796197-1560542703-1531_Classes
USERENV(1f0.1f4) 09:00:22:178 UnloadUserProfileP: Successfully unloaded
user classes
USERENV(1f0.1f4) 09:00:22:178 UnloadUserProfileP: Impersonated user
USERENV(1f0.1f4) 09:00:22:194 UnloadUserProfileP: Copying profile back to
E:\
USERENV(1f0.1f4) 09:00:22:210 UnloadUserProfileP: Tick Count = 0
USERENV(1f0.1f4) 09:00:22:225 SetNtUserPolTime: succeed
Bad Logoff Sample Log:
USERENV(bfc.dac) 11:37:40:339 LibMain: Process Name:
C:\WINDOWS\system32\mobsync.exe
USERENV(1ec.1f0) 11:37:43:899 UnloadUserProfile: Entering, hProfile =
<0x1c8>
USERENV(1ec.1f0) 11:37:43:899 UnloadUserProfile: In console winlogon process
USERENV(1ec.1f0) 11:37:43:899 UnloadUserProfileP: Entering, hProfile =
<0x1c8>
USERENV(1ec.1f0) 11:37:43:914 AbleToBypassCSC: Try to bypass CSC
USERENV(1ec.1f0) 11:37:43:945 AbleToBypassCSC: tried
NPAddConnection3ForCSCAgent. Error 2109
USERENV(1ec.1f0) 11:37:43:945 AbleToBypassCSC: Share
\\YSS-SERVER\YSHSProfile1 mapped to drive E. Returned Path E:\
USERENV(1ec.1f0) 11:37:43:945 UnLoadUserProfileP: CSC bypassed.
USERENV(1ec.1f0) 11:37:43:961 GetExclusionListFromRegistry: Policy list is
empty, returning user list = <Local Settings;Temporary Internet
Files;History;Temp>
USERENV(1ec.1f0) 11:37:43:961 CSyncManager::EnterLock
<S-1-5-21-3768285352-763796197-1560542703-1531>
USERENV(1ec.1f0) 11:37:43:961 CSyncManager::EnterLock: No existing entry
found
USERENV(1ec.1f0) 11:37:43:961 CSyncManager::EnterLock: New entry created
USERENV(1ec.1f0) 11:37:43:961 CHashTable::HashAdd:
S-1-5-21-3768285352-763796197-1560542703-1531 added in bucket 7
USERENV(1ec.1f0) 11:37:43:961 UnloadUserProfileP: Wait succeeded. In
critical section.
USERENV(1ec.1f0) 11:47:44:195 MyRegUnLoadKey: Returning 1.
USERENV(1ec.1f0) 11:47:44:351 UnloadUserProfileP: Succesfully unloaded
profile
USERENV(1ec.1f0) 11:47:44:351 MyRegUnLoadKey: Returning 1.
USERENV(1ec.1f0) 11:47:44:367 UnLoadClassHive: Successfully unmounted
S-1-5-21-3768285352-763796197-1560542703-1531_Classes
USERENV(1ec.1f0) 11:47:44:367 UnloadUserProfileP: Successfully unloaded
user classes
USERENV(1ec.1f0) 11:47:44:367 UnloadUserProfileP: flushing HKEY_USERS
USERENV(1ec.1f0) 11:47:44:726 UnloadUserProfileP: deleting profile because
it is a guest user or cache needs to be deleted
--
Jacob Steberl, MCSE A+
Technology Support Technician
Yellow Springs Exempted Village School District
ysml_jsteber@k12server.mveca.org
937-304-8898