When you log on to a Windows Vista-based or a Windows 7-based computer by using a temporary profile, you receive the following error message:
The User Profile Service failed the logon. User profile cannot be loaded.
This error may occur if the "Do not logon users with temporary profiles" Group Policy setting is configured.
- Click Start
- In Start Search (Windows Vista) or Search programs and files (Windows 7) area, type in regedit, and press Enter.
- If prompted by UAC, click Continue (Windows Vista) or Yes (Windows 7).
- In Registry Editor, go to:
- In the left pane, look for the folder name starting with S-1-5 (SID key) followed by a long number. then click each folder and locate ProfileImagePath from the right pane, double click to verify that this is the user account profile that has the error.
- If you have two folders starting with S-1-5 followed by same long nubmers and one of them ended with .bak. Change the .bak folder to normal one. To do this, follow the steps below:
- Right click the folder without .bak and choose Rename. Then add .ba at the end of the folder name.
- Right click the folder with .bak and choose Rename. Then remove .bak at the end of the folder name.
- Right click the folder with .ba and choose Rename. Then change the .ba to .bak at the end of the folder name.
- If you have only one folder starting with S-1-5 followed by a long numbers and ended with.bak. Right click the folder and choose Rename. Then remove .bak at the end of the folder name.
- Choose the folder without .bak, in the right pane, double click RefCount and type 0 and then clickOK.
- Choose the folder without .bak, in the right pane, double click State and type 0 and then click OK.
Close Registry Editor.
Restart the computer.
Log on again with your account.
Method 2: Log on to Windows and copy your data to a new account
reate a new account and copy the data from the old account to the new account. For information about how to do this, visit one of the following Microsoft websites:
Windows 7Windows Vista
Method 3: Delete the error SID and create a new profile
To delete the error SID and create a new profile, follow the steps below:
- Delete the error SID.
To have us fix this problem for you, go to the "Fix it for me" section. If you would rather fix it yourself, go to the "Let me fix it myself" section.
Fix it for me
To fix this problem automatically , click the Fix this problem link. Then click Run in the File Download dialog box, and follow the steps in this wizard.
Note This wizard may be in English only; however, the automatic fix also works for other language versions of Windows.
Note If you are not on the computer that has the problem, you can save the automatic fix to a flash drive or to a CD, and then you can run it on the computer that has the problem.
Let me fix it myself
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
How to back up and restore the registry in Windows
To resolve this problem yourself, follow these steps:
- Delete the profile by using the Computer Properties dialog box. To do this, follow these steps:
- Click Start, right-click Computer, and then clickProperties.
- Click Change settings.
- In the System Properties dialog box, click theAdvanced tab.
- Under User Profiles, click Settings.
- In the User Profiles dialog box, select the profile that you want to delete, click Delete, and then click OK.
- Click Start
, type regedit in the Start search box, and then press ENTER.
- Locate and then expand the following registry subkey:
- Right-click the SID that you want to remove, and then clickDelete.
- Log on to the computer and create a new profile.
Origianl Article: http://support.microsoft.com/kb/947215