Problems if You Log On When a Program That Runs as a Service Loads User Hive (314290)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 4.0

This article was previously published under Q314290

SYMPTOMS

If a program that is running as a service tries to load your user hive while your computer is starting and you try to log on to the computer at the same time, Windows may create a new profile for you.

CAUSE

This behavior can occur when Windows reads your user profile and your profile has been locked by the service program. When this occurs, Windows is not able to load the user hive, and creates a new one.

MORE INFORMATION

You may be able to see the issue that is described in this article if the service program runs code that is similar to the following code when the program starts:

RegLoadKey(hKey, lpszSubKey, "C:\\winnt\\profiles\\administrators\\ntuser.dat")
...
RegUnloadKey(hKey, lpszSubKey);


Modification Type:MajorLast Reviewed:5/28/2003
Keywords:kbfix kbnetwork kbprb kbui KB314290