Microsoft KB Archive/324687

= User Profile Does Not Unload After Running WMI Scripts =

Article ID: 324687

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT 4.0 Service Pack 6a
 * Microsoft Windows NT Server 4.0 Enterprise Edition
 * Microsoft Windows NT 4.0 Service Pack 6a
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



This article was previously published under Q324687



SYMPTOMS
User profiles may not be unloaded when users log off, and user settings may not be saved. These problems may occur if you are using Windows Management Instrumentation (WMI) scripting. If you turn on Userenv logging with a checked Userenv.dll file, you may see the following entries in the Userenv.log file:

UnloadUserProfile: Entering, hProfile =

UnloadUserProfile: Didn't unload user profile

UnloadUserProfile: Leaving with a return value of 1



RESOLUTION
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version        Size       File name     Platform 26-Aug-2002 14:57  4.0.1381.7189    250,128  Advapi32.dll  Intel 26-Aug-2002 14:58  1.50.1085.87   1,056,768  Cimwin32.dll  Intel 26-Aug-2002 14:57  4.0.1381.7189     74,512  Netui0.dll    Intel 26-Aug-2002 14:57  4.0.1381.7189     37,136  Version.dll   Intel 26-Aug-2002 14:59  1.50.1085.29     196,608  Winmgmt.exe   Intel NOTE: Because of file dependencies, this hotfix requires Microsoft Windows NT 4.0 Service Pack 6a.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbfix kbqfe kbhotfixserver KB324687

-

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

© Microsoft Corporation. All rights reserved.