When a new user try to logon first time receive a messagge “You have been logged on with a temporary profile” or similar.
In my case the solution was to delete “dead” entry in registry.
For example if you try to login for the first time as “PIPPO” user but in registry already exists the entry in profilelist you have the mentioned problem.
To resolve this probleme delete the key from registry following these steps:
1. Log on to the system by using an administrative user account other than the user account that is experiencing the problem.
2. Back up all data in the current user’s profile folder if the profile folder still exists, and then delete the profile folder. By default, the profile resides in the following location:
3. Click Start, type regedit in the Start Search box, and then press ENTER. If you are prompted for an administrator password or for confirmation, type your password, or click Continue.
4. Locate the following registry subkey:
Note the UUID string from ProfileList before deleting it. (Cheers to Galen in Laguna for this step)
5. Locate the following registry subkey:
6. Under the ProfileList subkey, delete the subkey that is named SID.bak. (meaning some folder which terminates or has .bak)
Note SID is a placeholder for the security identifier (SID) of the user account that is experiencing the problem. The SID.bak subkey should contain a ProfileImagePath registry entry that points to the original profile folder of the user account that is experiencing the problem.
7. Exit Registry Editor.
8. Log off the system.
9. Log on to the system again.