This event id 1511 means that you have entered a temporary profile. Usually the cause is because the profile was accidentally deleted or corrupted.
To fix this follow the instruction below:
Log into the workstation with a different administrator account and back up the user profile. Open regedit.exe and back up the registry. Delete SID.bak corresponding to the user account in HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ ProfileList. Close regedit.exe and log off. Ask the user to login and verify that the error no longer occurs.
--If the answer is helpful, please vote positively and accept the answer--