I have a Windows XP computer that when it is shut off and the user turns on the computer and tries to logon they get the error: "Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off." After pressing ok the temporary profile loads. Then if the computer is restarted we can login to the same account without getting an error.
I have repaired the permissions of the profile but it does not seem to help. It is quite strange that this happens ONLY when the computer is shut down (which is done at night) and turned on in the morning. If the computer is restarted it works just fine.