Problem: Always Getting Temporary Profile in Windows

Problem:
A user is always getting a temporary profile in Windows

Environment

The user hat been deleted earlier as he left for a sabbatical. When returning the user account has been re-created. When logging in the login succeeds but the user always only gets a temporary profile.

Solution

Very likely the windows SIDs have been changed so the permissions on ht eprofile folder do not matc. Therefore Windos can not load the profil,

Move the users’s profile and after first successful logging copy the needed files manually to the freshly generate user profile dir:
root@ucs:~ # mv /home/johndoe /home/johndoe.old