none
The User Profile Service failed the logon. User profile cannot be loaded.

    Question

  • Hi.
    Our problem is: Can't logon during a problem with the user profile service in windows 7. Events 1500, 6004 and many 1509

    We deployed about 40 computers with Vista before now with the MDT2010 and Windows 7 Professional (with partition formating) and have problems we had already a year before with Vista.

    We managed the problems for over a year with the following gpo settings:
    a) don't check owner of roaming profiles (active),
    b) don't recognize slow network connections (active),
    c) wait for remote user profile (active) and
    d) delete cached copies of roaming user profile (DEACTIVATED).

    Now after the deployment of Windows 7 we have the same problems with Windows 7.

    From the 40 deployed computers last week we had already about 7 pupils with that error. (some pupils more than one time).

    A workaround was to delete the entry in HKLM\Software\Microsoft\Windows NT\ProfileList and renaming the local user directory.

    Was something changed from vista to windows 7 in using this gpo settings?

    The KB947215 is a workaround when the error already happened, but not the solution to avoid this error.

    Can someone help?

    Thanks...
    Michael

    Thursday, July 22, 2010 9:53 AM

Answers

  • Hi Michael,

    Thanks for posting in Technet.

    I noticed that all of your previous resolutions force the system to load a user profile form servers. Therefore I guess that a user profile already exists and it cannot be used. Now I assume that you are using roaming profile.

    Have you defined any user profile by the unattended.xml within the deployed systems? If so I suggest you remove them. When a user logs on a domain client first, the user profile should be created automatically.

    Please try that.

    Arthur Xie
    TechNet Subscriber Support in forum
    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 23, 2010 9:33 AM
  • Alright, I figured this out.  Well, my issue at least.

     

    The reason my mandatory profile was failing with that error was because of issues in the local Default profile.  The path in the error message didn't exist because Windows was using the local Default profile in place of the Local folder that would be in a roaming profile, so the path \\server\stuprofiles$\mandatory\usstudent.v2\AppData\Local\ in the error message was actually \\users\default\appdata\local.  

    After I went into \\Users\default\AppData\Local and delete these files that had extensions that were too long to copy my profiles were able to load again.  I had to delete the cached profile on a few of them that were still erroring, but after doing that it seems to be the way to prevent the problem from happening again.

    Monday, August 30, 2010 7:46 PM

