Forum Discussion

cmiarshvac's avatar
cmiarshvac
Brass Contributor
Oct 28, 2024

EntraID account on Windows 11 being started under a TEMP user profile

I have a EntraID user on Windows 11 (Intune Managed).  User is the "primary user".  The user started experiencing login issues where "user name or password not recognized".  Password was reset in EntraID. PC recognized the new password and allows the user to login BUT the account profile is mapped to C:\Users\TEMP and not to their normal C:\Users\<UserName> profile.  How do I reconnect the user with their profile?

 

  • micheleariis's avatar
    micheleariis
    Steel Contributor

    cmiarshvac Hi, the problem often results from Windows creating a temporary profile due to conflicts in the profile path or profile corruption.


    Modifying the registry can sometimes solve the problem.

     

    Open the Registry Editor:

     

    Go to the path:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

     

    Within ProfileList, you will see several subkeys with names in SID (Security Identifiers) format. Each SID corresponds to a user account on the computer.

     

    Click on each SID and look for the ProfileImagePath entry in the right-hand pane. This entry shows the path to the user's profile (for example, C:\Users\name.surname).

     

    Identify the SID associated with the problem user profile by verifying that the ProfileImagePath is correct (i.e., C:\Users\name.surname).

     

    If you see a .bak Suffix:

     

    You may notice two identical SID entries, one of which ends in .bak. This usually indicates that the profile has been flagged as problematic.


    Rename the current SID (the one without .bak) by adding .temp or .old to the end.

     

    Remove the .bak suffix from the other SID entry (the one with the original profile path).

     

    If there is no .bak but TEMP Profile Path appears:

     

    If the correct SID has a ProfileImagePath pointing to C:\Users\TEMP, change the path and put it back to the original one (i.e., C:\Users\name.surname>).

     

    Reboot and verify

    • cmiarshvac's avatar
      cmiarshvac
      Brass Contributor
      Thank you for this solution. I am bookmarking for later use. Before trying the proposed Reg edit fix, I had the user restart in SafeMode, then restart to normal mode. After that cycle, the user profile was pointing back to the C:\Users\<UserName>.

Resources