Upon creating a new user and attempting to login, I received the following error message: "The User Profile Service failed the logon. User profile cannot be loaded." I’m running Windows 7 x64 SP1.
My current setup is:
C: drive (SSD) Program Files, Windows, ProgramData.
X: drive (HDD) Users, and everything else.
I use the Administrator account as my account. To set up the system, I created a temporary user, logged in, changed the registry to point the Users directory to the X: drive (and moved the Default and Public folders to the X:\Users directory). I then enabled the Admin account and logged in with it. This created my profile on the X drive.
However, I was trying to create another user account to test with. The account is named "Test". I receive the quoted error message upon attempts to log in. I checked the X:\Users folder and there is no profile for the Test account, not even a folder for it. I tried copying the Default profile and renaming it, but no dice. I also verified that the folder seemed to have the proper permissions (Full Control for System, Administrator, Administrators, as the Test account was an admin account as well). There is no entry in the registry under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ for the Test user, so I got a utility that could find that users’ SID and created an entry for it, but still, I receive the original error message when trying to log in.
I finally solved the problem. It turns out that the X:\Users\Default folder needed to give the "Everyone" group Read, List folder contents, and Read and Execute permissions. When I copied the Default profile via the user profile screen, it didn’t apply correct permissions; it just inherited those of the destination folder. Event Viewer showed that Windows didn’t have permission to copy the Default profile to the X:\Users\Test folder. When I gave the Everyone group permission to the Default profile folder, I was then able to login with new users (and subsequently have them automatically create profiles).