All replies

  • Hi Michael,

    Thanks for posting in Technet.

    I noticed that all of your previous resolutions force the system to load a user profile form servers. Therefore I guess that a user profile already exists and it cannot be used. Now I assume that you are using roaming profile.

    Have you defined any user profile by the unattended.xml within the deployed systems? If so I suggest you remove them. When a user logs on a domain client first, the user profile should be created automatically.

    Please try that.

    Arthur Xie
    TechNet Subscriber Support in forum
    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 23, 2010 9:33 AM
  • Hi Arthur, thank you for your answer.

    No there is no user profile entry in the unattended.xml.
    All pupils using a mandantory profile together.
    The pupils can login one, two, three times and than, randomly some of them can't and get the error.

    Other suggestions?
    Michael.

    Monday, July 26, 2010 6:25 AM
  • I'm having exactly the same problem as Michael.

    In a lab of 40 computers set to automatically log on to an account upon boot, 7 or 8 of them will come up with this error.  The other 32 or 33 computers log in completely fine.  If you go to the computers that experience the error and delete the problematic cached profile, the logon begins to work again.  I am using a mandatory roaming profile.

    I just encountered this problem so I have not attempted to work around it using any of the above GPO settings. 

    Looking through the event logs, I am also getting 1500, 6004, and 1509 in addition to 6001 errors.

    I was able to find something strange in the 1509 error.

    EventID 1509:

    Windows cannot copy file \\server\stuprofiles$\mandatory\usstudent.V2\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\1240I065\rerB_DjUStFFe16SFEk84lWs2Osh6fwMPJxC1rA8Qwo3EktjoDVd_D0iWDKfepWLE.u7QlPbk.LXlOspXArg7uJna_L8I4Pwi6RfmQLZSAeLvyy0aLgws4xxKwEDnFCvly9zCn9yGMH5Tmf1_yA2fnT[1].M- to location C:\Users\usstudent\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\1240I065\rerB_DjUStFFe16SFEk84lWs2Osh6fwMPJxC1rA8Qwo3EktjoDVd_D0iWDKfepWLE.u7QlPbk.LXlOspXArg7uJna_L8I4Pwi6RfmQLZSAeLvyy0aLgws4xxKwEDnFCvly9zCn9yGMH5Tmf1_yA2fnT[1].M-. This error may be caused by network problems or insufficient security rights.

    DETAIL - The filename or extension is too long.

    What's strange about that is the folder \\server\stuprofiles$\mandatory\usstudent.V2\AppData\Local isn't even a location that exists on my server, so I don't know what it's trying to copy here.

     

    Tuesday, August 17, 2010 2:55 PM
  • Alright, I figured this out.  Well, my issue at least.

     

    The reason my mandatory profile was failing with that error was because of issues in the local Default profile.  The path in the error message didn't exist because Windows was using the local Default profile in place of the Local folder that would be in a roaming profile, so the path \\server\stuprofiles$\mandatory\usstudent.v2\AppData\Local\ in the error message was actually \\users\default\appdata\local.  

    After I went into \\Users\default\AppData\Local and delete these files that had extensions that were too long to copy my profiles were able to load again.  I had to delete the cached profile on a few of them that were still erroring, but after doing that it seems to be the way to prevent the problem from happening again.

    Monday, August 30, 2010 7:46 PM
  • Hi,

    All the issues get when you have to Run USER Profile Services  So Please Check the Below point which has to be consider first.

    1 : Permission :-AD / FIM / Network Services (for 1004,1015 etc. Read and exc. in /14 folder)

    2: Account :- User Profile Synchronization Service / create and Configure Accounts and Permissions

    3: SharePoint 2010 Version + Leatest Cumulative Updates (CU).

    4: AD Permission Replicate Directory Changes Permission Must.

    5 : My site Plan 

    6: NetBios Name - for My site and FIM Server where install on Same as CA or Apps .

    7 : check for FIM Status (The FIM Client is located at C:\Program Files\Microsoft Office Servers\14.0\Synchronization Service\UIShell\miisclient.exe)

    8: http://www.harbar.net/articles/sp2010ups.aspx   : Please following This Harbar.net step by step.
    http://technet.microsoft.com/en-us/library/cc263051.aspx

    9: For Error Event ID 1001 1004 1015  :- http://support.microsoft.com/kb/2473430

    ------------------------Network Service account read access---------------------------------------------------
    Grant the Network Service account read access to the %programfiles%\Microsoft Office Servers\14.0 folder

    The Network Service account does not have rights to the %programfiles%\Microsoft Office Servers\14.0 folder.
    RESOLUTION
    Grant the Network Service account read access to the %programfiles%\Microsoft Office Servers\14.0 folder.
    ---------------------------------------------use  link--------------------------------------------------------------------
    http://www.harbar.net/archive/2010/10/30/avoiding-the-default-schema-issue-when-creating-the-user-profile.aspx
    http://technet.microsoft.com/en-us/library/hh296982(v=office.14).aspx
    http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=300
    http://blogs.technet.com/b/wbaer/archive/2009/12/11/common-microsoft-sharepoint-server-2010-installation-issues-and-resolutions.aspx
    http://blogs.technet.com/b/steve_chen/archive/2010/09/20/user-profile-sync-sharepoint-2010.aspx
    http://kowalski.ms/2010/07/20/sharepoint-server-2010-supplementing-user-profile-imports-using-bcs/
    http://blog.falchionconsulting.com/index.php/2011/12/updating-sharepoint-2010-user-information/  ------------------
    http://blogs.technet.com/b/steve_chen/archive/2010/10/13/troubleshooting-user-profile-sync-issues-on-sharepoint-2010.aspx
    http://blogs.msdn.com/b/kaevans/archive/2012/06/25/top-recommendations-for-managing-the-my-site-cleanup-timer-job.aspx
    http://blogs.msdn.com/b/spsocial/archive/2010/05/04/conceptual-view-of-how-user-profile-synchronization-works-in-sharepoint-2010.aspx
    http://technet.microsoft.com/en-us/library/ff182925(v=office.14).aspx
    ---------------------------------------------------------------------------------------------------------------
    ------- SharePoint profile synch stopped-database-connection-lost

    Disabled "MySite Cleanup job"

    Please check one small OU Add and Run Test All The Process get success. 

    then Edit Connection Add next OU and then run incremental , one by one add all the OU

     Enable "MySite Cleanup job"

    -----------------------
    http://blogs.msdn.com/b/russmax/archive/2010/03/20/sharepoint-2010-provisioning-user-profile-synchronization.aspx
    http://blogs.msdn.com/b/russmax/archive/2010/03/20/sharepoint-2010-provisioning-user-profile-synchronization.aspx

    http://technet.microsoft.com/en-us/library/gg750257(v=office.14).aspx
    http://sharepointgeorge.com/2010/configuring-the-user-profile-service-in-sharepoint-2010/
    http://blogs.msdn.com/b/spses/archive/2010/12/02/guide-to-user-profile-service-application-upa-part-2-setting-up-the-user-profile-service-application.aspx
    http://blogs.msdn.com/b/spses/archive/2010/11/28/guide-to-user-profile-service-application.aspx

    ---------------------------------------------------------------------------------------------------------------
    ------------------- Event Id 6801
    http://support.microsoft.com/kb/2520394?wa=wsignin1.0
    http://support.microsoft.com/kb/2520394
    ------------------ For NetBios----------
    http://iedaddy.com/2012/01/wrong-domain-name-in-accountname-after-user-profile-sync/

    To check the status of that setting, use the PowerShell below, substituting the GUID of your UPS for mine:

    (Get-SPServiceApplication 1ceb9eca-78b0-47c2-ab2b-b041e0d3902a).NetBIOSDomainNamesEnabled
    You'll get back either True or False.
    http://tremblayse.wordpress.com/2011/10/17/ups-and-netbios-domain-name-different-then-fqdn-domain-name/
    -----------------------------------------------------------------
    --For -- configuring-the-user-profile-service-in-sharepoint-2010-------------------------

    http://www.c-sharpcorner.com/uploadfile/anavijai/how-to-schedule-user-profile-incremental-synchronization-in-sharepoint-2010-using-power-shell/
    http://www.harbar.net/articles/sp2010ups.aspx

    http://www.windowsclever.com/sharepoint/how-to-setup-user-profile-service-sharepoint-2010.html
    http://sharepointgeorge.com/2010/configuring-the-user-profile-service-in-sharepoint-2010/
    http://technet.microsoft.com/en-us/library/ee721049(v=office.14).aspx#NetBIOSProc
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/398f3553-5de7-456b-b935-4e22cee26b2f/sharepoint-2010-communities-faq


    Also  Consider The Plan For UPS , and My site first of the steps. IISREST, Server Reboot and data lost in My site will consider if when Upgrade... Thanks.


    Deepesh Yevle - MCTS MCITP

    Tuesday, July 09, 2013 10:50 AM