Error Message: Windows Cannot Find the Local Profile and Is Logging You On with a Temporary Profile (257580)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Professional

This article was previously published under Q257580

SYMPTOMS

When you log on, you may receive a temporary profile at the workstation, and you may receive the following error message:
Windows cannot locate your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be propagated to the server. DETAIL: Network path was not found.
If you have not logged on to this workstation before, you also receive the following error message:
Windows cannot find the local profile and is logging you on with a temporary profile. Changes to your profile will be lost when you log off.
When you log off, your profile is deleted.

CAUSE

This behavior can occur if the server that hosts the roaming profile is not available or cannot be reached by the workstation.

RESOLUTION

Ensure that the client has connectivity and can resolve the server that is hosting the roaming profile.

MORE INFORMATION

For additional information, enable debugging for the environment and examine the Userenv.log file. Partial output from a sample Userenv.log file:
USERENV(b8.a0) 17:17:31:427 LoadUserProfile: Entering, hToken = <0x51c>, lpProfileInfo = 0x6f650
USERENV(b8.a0) 17:17:31:427 LoadUserProfile: Entering, hToken = <0x51c>, lpProfileInfo = 0x6f650
USERENV(b8.a0) 17:17:31:427 LoadUserProfile: lpProfileInfo->dwFlags = <0x0>
USERENV(b8.a0) 17:17:31:427 LoadUserProfile: lpProfileInfo->lpUserName = <jcridge>
USERENV(b8.a0) 17:17:31:427 LoadUserProfile: lpProfileInfo->lpProfilePath = <\\MAXIMILLION\winnt\Profiles\jcridge>
USERENV(b8.a0) 17:17:31:427 LoadUserProfile: lpProfileInfo->lpDefaultPath = <\\GHQBDCGEISGE\netlogon\Default User>
USERENV(b8.a0) 17:17:31:427 LoadUserProfile: NULL server name
USERENV(b8.a0) 17:17:31:427 LoadUserProfile: Created mutex.  Waiting...
USERENV(b8.a0) 17:17:31:427 LoadUserProfile: Wait succeeded.  Mutex currently held.
USERENV(b8.a0) 17:17:31:487 MyGetUserName:  GetUserNameEx failed with 1355.
USERENV(b8.a0) 17:17:31:507 MyGetUserName:  Retrying call to GetUserNameEx in 1/2 second.
USERENV(b8.a0) 17:17:32:008 MyGetUserName:  GetUserNameEx failed with 1355.
USERENV(b8.a0) 17:17:32:008 MyGetUserName:  Retrying call to GetUserNameEx in 1/2 second.
USERENV(b8.a0) 17:17:32:509 MyGetUserName:  GetUserNameEx failed with 1355.
USERENV(b8.a0) 17:17:32:509 MyGetUserName:  Retrying call to GetUserNameEx in 1/2 second.
USERENV(b8.a0) 17:17:33:010 MyGetUserName:  GetUserNameEx failed with 1355.
USERENV(b8.a0) 17:17:33:010 GetUserGuid: Failed to get user guid with 1355.
USERENV(b8.a0) 17:17:33:010 GetProfileSid: No Guid -> Sid Mapping available
USERENV(b8.a0) 17:17:33:020 MyGetUserName:  GetUserNameEx failed with 1355.
USERENV(b8.a0) 17:17:33:020 MyGetUserName:  Retrying call to GetUserNameEx in 1/2 second.
USERENV(2b0.c4) 17:17:33:180 LibMain: Process Name:  C:\WINNT\System32\snmp.exe
USERENV(b8.a0) 17:17:33:520 MyGetUserName:  GetUserNameEx failed with 1355.
USERENV(b8.a0) 17:17:33:520 MyGetUserName:  Retrying call to GetUserNameEx in 1/2 second.
USERENV(b8.a0) 17:17:34:021 MyGetUserName:  GetUserNameEx failed with 1355.
USERENV(b8.a0) 17:17:34:021 MyGetUserName:  Retrying call to GetUserNameEx in 1/2 second.
USERENV(b8.a0) 17:17:34:522 MyGetUserName:  GetUserNameEx failed with 1355.
USERENV(b8.a0) 17:17:34:522 GetUserGuid: Failed to get user guid with 1355.
USERENV(b8.a0) 17:17:34:522 GetProfileSid: No Guid -> Sid Mapping available
USERENV(b8.a0) 17:17:34:522 ParseProfilePath: Entering, lpProfilePath = <\\MAXIMILLION\winnt\Profiles\jcridge>
USERENV(32c.344) 17:17:35:974 LibMain: Process Name:  C:\WINNT\System32\inetsrv\inetinfo.exe
USERENV(32c.344) 17:17:37:075 GetHkeyCU: RegOpenKey failed with error 2
USERENV(1b4.308) 17:17:39:128 LibMain: Process Name:  C:\WINNT\system32\spoolsv.exe
USERENV(1b4.308) 17:17:39:509 LibMain: Process Name:  C:\WINNT\system32\spoolsv.exe
USERENV(1b4.308) 17:17:39:519 LibMain: Process Name:  C:\WINNT\system32\spoolsv.exe
USERENV(1b4.388) 17:17:39:990 LibMain: Process Name:  C:\WINNT\system32\spoolsv.exe
USERENV(1b4.388) 17:17:40:020 GetHkeyCU: RegOpenKey failed with error 2
USERENV(3e8.3e4) 17:17:46:870 LibMain: Process Name:  C:\WINNT\System32\WBEM\WinMgmt.exe
USERENV(b8.a0) 17:17:55:542 ParseProfilePath: Tick Count = 0
USERENV(b8.a0) 17:17:55:542 ParseProfilePath: FindFirstFile failed with error 53
USERENV(b8.a0) 17:17:55:542 ParseProfilePath: Did not create the sub-directory.  Generating a new name.
USERENV(b8.a0) 17:17:55:542 ParseProfilePath: Entering name generating code working with a path of <\\MAXIMILLION\winnt\Profiles\jcridge>.
USERENV(b8.a0) 17:17:55:542 ParseProfilePath: FindFirstFile failed with error 53
USERENV(b8.a0) 17:17:55:542 ParseProfilePath: Central profile is unreachable to due error 53, switching to local profile only.
USERENV(3e8.3e4) 17:18:04:655 LibMain: Process Name:  C:\WINNT\System32\WBEM\WinMgmt.exe
USERENV(b8.a0) 17:18:11:455 LoadUserProfile: ParseProfilePath returned a directory of <>
USERENV(b8.a0) 17:18:11:455 RestoreUserProfile:  Entering
USERENV(b8.a0) 17:18:11:455 RestoreUserProfile:  User is a Admin
USERENV(b8.a0) 17:18:11:455 IsCentralProfileReachable:  Entering
USERENV(b8.a0) 17:18:11:455 IsCentralProfileReachable:  Null path.  Leaving
USERENV(b8.a0) 17:18:11:455 RestoreUserProfile:  Profile path = <>
USERENV(b8.a0) 17:18:11:455 ExtractProfileFromBackup:  Failed to open key Software\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-62665781-1442931758-335610523-7784 with error 2
USERENV(b8.a0) 17:18:11:465 ExtractProfileFromBackup:  Couldn't open backup profile key.  Error = 2
USERENV(b8.a0) 17:18:11:465 MyGetUserName:  GetUserNameEx failed with 1355.
USERENV(b8.a0) 17:18:11:465 MyGetUserName:  Retrying call to GetUserNameEx in 1/2 second.
USERENV(b8.a0) 17:18:11:966 MyGetUserName:  GetUserNameEx failed with 1355.
USERENV(b8.a0) 17:18:11:966 MyGetUserName:  Retrying call to GetUserNameEx in 1/2 second.
USERENV(b8.a0) 17:18:12:466 MyGetUserName:  GetUserNameEx failed with 1355.
USERENV(b8.a0) 17:18:12:466 MyGetUserName:  Retrying call to GetUserNameEx in 1/2 second.
USERENV(b8.a0) 17:18:12:967 MyGetUserName:  GetUserNameEx failed with 1355.
USERENV(b8.a0) 17:18:12:967 GetUserGuid: Failed to get user guid with 1355.
USERENV(b8.a0) 17:18:12:967 PatchNewProfileIfRequred: No OldSidString found
USERENV(b8.a0) 17:18:12:967 CreateLocalProfileKey:  Not setting additional Security
USERENV(b8.a0) 17:18:12:967 CreateLocalProfileImage:  One way or another we haven't got an existing local profile, try and create one
USERENV(b8.a0) 17:18:12:967 CreateSecureDirectory: Entering with <C:\Documents and Settings\TEMP>
USERENV(b8.a0) 17:18:12:967 CreateSecureDirectory: Created the directory <C:\Documents and Settings\TEMP>
USERENV(b8.a0) 17:18:12:967 ComputeLocalProfileName: generated the profile directory <C:\Documents and Settings\TEMP>
USERENV(b8.a0) 17:18:15:210 Local profile name is <C:\Documents and Settings\TEMP>
USERENV(b8.a0) 17:18:15:210 RestoreUserProfile:  Working with a new user.  Go straight to issuing a default profile.
USERENV(b8.a0) 17:18:15:210 RestoreUserProfile:  Issuing default profile
USERENV(b8.a0) 17:18:15:210 CheckNetDefaultProfile: Entering, lpNetPath = <\\GHQBDCGEISGE\netlogon\Default User>
USERENV(b8.a0) 17:18:15:220 CheckNetDefaultProfile: setting default profile to NULL
USERENV(b8.a0) 17:18:15:220 CheckNetDefaultProfile:  Removing local copy of network default user profile.
USERENV(b8.a0) 17:18:15:220 Delnode_Recurse: Entering, lpDir = <C:\Documents and Settings\Default User (Network)>
USERENV(b8.a0) 17:18:15:220 CheckNetDefaultProfile:  Leaving with a value of 0.
USERENV(b8.a0) 17:18:15:220 IssueDefaultProfile:  Entering.  lpDefaultProfile = <C:\Documents and Settings\Default User> lpLocalProfile = <C:\Documents and Settings\TEMP>
				
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

221833 How to Enable User Environment Debug Logging in Retail Builds of Windows 2000


Modification Type:MajorLast Reviewed:11/4/2003
Keywords:kbprb kbProfiles KB257580