Skip to main content

You receive a "The User Profile Service failed the logon” error message

When you log on to a Windows Servers by using a temporary profile, you receive the following error message:
The User Profile Service failed the logon. User profile cannot be loaded.
Occasionally, Windows might not read your user profile correctly, such as if your antivirus software is scanning your computer while you try to log on. Before you follow the methods here, try restarting your computer and logging on with your user account again to resolve the issue. If you restart your computer and it does not resolve this issue, use the following methods to resolve this issue.
Fix the User Account Profile
Please connect to the remote registry and follow the below steps to resolve the issue.
This error occurs when the profile folder is deleted from C drive but still the entry is present in registry

1) Click Start, type regedit in the Search box, and then press ENTER.

2) In Registry Editor, locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

3) In the navigation pane, locate the folder that begins with S-1-5 (SID key) followed by a long number.

4) Click each S-1-5 folder, locate the ProfileImagePath entry in the details pane, and then double-click to make sure that this is the user account profile that has the error.


* If you have two folders starting with S-1-5 followed by some long numbers and one of them ended     with .bak, you have to rename the .bak folder. To do this, follow these steps:
         1) Right-click the folder without .bak, and then click Rename. Type .ba, and then press                            ENTER.
         2) Right-click the folder that is named .bak, and then click Rename. Remove .bak at the end of                the folder name, and then press ENTER.
          3) Right-click the folder that is named .ba, and then click Rename. Change the .ba to .bak at                    the end of the folder name, and then press ENTER.
  • If you have only one folder starting with S-1-5 that is followed by long numbers and ends with .bak. Right-click the folder, and then click Rename. Remove .bak at the end of the folder name, and then press ENTER.
  • 5) Click the folder without .bak in the details pane, double-click RefCount, type 0, and then click OK.

      6) Click the folder without .bak, in the details pane, double-click State, type 0, and then                 click OK.

           7) Close Registry Editor.

            8) Restart the computer.

             9) Log on again with your account.

Comments

Popular posts from this blog

System Volume Information is taking more space

On one of the servers (running Windows Server 2012 R2) I faced a problem with the lack of free space on a system drive. I have cleared all resource-consuming locations ( WinSxS , TEMP directories, user profiles,  outdated updates , etc.), but it didn’t have any evident effect. At last, I have found that a large part of a system disk has been occupied by  System Volume Information  folder. Let’s consider why we need System Volume Information folder in Windows systems, what is stored in it and how to clean up it. Note . The instructions given in this article are applicable to other Windows versions as well:   Windows 10, Windows 7, Windows 8, Windows 2008 R2, Windows 2012 / 2012 R2. System Volume Information  folder is in the root of each disk. System data related to system recovery and Shadow Copy Service are stored in it. By default it is hidden and only the SYSTEM has access to it. Even the administrator cannot open it and look through the contents of th...

ESM Log size is full - How to clear

                                            ESM log Size is full ---- How to Clear If your getting the below error in event viewer you can follow the below steps and solve it. Generally when we open Dell open manage console, suddenly we see that Hardware log status is showing critical and event logs are filling saying ESM log is full... We need to clear the ESM logs regularly before it reaches 100%. However please follow the below command and procedure before clearing the logs. Open Dell Manage console, go to logs tab. Then select ESM logs, you will see an export option. Export the logs and save it on local drive for future use. Now open command prompt and Runas administrator. Type omconfig system esmlog action=clear Done, ...

The system cannot log you on due to the following error: The RPC server is unavailable

IF your login to windows 2003 and your getting the below error then do the below steps and you can login to the PC. login to any server in the same subnet. open CMD in elevated permission open registry editor go to File---------->connect to network registry type the effected server name and open it go to the below location and create a new DWORD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server Create a new key selecting Dword and name it as IgnoreRegUserConfigErrors now double click it and give a value as 1. after that do the RDP and it will work.