Home | Site Map | Cisco How To Net How To | Wireless | Search | Forums | Services | Setup Guide | Chicagotech MVP | About Us | Contact Us|

 

Login Windows 2008 R2 domain computer using temp profile  - Resolution with screenshots

Q: 1. The user could not login the domain computer running Windows 7 with this error: user profile service failed the logon domain.

2. When we check the user profile, the type and status shows backup.

3. Deleted the profile and re-login, it doesn’t create a new profile and uses temp profile instead.

4. Current other domain users, for example administrator work fine.

5. If using any new domain user to login, it doesn’t create a new profile and it uses temp profile always.

6. The Event Viewer has these two logs:

Log Name: Application

Source: Microsoft-Windows-User Profiles Service

Event ID: 1530

Task Category: None

Level: Warning

Keywords:

User: SYSTEM

Computer: Win7-PC1

Description:

Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.

DETAIL -

1 user registry handles leaked from \Registry\User\S-1-5-21-1764965194-3020482753-2823025945-1114:

Process 4660 (\Device\HarddiskVolume3\Program Files (x86)\LogMeIn\x64\LogMeIn.exe) has opened key \REGISTRY\USER\S-1-5-21-1764965194-3020482753-2823025945-1114

Log Name: Application

Source: Microsoft-Windows-User Profiles Service

Event ID: 1505

Task Category: None

Level: Error

Keywords:

User: A

Computer: Win7-PC1

Description:

Windows cannot load the user's profile but has logged you on with the default profile for the system.

DETAIL - Access is denied.

Any ideas?

A 1:

Usually, the user profile is stored in the %systemdrive%\users\[user name] directory, the %systemdrive%\users\[user name]\ntuser.dat stores the registry information. When the user logs on, if a user profile cannot be created, the system will use  a temp user profile (create a profile folder with starting with ‘temp’ in the %systemdrive%\users). This temporary file will be deleted after the user logs out. The system will automatically recover to use the normal user profile when it is available next time.
 
In this case, it seems that the temp user profile has never been deleted after the user logs out. Hence when the user logs on, the temp user profile is used every time.
 
You may try the following steps to recover:
1.       Back up the problem user profile in the %systemdrive%\users\[user name]
2.       Use an administrator account to log in.
3.       Run sysdm.cpl
4.       Click Advanced
5.       In User Profiles, click ‘Delete’
6.       Check the %systemdrive%\users and make sure the temp profile and the %systemdrive%\users\[user name] has been deleted. If not, you may do it manually
7.       Login the problem user and log out.
8.       Use an administrator account to log in.
9.       Delete %systemdrive%\users\[user name] and copy the user directory back in the %systemdrive%\users mentioned in step 1.
 
If this does not solve the problem, we may consider editing the registry directly. In the HKLM\SOFTWARE\Microsoft\Windows NT\Current Version\ProfileList, locate the problem user SID and remove the SID entry that formatted with .bak. It is highly suggested that you back up the registry entry before making any changes because registry key change is irreversible. This is just to make sure that if anything goes wrong, we can be safe.

A 2:

There may be two similar GUIDS found for the problematic user, one for the temp profile and one for the regular profile but with the ".bak" extension.

I suggest you removed .bak from sid to check the result.

Contact a consultant

Related Topics

 

 

 

 

  This web is provided "AS IS" with no warranties.
Copyright © 2002-2017 ChicagoTech.net, All rights reserved. Unauthorized reproduction forbidden.