Pages

Sunday, March 24, 2013

Fix a corrupted user profile in windows



The User Profile Service failed the logon. User profile cannot be loaded
Error message when you log on to a Windows Vista-based or Windows 7-based computer by using a temporary profile: "The User Profile Service failed the logon. User profile cannot be loaded"
Possible causes:
1.            This issue may occur if the user profile was manually deleted by using the command prompt or Windows Explorer by a user or by some program. A profile that is manually deleted does not remove the security identifier (SID) from the user profile list in the registry. Since the SID is still present, Vista will still try to load the profile by using the ProfileImagePath that points to a nonexistent path. Therefore, the profile cannot be loaded.
2.            This can also be a issue with the user profile entering into a backup state.
3.            Manually renaming the C:\Users\(User Name) folder.
To resolve this problem yourself, follow these steps:
1.            Delete the profile by using the Computer Properties dialog box. To do this, follow these steps:
o        Click Start, right-click Computer, and then click Properties.
o        Click Change settings.
o        In the System Properties dialog box, click the Advanced tab.
o        Under User Profiles, click Settings.
o        In the User Profiles dialog box, select the profile that you want to delete, click Delete, and then click OK.
2.            Click Start, 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.

Fix a corrupted user profile
If you tried to log on to Windows and received an error message telling you that your user profile might be corrupted, you can try to repair it. You will need to create a new profile, and then copy the files from the existing profile to the new one.
To create a new user profile
To create a new profile, you must first create a new user account. When the account is created, a profile will also be created.
1.            Open User Accounts by clicking the Start button , clicking Control Panel, clicking User Accounts and Family Safety (or clicking User Accounts, if you are connected to a network domain), and then clicking User Accounts.
2.            Click Manage another account. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
3.            Click Create a new account.
4.            Type the name you want to give the user account, click an account type, and then click Create Account.
To copy files to the new user profile
After you create the profile, you can copy the files from the existing profile. You must have at least three user accounts on the computer to complete these steps, including the new account you just created.
1.            Log on as a user other than the new user you just created or the user that you want to copy files from.
2.            Open Documents by clicking the Start button , and then clicking Documents.
3.            Click the Tools menu, and then click Folder Options.
If you don't see the Tools menu, press ALT.
4.            Click the View tab, click Show hidden files and folders, clear the Hide protected operating system files check box, and then click OK.
5.            Locate the C:\Users\Old_Username folder, where C is the drive that Windows is installed, and Old_Username is the name of the profile you want to copy files from.
6.            Select all of the files and folders in this folder, except the following files:
o        Ntuser.dat
o        Ntuser.dat.log
o        Ntuser.ini
7.            Click the Edit menu, and then click Copy.
If you don't see the Edit menu, press ALT.
8.            Locate the C:\Users\New_Username folder, where C is the drive that Windows is installed, and New_Username is the name of the new user profile you created.
9.            Click the Edit menu, and then click Paste.
If you don't see the Edit menu, press ALT.
10.          Log off, and then log back on as the new user.

No comments :

Post a Comment