Windows

  • Windows 7
  • Windows
  • All forums
Question

Temporary profile loads at log in

Help! I've been using Windows 7 for a couple of days and this problem has been driving me mad. At random times, when a user logs in, it comes up with a temporary profile. This is all on a single machine with 4 user accounts (2 of which are admin). The only cure is a reboot. It's bad enough when it's my account or my wife's, but my children shouldn't have to know how to sort this out :-/

I was using Vista for a couple of years on the same machine and never had this problem. I had the same user profiles. When I installed 7, I set up new profiles and copied the data across from my Vista backup.

It is obviously not a permanently corrupted profile as it goes for periods without any problems. Any help would be appreciated.

Thanks
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation
40 People had
this question

Was this helpful?

7

Votes

Answer

UPDATE: PROBLEM SOLVED (for me)

I ran Sysinternals' Process Monitor and logged only registry events for "RegLoadKey" and "RegUnloadKey" and found the culprit: "GoogleUpdater.exe"

I wish I could upload an image of Process Monitor so everyone could see, but in my case, the problem is without a doubt caused by one of the several Google Update services.  I left it logging in my login and went to work, then when I came home, one of my kids tried to login and got the temporary profile, so I switched users back to mine and looked at Process Explorer: sure enough, at 9:57am GoogleUpdater.exe loaded every single users' profile and never unloaded them!  As I mentioned in my earlier post, I can unload their registry hives manually using RegEdit, since they are not logged in.

I can see that a few other processes have loaded and quickly unloaded the profiles as well, such as CarboniteService.exe and MsMpEng.exe.  Restated for clarity: Carbonite is not the problem.

I have Google Chrome, Google Earth, and Picasa 3 installed; I do not have the Google Toolbar installed, but I've read (now) that it also installs the Google Updater service(s).

There are several threads on external web sites on how to uninstall and/or disable Google Update services.  I think the easiest method is to use another Sysinternals' tool, AUTORUNS.exe, and search for all the "Google" entries and uncheck them.  There are two different Google Updater Windows Services as well as several Google Update Scheduled Tasks.  It may be overkill to disable them all, but I'm sick and tired of this temporary profile problem.

Of course, now that I know what to look for, there are several posts across the web regarding "Google Update" and "Temporary Profile" issues, with the suggestion to uninstall/disable Google Update to fix the temporary profile problem.  <sigh>

 

DETECTION

If you want to know whether Google Update is causing your problem, run RegEdit and expand "HKEY_USERS" and look at the names of the keys (they look like folders) on the left.  If you see some keys named COMPUTERNAME_USERNAME (with your computer name and users' names of course) then those are the ones loaded by Google Updater services.  When real users login, their profiles are loaded into keys name "S-1-......." with a bunch of letters and numbers.

If you disable all the Google Updater services and scheduled tasks and still have the problem, try running Sysinternals' "Process Monitor" (it's free) and logging only registry events "RegLoadKey" and "RegUnloadKey" and see who is causing your problem.  Note that you may have to leave Process Monitor running for several hours or even days in order to catch the culprit.

NOTE: It's not sufficient to run Process Explorer or other programs to determine which process has the users' profile files locked (NTUSER.DAT) because when a program requests a users' profile to be loaded then the SYSTEM process actually does the loading, not the process that requested that the profile be loaded.

 

CONCLUSION

Google Updater is behaving badly, and Google needs to fix it, which is apparently why the problem arises in Windows XP, Vista, and Windows 7.  My apologies to Microsoft for my earlier ugly comment about Apple and MAC OS X.

I hope this helps some of you fellow sufferers.

 

    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

4

Votes

Hi Somersetsimon,

Welcome to Microsoft 7 answers Forum!

This issue may occur if the user profile was manually deleted by using the command prompt or by using Windows Explorer. A profile that is manually deleted does not remove the security identifier (SID) from the profile list in the registry.

To resolve this issue, follow these steps:

1.      Delete the profile by using the Computer Properties dialog box. To do this, follow these steps:

a.       Click Start, right-click Computer, and then click Properties.

b.      Click Change settings.

c.       In the System Properties dialog box, click the Advanced tab.

d.      Under User Profiles, click Settings.

e.       In the User Profiles dialog box, select the profile that you want to delete, click Delete, and then click OK.

2.      Click StartCollapse this imageExpand this ima, type regedit in the Start search box, and then press ENTER.

3.      Locate and then expand the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

4.      Right-click the SID that you want to remove, and then click Delete.

