How to fix "The User Profile Service failed the logon" ?

Example of error

The User Profile Service service failed the logon.

User profile cannot be loaded.


Solution

Method 1 :

  1. Turn on Window in Safe Mode.
  2. Run dialog : regedit.
  3. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.
  4. You will see 2 same folder with same name. (1 with .bak, 1 without .bak)
  5. Rename folder without .bak, add .ba at the end.
  6. Rename folder with .bak, remove .bak.
  7. Rename folder with .ba, rename .ba to .bak.
  8. Click on folder without .bak.
  9. Modify RefCount to 0 and State to 0.
  10. Restart the computer.


Method 2 :

  1. Run dialog : services.msc.
  2. Find the System Event Notification Service Properties.
  3. Turn the service to manual and turn it back to automatic.
  4. Click Apply then OK.
  5. Find the COM+ Event System Properties.
  6. Turn the service to manual and turn it back to automatic.
  7. Click Apply then OK.


Method 3 :

C:\Users\USER-PC>netsh winsock reset


Method 4 :

  1. Run dialog : regedit.
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SVCHOST.
  3. In this key, create new Multi-String Value named GPSvcGroup and valued GPSvc.
  4. Create new key named GPSvcGroup.
  5. In this key, create 2 DWORD.
  6. First DWORD named AuthenticationCapabilities and valued 3020 in hexadecimal or 12320 in decimal.
  7. Second DWORD named CoInitializeSecurityParam and valued 1 in hexadecimal.
  8. Restart the computer.