If you are unable to log on to your Windows 10/8/7/Vista computer by using a temporary user profile, then this article may interest you. When your User Profile is corrupted, you will usually get the following error message:
User Profile Service failed the logon, User profile cannot be loaded
This issue may occur if the user profile was manually deleted by using the command prompt or by using Windows File Explorer and if the “Do not logon users with temporary profiles” Group Policy setting is configured.
To fix this issue, sign in with an administrator account, open Registry Editor and navigate to the following key:
Locate the folder that begins with S-1-5 (SID key) followed by a long number.
Check the ProfileImagePath entry in the details pane, and identify the profile that is creating problems.
Now if you see two folders here, one of which ends with .bak, then you need to interchange them. To do this, right-click the one with .bak and make it end with .tmp. Next, right-click the one without .bak and make it .bak. Now right-click the .tmp folder and remove .bak.
Restart your computer and see if it has helped.
If this does not help, try the next suggestion.
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.
To resolve this problem follow these steps:
Right-click Computer folder > Properties > Advanced system settings > Advanced tab > Under User Profiles, click Settings > In the User Profiles dialog box, select the profile that you want to delete > click Delete > Apply/OK.
Next, open regedit and navigate to the following key:
Right-click the SID that you want to remove, and then click Delete.
Log on to the computer and create a new profile.
Alternatively, you can simply download and use this Fix It 50446 from Microsoft given in KB947215. Please see if it applies to your version of Windows OS. You may lose your data if you have not backed it up.
If nothing helps, create a new account and copy the data from the old account to the new account.
You may also want to check out ReProfiler. It is a freeware tool for manipulating user profiles on Windows. It would be useful if you face an issue where you are unable to access a user’s data and settings.
TIP: This post will help you if you receive an error message, Unable to log you on because your profile could not be loaded, please contact your administrator.