Microsoft KB Archive/289564

= Issues When Windows 2000 Loads and Unloads Profile =

Article ID: 289564

Article Last Modified on 2/20/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server

-



This article was previously published under Q289564



SYMPTOMS
The following issues may occur when a profile is loaded or unloaded on a computer that is running Windows 2000 Terminal Services:  After a Terminal Services client logs off, the HKEY_USERS\SID_Classes registry key may remain in the registry, the user may not be able to log on, and the following message may be logged in the Userenv log file (where  is the user's SID):

Failed to load subkey _Classes, error =5

 The computer may not be able to unload a user profile because of a handle leak to the DevModePerUser registry key. The following text may be logged in the Userenv log file:

2:USERENV(6c0.738) 08:52:28:656 MyRegUnLoadKey: Windows was not able to unload the registry hive.

2:USERENV(6c0.738) 08:52:28:703 MyRegUnLoadKey: Failed to unmount hive 5

2:USERENV(6c0.738) 08:52:28:781 UnloadUserProfile: Didn't unload user profile err = 5

2: Subkeys open inside the hive (e29dd308) (and Settings\demowts8\ntuser.dat) :

2:Process 8888f2c0 :: Key \REGISTRY\USER\S-1-5-21-2064005854-1184893843-5522801-77863

2:Process 8888f2c0 :: Key \REGISTRY\USER\S-1-5-21-2064005854-1184893843-5522801-77863\Printers\DevModePerUser

2:USERENV(6c0.738) 08:52:28:875 DumpOpenRegistryHandle: 2 user registry Handles leaked from \Registry\User\S-1-5-21-2064005854-1184893843-5522801-77863





RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000 Server. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290728 Windows 2000 Service Pack 2, Service Pack 3, and Service Pack 4 installation information



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Server Service Pack 3.



MORE INFORMATION
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot

For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:

249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes

Keywords: kbhotfixserver kbqfe kbbug kbfix kbtermserv kbwin2000presp3fix KB289564

-

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

© Microsoft Corporation. All rights reserved.