5.      Log on to the computer and create a new profile.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756  (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows.

Refer the link for more information: Error message when you log on to a Windows Vista-based computer by using a temporary profile: "The User Profile Service failed the logon. User profile cannot be loaded" http://support.microsoft.com/kb/947215

 Let me know if this worked.

Swathi B  - Microsoft Support.
Visit our
Microsoft Answers Feedback Forum and let us know what you think.

    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Naman R

Forum Moderator

Was this helpful?

1

Vote

Hi Somersetsimon,

Welcome to Microsoft 7 answers Forum!

This issue may occur if the user profile was manually deleted by using the command prompt or by using Windows Explorer. A profile that is manually deleted does not remove the security identifier (SID) from the profile list in the registry.

To resolve this issue, follow these steps:

1.      Delete the profile by using the Computer Properties dialog box. To do this, follow these steps:

a.       Click Start , right-click Computer , and then click Properties .

b.      Click Change settings .

c.       In the System Properties dialog box, click the Advanced tab.

d.      Under User Profiles , click Settings .

e.       In the User Profiles dialog box, select the profile that you want to delete, click Delete , and then click OK .

2.      Click Start Collapse this imageExpand this ima , type regedit in the Start search box, and then press ENTER.

3.      Locate and then expand the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

4.      Right-click the SID that you want to remove, and then click Delete .

5.      Log on to the computer and create a new profile.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756   (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows.

Refer the link for more information: Error message when you log on to a Windows Vista-based computer by using a temporary profile: "The User Profile Service failed the logon. User profile cannot be loaded" http://support.microsoft.com/kb/947215

  Let me know if this worked.

Swathi B  - Microsoft Support.
Visit our
Microsoft Answers Feedback Forum and let us know what you think.


OK, thanks for this. I might try when I have some time. However, I know that none of the affected user profiles were deleted. Also, the profiles and everything else works fine most of the time, then occasionally starts playing up. The profiles are certainly not permanently corrupted. Does this make a difference?
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

Hi Simon,


You can try this tool (user profile cleaner helper service)
http://blogs.technet.com/uphclean/attachment/3145464.ashx

I did not try this tool in Windows 7, since there is virtually no change in user profiles model from windows vista and 7, there should be no problems running it in 7.  Although i suggested this tool here in this page, i did not get confirmation reply from any that this tool helped to resolve or if still the issue remains . So i would say give and try and reply what ever be the result is, so that others know can know about it.

In few cases this will happen because of permission(security) constraints as well. you might have to use the command listed in http://support.microsoft.com/default.aspx/kb/313222

Lava
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

Hello somersetsimon,

As Lava stated, UPHClean is a great tool to help with user profiles issue.
You can download the UPHClean from the following location:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=1b286e6d-8912-4e18-b570-42470e2f3582

Most of the time, the problem with profiles not loading are because a program didn't release all of the handles when the program closed. So a temporary profile is used. Install UPHClean on the computer as it will allow the handles to be released.

You can make a system restore point before you install just in case you want to go back to before you installed it.

Please reply back and let us know if UPHClean helped with your issue.

Sincerely,

Marilyn
Microsoft Answers Support Engineer
Visit our Microsoft Answers Feedback Forum and let us know what you think
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Marilyn O

Forum Moderator

Was this helpful?

I tried to install the program and got the message 'There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact you support personnel or package vendor.'

I had a look at the Event Viewer and saw this.

The description for Event ID 1 from source UPHClean cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

User Profile Hive Cleanup does not run on Windows 6 or later.

Simon
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

1

Vote

Hi Simon,


I think you have tried the link suggested by Marilyn, it is for windows xp(i guess it is v1.x) . try the link i have in my post. the link which i'm suggesting is a beta version(V2.0) which can run in vista.  http://blogs.technet.com/uphclean/attachment/3145464.ashx
You can also refer to : http://blogs.technet.com/uphclean/

If the new download fails then i have only one suggestion, run the program in compatibility mode.

right click the downloaded UPHclean installer package and open properties, go to compatibility tab and select Windows vista(without service packs). then try to install it.
Once installed, open program compatibility wizard and select the UPHclean tool (which should now be showing up in the list) then again select compatibility to Windows Vista (you need to go through the custom options).

Good Luck.

Regards
Lava.
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

Thanks - that installed ok. As the problem was intermittent, I might have to wait a while before I know it worked!

Simon
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

1

Vote

Hi,

the case of a program that did not release all handles could be my case.

Every time the temporary profile problem appears I get the following event in event log:

Log Name: Application
Source: Microsoft-Windows-User Profiles Service
Date: 29/09/2009 1.53.56
Event ID: 1508
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: MYPC
Description:
Windows was unable to load the registry. This problem is often caused by insufficient memory or insufficient security rights.

DETAIL - The process cannot access the file because it is being used by another process.
for C:\Users\User1\ntuser.dat

How can I discover which is the process that's locking the ntuser.dat file?


Plo
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Paolone67

Paolone67
Plo

Was this helpful?

Thanks - that installed ok. As the problem was intermittent, I might have to wait a while before I know it worked!

Simon
The problem is still occuring, so I guess the tool didn't work. Surely there is some way of figuring out what is causing this problem? It looks like others are having the same problem.
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

Hi somersetsimo:
Please lets first make this simple test. Try to delete any Internet site from your Favorites list (you can recover the file by clicking the Recycle Bin and selecting the file and Recover). If you are unable to delete the file, because you as Administrator does not have the authority you need to make changes in the Network Sharing Center. If your answer is yes, and you can not delete nor rename a file, your PC was clasified as being on of a network; this option was given to you during W7 setup and you agreed.
With all due respect to the previous posters, the solution to your problem is in the Network Sharing Center and Parental Control in the Control Panel, where you control your authority over the PC network, and all users.    
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation
<< PreviousPage of 6 Next >>

Message marked as answers cannot be deleted

To delete this message, first unmark this message as an answer, then delete it.

Reason to remove escalation


Merge

Enter the thread ID of the thread you are merging into


Reply will be posted to a public thread

You are replying to a public portion of this thread. To reply privately, click Cancel, click the Private Messages tab, and Reply on that private message.

Don't show this message again

To report abuse, sign in or continue without signing in

Thank you.

Report abuse

Abuse type:

Details (optional):

Report abuse

Abuse type:

Details (required):
Enter the characters you see (required):
Type the numbers that you see in the picture.
Play audio and type the numbers that you hear.
Show a different picture.

Sign in

Hotmail, Xbox Live, Messenger, or msn accounts will also work.

Don't have one of the above accounts?

Signing in...
This page will automatically update after you are signed in.
If you are having problems, you can close this message and try to connect again.