Wednesday, August 11, 2010

Vista-User Profile Servive failed the logon.User Profile cannot be loaded.

This was the message i have encountered a few days back.
After a lot of web searchin, i've successfully recovered from it.There are many options of solvin this.I've listed out the best 3 options that'll work:
CAUSE:-
                This issue may occur if the user profile was manually deleted by using the command prompt or by using Windows Explorer. 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.






1. Logon to another Administrator account.
NOTE: If you do not have another Administrator account, then proceed to step 2.
A) Go to OPTION ONE or OPTION TWO.
2. Boot into Safe Mode.
NOTE: You may not need to enable the built-in Administrator account. If this was the only normal administrator account you had, then Safe Mode should automatically boot into the built-in Administrator account.
A) If Safe Mode did not boot into the built-in Administrator account, then enable the Built-in Administrator account. If it did , then go to step 2C.

B) Logoff in Safe Mode, and then logon to the built-in Administrator account to logon with that account in Safe Mode.

C) Go to OPTION ONE or OPTION TWO.




OPTIION ONE

Fix the User Account Profile
1. Open the Start menu.

2. In the white line (Start Search) area, type regedit and press Enter.

3. If prompted, either click on Continue or enter the password for the Administrator account.

4. In regedit, go to: (See screenshot below step 5)

Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
5. In the left pane, look for the S-1-5..... folder (SID key) with the long number that has .bak at the end of the numbers.
(See screenshots below steps 6A and 7B)
NOTE:
A) In the right pane, look at the ProfileImagePath to verify that this is the user account profile that has the error.
B) You may have another S-1-5..... folder (SID key) above it with the exact same number without the .bak at the end of it.

6. For Two S-1-5..... folders (SID key) with the same Number -
NOTE: This is if you have two S-1-5..... folders (SID key) with the exact same numbers, but the second (below) one has the .bak at the end of the numbers.
A) In the left pane, right click on the first (top) S-1-5..... folder (SIDkey) that does not have .bak at the end of the numbers and clickRename. (See screenshot below)
repair.jpg
B) Add .bk to the end of the numbers. (See screenshot below)
repair_bk.jpg
C) In the left pane, right click on the second S-1-5..... folder (SID key) with .bak at the end of the numbers and click Rename. (See screenshot above)

D) Remove only .bak from the end of the numbers and press Enter. (See screenshot below)

E) Now go back and Rename the first one with .bk to .bak now at the end of the numbers and press Enter
repar_bak.jpg
F) Go to step 8.
7. For Only One S-1-5..... Folder (SID key) with .bak -
NOTE: This is if you only have one S-1-5..... folder (SID key) for your user account with .bak at the end of the numbers.
A) In the left pane, right click on the S-1-5..... folder (SID key) with.bak at the end of the numbers and click Rename. (See screenshot below)

B) Remove only .bak at the end of the numbers and press Enter. (See screenshot below and below step 10)
repair_reg2.jpg
8. In the right pane of the one without .bak now, right click on RefCount and click on Modify. (See screenshot below step 10)
NOTE: If you do not have RefCount, then right click on a empty space in the right pane and click New and DWORD (32 bit) Value, then type RefCount and pressEnter. This value for this entry will reset and return back to the original value after you have restarted the computer and logged on to the account.
A) Type 0 (number) and click on OK. (See screenshot below)
Name:  Modify_RefCount.jpg
Views: 532449
Size:  31.1 KB
9. In the right pane of the one without .bak now, right click on State and click onModify. (See screenshot below step 10)
NOTE: This value for this entry will reset and return back to the original value after you have restarted the computer and logged on to the account.
A) Type 0 (number) and click on OK. (See screenshot below)
Name:  Modify_State.jpg
Views: 530477
Size:  30.6 KB
10. The registry will now look like this for the one without .bak now. (See screenshot below)
Click image for larger version

Name: Repair_Reg2.jpg
Views: 72049
Size: 162.2 KB
ID: 2737
11. Close regedit.

12. Restart the computer.

13. See if you can logon now.
NOTE: If this still does not help, then try OPTION TWO below 



OPTION TWO

Delete the User Account Profile

warning   Warning
You can do this option if you do not care about losing the user account and the contents in the user folders. Your programs will still be installed, but you will need to create new shortcuts for them afterwards.
1. Delete the User account profile that this error is for.
NOTE: SeeHow to Delete a User Account in Vista

2. Open the Start menu.

3. In the white line (Start Search) area, type regedit and press Enter.

4. If prompted by UAC, click on Continue.

5. In regedit, go to: (See screenshot below step 7)

Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
6. In the left pane, click on one of the S-1-5..... folders (SID key) with the long number in it.
NOTE: It may have .bak at the end of it.
A) In the right pane, look at the ProfileImagePath to see if this is the same user account that you deleted in step 1 above.

B) Repeat step 6 until you find the one that you deleted in step 1 above.
NOTE: If the user account is not here, then it has already been removed when deleted in step 1. Go to step 9.
7. To Backup the Registry SID Key -
WARNING: You should backup this SID key to be safe in case you delete the wrong one in step 8 below.
A) Right click on the SID key, and click on Export.

B) Type in a name and save the REG file to a safe location.
NOTE: This is your backup. To Restore the Backup, right click on theREG backup file and click on Merge.

C) Continue on to step 8.
sid_reg.jpg
8. To Delete the Registry SID Key -
A) Right click on the SID key, and click on Delete. (See screenshot above)

B) Click on Yes to confirm deletion. (See screenshot below)
confirm.jpg
9. Close regedit.

10. Now, just create a new normal Administrator account.
NOTE: SeeHow to Create a New User Account in Vista

11. Restart the computer, and log on to your new account.
NOTE: If this still does not help, then either try OPTION ONE 

OPTION 3:-
                     1. If u hav another account , logon with it.
                     2. Download the following file from microsoft wesite:
                          http://support.microsoft.com/kb/947215
                     3. Run the file as an administrator.
                     4. Restart ur system.
P.S-This can work even in safemode for some systems.

OPTION 4:-
      Follow this only if u dont care for the affected user account.                    
  1. Delete the profile by using the Computer Properties dialog box. To do this, follow these steps:
    1. Click Start, right-click Computer, and then click Properties.
    2. Click Change settings.
    3. In the System Properties dialog box, click the Advanced tab.
    4. Under User Profiles, click Settings.
    5. In the User Profiles dialog box, select the profile that you want to delete, clickDelete, and then click OK.
  2. Click Start
    the Start button
    , type regedit in the Start search box, and then press ENTER.
  3. Locate and then expand the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  4. Right-click the SID that you want to remove, and then click Delete.
  5. Log on to the computer and create a new profile.

THAT's IT
RAGHAV


                                                  

0 comments:

Post a Comment