Microsoft KB Archive/314290

= Problems if You Log On When a Program That Runs as a Service Loads User Hive =

Article ID: 314290

Article Last Modified on 2/20/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



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, &quot;C:\\winnt\\profiles\\administrators\\ntuser.dat&quot;)

...

RegUnloadKey(hKey, lpszSubKey);

Keywords: kbfix kbnetwork kbprb kbui KB314290

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.