Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every so often, I log on and get the Following Message:

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

This almost always happens when somebody else has been on the computer for a while, and then I log on. This never used to happen, but now it happens pretty often.

My profile is not permanently corrupted, all I have to do is restart my computer, but this annoys me, and I would like to fix it.

I was curios about the reason of this cause, so I looked into the Event Log, and found the root of the problem was the ntuser.dat file in the profile that I was logging on to was locked at logon time. This resulted in the current users registry not being loaded, resulting in failure to load the profile.

I just found a microsoft article that mentions this exact issue:

The problem is that I do not want to delete this profile; and this issue does not come up every time that I log on, only when somebody else has been on a long time before me.

What could be locking this file? Is there any way to get a process list without logging on so that I can identify which process has the file locked? Any other suggestions?

share|improve this question
Is anyone going to answer this question? – xaav Apr 14 '10 at 22:42
I had this issue on Vista, deleted the profile in question, created a new one and still had the problem. I now have a new hard drive with a clean install of Windows 7 and am still having the issue with both the user profiles I have configured. Grrrr. – FoleyIsGood May 12 '10 at 20:29
I think I may have found the solution. I have not tried it yet so I will not say it is perfect – xaav May 21 '10 at 22:02

Note: I have not tested this yet, but I think this might be the answer:

  1. Download Unlocker
  2. Install Unlocker
  3. Open the Event Viewer
  4. Open the Application Logs folder
  5. Look for the item that says something like "Windows has detected that your profile is still in use by other applications. It will be unloaded now." It should be a warning level
  6. Write down the Event Id, the Source, and "Application Logs"
  7. Create a new batch file with the following lines:

    cd C:\Program Files\Unlocker
  8. Replace %PATHTOMYLOCKEDUSERPROFILE% with the path to the NTUSER.DAT file in your user folder
  9. Open task manager
  10. Create a new task
  11. In the Events tab, Run your batch file you created
  12. In the triggers tab, put the name of the event id you wrote down earlier
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .