none
Unable to load user profile

    Question

  • Multiple times per day, we are receving the Unable to load user profile error on our Windows 7 Pro machines. These machines pull a mandatory roaming profile from the server during logon. The problem is, randomly the user is presented with this error. I can then go to the administrative user and using regedit.exe delete the registry entry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-xxxxx-xxxx. This fixes the problem and the user can once again login and pull their mandatory roaming profile. But then, several hours later, they will get the error again. I can again login in to the administrator and fix the problem, but then the error will eventually come back. What is going on? We have 5 machines configured with mandatory roaming profiles and all are using Windows 7 Pro and a Windows 2k8R2 server and they are all doing the same thing.
    Wednesday, June 15, 2011 7:56 PM

Answers

  • You know what! Now I feel like a royal idiot! I've done this sort of thing a million times and you'd think I would know better. The problem was indeed my fault. I was linking the computer policy to the user OU instead of the computer OU. Once I linked it correctly, everything began to apply as expected and the problem went away! Thank you for forcing me to think beyond my own narrow mindedness!
    • Marked as answer by MichaelS1976 Friday, July 01, 2011 3:11 PM
    Friday, July 01, 2011 3:11 PM

All replies

  • Hi,

    Thanks for the post.

    This issue may be caused by the saved profile which is corrupted, you may delete the profile and try to log on with the same account for a test.

    If it does not work, please follow the steps in the article below to re-create a mandatory profile.

    http://support.microsoft.com/kb/973289

    In addition, you may provide the exact error message or error code in the Event Log if the issue reoccurs.

    Regards,
    Juke
    TechNet Subscriber support in form. If you have any feedback on our support, please contact tngfb@microsoft.com


    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. ”
    Thursday, June 16, 2011 9:18 AM
    Moderator
  • If it were a corrupted saved profile, why would five different machines, logging in as five different users all end up having a corrupted saved profile? And if, that were the case, is there any way to tell Windows not to save the profile in the first place? I can delete the saved profile and then log back in and it works correctly. My problem is that eventually the problem occurs again and I have to delete the saved profile again.

    I have recreated the mandatory profile SEVERAL times. I don't think this is the problem, because I can successfully use the profile over and over and then suddenly I get this error. I delete the SID from the registry and boom, I'm back up and running, but then it does it again at some random time.

    I have provided a link to what I believe is the offending errors in the event log. This log was generated on a Windows 7 machine:

    http://dl.dropbox.com/u/21805595/errors.evtx

    Thanks,
    Michael

    Thursday, June 16, 2011 1:37 PM
  • Hi,

    I opened the log and found there is a log shows that the filename or extension is too long. Please check the files in the mandatory profile again.

    You may create a new mandatory profile and save to a new path.

    The following link is for your reference.

    http://technet.microsoft.com/en-us/library/cc978785.aspx 

    Also, please uninstall the SEP during the test to eliminate the 3rd party cause.

    Regards,
    Juke
    TechNet Subscriber support in form. If you have any feedback on our support, please contact tngfb@microsoft.com


    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. ”
    Friday, June 17, 2011 10:15 AM
    Moderator
  • Since these profiles do not have any unique files created in them. These are slightly modified default profiles. I didn't see how a filename or extension could be too long, since it would have been generated by Windows. However, I did as you suggested and even uninstalled SEP. This did not fix the problem.

    It wasn't until I edited the group policy Computer Configuration-->Policies-->Administrative Templates-->System-->User Profiles and enabled "Do not forcefully unload the users registry at user logoff" and "Wait for remote user profile". Once I enabled these two settings, everything appeared to begin to work properly. I will monitor for the next few days and report if it doesn't work.

    Thank you,
    Michael

    • Marked as answer by MichaelS1976 Friday, June 17, 2011 1:50 PM
    • Unmarked as answer by MichaelS1976 Thursday, June 30, 2011 3:02 PM
    Friday, June 17, 2011 1:49 PM
  • Hi,

    Thanks for your update.

    Please keep monitoring this issue. If you have further question, please do not hesitate to let me know.

    Regards,
    Juke
    TechNet Subscriber support in form. If you have any feedback on our support, please contact tngfb@microsoft.com


    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. ”
    Sunday, June 19, 2011 8:08 AM
    Moderator
  • Okay, this still didn't work. I've discovered that when I log back into the machine that the previous SID and user profiles are present. I can manually delete the SID from the registry and it fixes the problem. And then, what I'm seeing in the user folder is this:

     

    username
    domain.username
    domain.username.000
    domain.username.001
    domain.username.002
    domain.username.003
    domain.username.004
    domain.username.005

    What is going on?

    Thursday, June 30, 2011 3:01 PM
  • Hi,

    Because you have deleted the SID of users, but the profiles have not been deleted in the meantime so that it happened.

    If the profile is already existing, System will create a similar profile name folder.

    Regards,
    Juke
    TechNet Subscriber support in form. If you have any feedback on our support, please contact tngfb@microsoft.com


    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. ”
    Friday, July 01, 2011 12:52 AM
    Moderator
  • You know what! Now I feel like a royal idiot! I've done this sort of thing a million times and you'd think I would know better. The problem was indeed my fault. I was linking the computer policy to the user OU instead of the computer OU. Once I linked it correctly, everything began to apply as expected and the problem went away! Thank you for forcing me to think beyond my own narrow mindedness!
    • Marked as answer by MichaelS1976 Friday, July 01, 2011 3:11 PM
    Friday, July 01, 2011 3:11 PM