User profile service failed the logon User profile cannot be loaded NO BAK file

Standard

Came across a weird issue.

All of a sudden I couldn’t log into a windows machine, that was properly joined into a DOMAIN with a new user name. Domain administrator worked, but that could have been a coincidence.

The error I got was:

User profile service failed the logon User profile cannot be loaded

I searched the web and came across the one solution, which talks about BAK files in the registry, but I had no BAK files.

Then later I found in one of the posts:

I discovered it was caused by a security problem on a few files/folders in the C:\Users\Default folder. I was able to easily fix it by going into the Advanced Security Settings for the C:\Users\Default folder and checking the box to “Replace all childobject permission with inheritable permissions from this object”.

This solved my problem on the workstation.