I just had a few hours of cold-sweat experience with my Windows 7 installation;
I had to remove my machine from the domain and reinsert it into a new domain with the same name. This ought to be straight forward, it however proved to be a nightmare 😐 No matter what I did the above error was presented to me again and again “You have been logged on with a temporary profile” even after deleting the profile under c:\users\<profilename> the error kept coming.
Well a bit of googling came up with the solution (intended for Vista but works for Win7 also);
————————————————————————————————-
http://support.microsoft.com/kb/947242
To resolve this problem, follow these steps:
- Log on to the system by using an administrative user account other than the user account that is experiencing the problem.
- 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:
%SystemDrive%\Users\UserName
- Click Start, type regedit in the Start Search box, and then press ENTER.
Collapse this imageExpand this image
If you are prompted for an administrator password or for confirmation, type your password, or click Continue.
- Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
- Under the ProfileList subkey, delete the subkey that is named SID.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.
- Exit Registry Editor.
- Log off the system.
- Log on to the system again.
After you log on to the system, the profile folder is re-created.
————————————————————————————————-
After this I could login without a temporary profile..