Roaming Profiles


  • I need help with roaming profiles. When a user logs in a local profile is created called "username". When the user logs out it copies it to the profiles share on a windows 2003 server. When the user logs back in it creates "username.domain". When the user logs out and back in it creates "username.domain.001". There are no files left in the old local profiles, no files at all, just the folder. UPHClean shows tons of 1632 events regarding access denied errors to update security descriptors. I've disabled caching on the profile and folder redirection shares, doesn't help. I've added the user to domain admins, doesn't help. I've been researching this for over 2 weeks and have tried multiple things and nothing has helped yet. Any ideas I haven't tried would be welcome as this is becoming a massive headache with over 1500 pc's.

    Thanks in advance.
    Monday, January 25, 2010 4:11 PM

All replies

  • Check Event Viewer for Userenv errors and post here.
    Monday, January 25, 2010 4:58 PM
  • I believe herein lies the problem but I cannot figure out why winlogon keeps getting stuck during logoff.

    USERENV(1f0.1f4) 12:07:23:617 DeleteProfile:  Failed to delete the appmgmt dir C:\WINDOWS\system32\appmgmt\S-1-5-21-2228487743-963070224-1443963510-1830, error 2
    USERENV(1f0.1f4) 12:07:23:660 UnloadUserProfileP: DeleteProfileDirectory returned false (2). Error = 32
    USERENV(1f0.1f4) 12:07:23:660 UnloadUserProfileP: exitting and cleaning up
    USERENV(1f0.1f4) 12:07:23:660 CSyncManager::LeaveLock <S-1-5-21-2228487743-963070224-1443963510-1830>
    USERENV(1f0.1f4) 12:07:23:660 CSyncManager::LeaveLock: Lock released
    USERENV(1f0.1f4) 12:07:23:660 CHashTable::HashDelete: S-1-5-21-2228487743-963070224-1443963510-1830 deleted
    USERENV(1f0.1f4) 12:07:23:660 CSyncManager::LeaveLock: Lock deleted
    USERENV(1f0.1f4) 12:07:23:675 UnloadUserProfileP: Leave critical section.
    USERENV(1f0.1f4) 12:07:23:675 CancelCSCBypassedConnection: Cancelling connection of E:
    USERENV(1f0.1f4) 12:07:23:675 CancelCSCBypassedConnection: Connection deleted.
    USERENV(1f0.1f4) 12:07:23:689 UnloadUserProfileP: Leaving with a return value of 1
    USERENV(1f0.1f4) 12:07:23:689 UnloadUserProfile: UnloadUserProfileP succeeded
    USERENV(1f0.1f4) 12:07:23:689 UnloadUserProfile: returning 1
    Error 32 seems to be access denied. I just set full permissions to the ProfileList registry key for the user and same thing. The users profile is completely empty, I double checked after setting show hidden and system files.

    Thanks for the quick reply Bakradze.
    Monday, January 25, 2010 6:11 PM
  • Sorry, I think the line I bolded got cut off.

    USERENV(1f0.1f4) 12:07:23:660 UnloadUserProfileP:  DeleteProfileDirectory returned false (2).  Error = 32

    According to the whole log, all files get copied back to the profile share and removed from the local machine, except the profile directory itself. I've even made the user an admin on the local machine and the error still occurs.

    Monday, January 25, 2010 6:13 PM
  • Here are the events from the event log.

    Event Type:    Information
    Event Source:    UPHClean
    Event Category:    None
    Event ID:    1610
    Date:        1/25/2010
    Time:        12:07:23 PM
    User:        NT AUTHORITY\SYSTEM
    Computer:    AISPRIN2
    The following processes are preventing access to C:\Documents and Settings\jdiltz:
    winlogon.exe (496) handle 0xac0
    Access was not successful after a 1 seconds delay.


    Event Type:    Information
    Event Source:    UPHClean
    Event Category:    None
    Event ID:    1632
    Date:        1/25/2010
    Time:        12:06:27 PM
    User:        NT AUTHORITY\SYSTEM
    Computer:    AISPRIN2
    Security descriptor for file \\aisserv\users\jdiltz\Application Data\Microsoft\ could not be updated.  Error -2147024891 .

    Monday, January 25, 2010 6:15 PM
  • Did you try to update a Windows Server 2003?
    Tuesday, January 26, 2010 7:56 AM
  • Yeah, Windows 2003 Standard 32bit with Service Pack 2 and all current patches. All 1500 workstations are XP Service Pack 3 with current updates.
    Tuesday, January 26, 2010 1:42 PM