Answered User Profile Disks sometimes fail to load

  • Tuesday, December 11, 2012 8:06 PM
     
     

    Environment:

    • Vanilla RDS (not-VDI; traditional RDS)
    • Server 2012 RDS session host
    • Server 2008 R2 hosting user profile disk store over SMB share
    • Computer account has rights to share and NTFS rights

    Logging on to the RDS server the first time will work fine - the UPD is mounted successfully, and user profile persists logons\logoffs (usually).

    After a reboot of either the RDS server, or the file server housing the UPDs, profile load fails and users are logged on with a temporary profile. This can be resolved by destroying the share and recreating it...even though no sessions or open file handles show in the console. Once resolved, UPDs are successfully re-mounted again.

    I've noticed that the vhdx file itself on the file server is locked.

    First error received - 1515:

    Windows has backed up this user profile. Windows will automatically try to use the backup profile the next time this user logs on.

    Then a 1511:

    Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.

All Replies

  • Wednesday, December 12, 2012 12:50 PM
     
     

    What's locked the file (try Process Explorer)? Probably want to ensure the file server's antivirus is set to exclude vhdx files if you've not done that.

    I'm still not sure why I'd want to use User Profile Disks for a RDS session host environment, have had no issues (worth noting) with roaming profiles and redirected folders over the last ten+ years.

  • Monday, December 17, 2012 2:48 AM
    Moderator
     
     

    Hi,

    Sorry for the delay.
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.

    Thank you for your understanding and support.

    Best Regards,
    Aiden

    If you have any feedback on our support, please click here


    Aiden Cao
    TechNet Community Support

  • Wednesday, December 26, 2012 5:22 AM
     
     Answered

    The error 1515 may occurs if the "Do not logon users with temporary profiles" Group Policy setting is configured.

    This issue may occur if the user profile was corrupted or deleted manually or by other means. A profile that is manually deleted does not remove the Security Identifier (SID) from the profile list in the registry.

    If the SID is present, Windows will try to load the profile by using the ProfileImagePath that points to a nonexistent path. Therefore, the profile cannot be loaded.

    Please refer to the following KB link:
    http://support.microsoft.com/kb/947215

    http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Windows+Operating+System&ProdVer=5.2&EvtID=1511&EvtSrc=User+Profile

    http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Windows+Operating+System&ProdVer=5.2&EvtID=1515&EvtSrc=Userenv&LCID=1033

    http://social.technet.microsoft.com/wiki/contents/articles/3571.microsoft-windows-user-profiles-service-event-1511.aspx 


    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.”