Occasionally through some fault of your own or just the wonderful randomness of windows you may encounter an error whereby you get logged in with a temporary profile. You get a very nasty looking message saying
"Your user profile was not loaded correctly! You have been logged on with a temporary profile.
Changes you make to this profile will be lost when you log off. Please see the event log for details or contact your administrator."
Here is a solution path that may help you.
Log in with the local administrator account or domain admin account
*If you don't have a profile in the user folder skip to #4
If you have information in your profile that is lost you should browse to the profile directory and back it up. The profiles are typically stored in c:\users\... Copy the entire profile directory somewhere else on your hard drive outside of the user directory
Delete the profile folder from c:\users - Make sure you have your profile copied elsewhere before deleting this folder. For example c:\users\vince you would delete the vince folder. Do NOT delete the actual c:\users folder.
Open the registry, Start->search box type regedit
Accept any of the warnings and browse to the following folder and expand it HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
You should see several folders with weird letters and number that mean nothing to you, just ignore that you don't know what they mean and click on each one until you find the offending profile. There is a listing under each of those folders called ProfileImagePath. This setting will give you the location of profile. It will be somewhat descriptive enough that you should be able to find the profile name you were trying to log in with.
When you have found it delete the entire profile folder that starts with the funny numbers and letters, by right clicking on it and click delete.
Now if all went well you should be able to reboot your machine and log in.
Once you have logged in you will need to copy anything you backed up, and you may need to log out and back in as administrator in order to access the backup you made.
I did my schooling at Humber College in the late 90's when everyone was trying to learn how to fix Y2K bugs in COBOL. It was then that I decided that I wanted nothing to do with programming. When all was said and done I have spent the last 12 years (and growing) in various Networking, Support, and Server Management positions for various private and public sector employers. It’s funny how I have now come full circle and I am again surrounded by programmers.
When I manage to get away from the office I am usually fishing, off-roading, golfing, canoeing or camping. Pretty much anything that keeps me outside. Actually I just bought my first DSLR camera and I think its going to soak up much of my time and resources over the next little while.