How to restore the correct user profile after Windows starts logging in with a temporary user profile.
The first step, if the profile is not completely corrupt, is to rename the temporary profile registry key and revert the correct profile back.
- Log in with your temporary profile if your account has administrative rights or with the local administrator account.
- Start the registry editor and navigate to “Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”
- Look for the profile with the “.bak”. This is the CORRECT old profile.
- Rename the profile that does not have “.bak” by adding “_new” to the end. You can really add anything to change the name of this profile, just be sure to rename the profile with the matching SID. Next remove the “.bak” from the correct profile.
- Log off and then log back in with the profile that was problematic. It is possible that Windows will undo everything you have just done and rename the profile again. If this happens you can try running a Check Disk on the partition that contains the user profiles. You will need to re-do all the steps above, run Check Disk, and restart. If this doesn’t correct the issue, you will need to remove the offending profile and recreate it.
To remove the domain profile and recreate it:
- Follow the above steps to clean up the registry, then log in as a local administrator.
- Navigate to the profile directory “C:\Users\UserID” and back up any data that is needed from the profile.
- Navigate to All Control Panel Items -> System -> Advanced system settings -> Settings.
- Locate the corrupt profile “Domain\UserID” and Delete this profile.
- Navigate to C:Users and make sure the folder titled by the corrupt profile UserID is gone. If not, delete this folder.
- Log out or restart and log back in using the previously corrupt NetID profile. Windows will build a new profile for this NetID from the Default profile.
- Restore any data to the profile that was previously backed up.