Corrupt user profiles are a common problem with Windows and the fix will depend on the exact error message you receive. Here we’ll explain how to fix the problem or, if you need to, create a new account and transfer your data across to the new profile.
The problem occurs when you type your password and press Enter at the Windows log-on screen. You will typically see the error message “The User Profile Service failed the logon” and “The user profile cannot be loaded”, and you’ll be returned to the log-on screen.
First, try rebooting your computer. This can sometimes clear the problem. But if it doesn’t, here are two methods you can try: create a new user profile and fix the corrupt profile.
A warning about using the fixes below:
Some people have lost files by using the Registry Editor method below, so it’s crucial to make a backup of your hard disk or at the very least, all the files you cannot afford to lose.
There are many programs which will allow you to make a copy of your entire hard disk (some of which are free), but you will need a second disk with sufficient capacity, and may even need a second PC or laptop in order to copy the disk if you can’t boot into Windows.
You should also make a backup of the Registry itself from Safe Mode before you start. These instructions are provided as a last resort, and we recommend you try these fixes in the order they’re written.
If you have a second user account on Windows which you can log in to, you may be able to use this account to follow the steps below to create a new user account.
However, if there is no other account, then boot into Safe Mode (as described below) and try to follow the steps. If that still doesn’t work, boot back into Safe Mode and enable the hidden admin account.
To do that, type cmd in the search box on the Start menu and then right-click on Command Prompt in the list of results and choose Run as administrator.
Now type the following at the prompt:
net user administrator /active:yes
The response should be: The command completed successfully. Now reboot your PC and you should see an Administrator account as well as your corrupt account.
Log into the admin account (there’s no password) and do the following:
Step 1. Open Control Panel and click User Accounts and Family Safety (or similar). Click on User Accounts.
Step 2. Click Manage another account and type in the password (if prompted).
Step 3. Click Create a new account and type the name. This must be different from the account which is corrupt, but you can rename the account later on if you want to have the same name as before.
Step 4. Restart your PC.
Copy your files to the new profile
Step 5. In order to transfer files properly, it’s best to log in as Administrator or Guest rather than the new profile you just created, so enable one of these accounts if you haven’t already done so.
Step 6. Navigate to the corrupt user account by clicking Start, Computer and then double-clicking on the hard drive on which Windows is installed – usually c: – and then double-clicking on the Users folder.
Find the folder containing your old user account and double-click it, then double-click My Documents.
Step 7. It’s best to copy across the contents of sub-folders separately, and this gives you a chance to have a clear out as well. If you do want to copy the entire contents in one go, enable hidden files and folders and then make sure you don’t copy across the following files:
To make these files visible, click the Tools menu (press Alt if you can’t see it), click the View tab and click Show hidden files, folders and drives.
Beware that any email stored locally may need to be copied separately using instructions specific to your email program. Don’t delete the corrupt user profile until you’re sure you have all the files you need from it.
Step 8. When all the files are copied across to the newly created user profile (you’ll find it in the same c:Users folder as the corrupt profile), restart your computer and log onto the new profile.
Microsoft says that a user profile can become corrupted if your antivirus software is scanning your PC while you try to log on, but it could also be caused by other things.
A quick fix can be to restart your PC, but if this doesn’t work you’ll need to restart again and boot into Safe mode. Do this by pressing F8 before you see the Windows loading screen and choosing Safe Mode from the menu that appears.
Safe Mode logs you into the built-in Windows administrator account, but you might find that some options don’t work.
Step 1. To fix the user profile, click Start and type regedit into the search box and press Enter.
Step 2. Registry Editor will launch and you need to navigate to the following key:
Step 3. Click each S-1-5 folder and double-click the ProfileImagePath entry to find out which user account it relates to. (If your folder name ends with .bak or .ba follow Microsoft’s instructions to rename them.)
If you can’t see any file extensions at all, follow our instructions to display Windows file extensions.
Step 4. Once you have located the folder for the corrupt profile (and it doesn’t have a .bak ending), double-click RefCount and change the Value data to 0 and click Ok.
Step 5. Now double-click on State and make sure the Value data is again 0 and click Ok.
Step 6. Close regedit and restart your PC. You should now be able to log into your account.
If you’re still unable to fix the problem and can’t log in, you might have to reinstall Windows.