Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The user profile may not be correctly unloaded when you log off from a Windows Server 2003-based computer, and event 1517 is logged


View products that this article applies to.

Symptoms

The user profile may not be correctly unloaded when you log off from a Windows Server 2003-based computer. Additionally, an event that resembles the following is logged in the Application log:

Event Type: Warning
Event Source: Userenv
Event Category: None
Event ID: 1517
Date: Date
Time: Time
User: NT AUTHORITY\SYSTEM
Computer: ComputerName
Description:
Windows saved user User_Name registry while an application or service was still using the registry during log off. The memory used by the user's registry has not been freed. The registry will be unloaded when it is no longer in use.
This is often caused by services running as a user account, try configuring the services to run in either the LocalService or NetworkService account.

When you log on to the computer later, a temporary profile may be loaded. In this situation, any changes that you make to the current desktop will be lost after you log off from the system.

When this problem occurs, you cannot resolve it even by using the User Profile Hive Cleanup Service (UPHClean). To recover from this problem, you have to restart the computer.

This problem occurs regardless of whether you log on to the computer directly, in a terminal server session, or in a remote console session.

↑ Back to the top


Cause

This problem occurs because of a race condition on the reference count in the registry optimization module.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must have Windows Server 2003 Service Pack 1 or Windows Server 2003 Service Pack 2 installed on the computer. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
889100� How to obtain the latest service pack for Windows Server 2003

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.
Windows Server 2003 with Service Pack 1, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Ntkrnlmp.exe5.2.3790.31592,466,81618-Jun-200811:55Not ApplicableSP1
Ntkrnlpa.exe5.2.3790.31592,279,42418-Jun-200811:20x86SP1
Ntkrpamp.exe5.2.3790.31592,319,36018-Jun-200811:21Not ApplicableSP1
Ntoskrnl.exe5.2.3790.31592,426,36818-Jun-200811:55x86SP1
Windows Server 2003 with Service Pack 2, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Ntkrnlmp.exe5.2.3790.43162,496,00018-Jun-200818:03Not ApplicableSP2
Ntkrnlpa.exe5.2.3790.43162,307,58418-Jun-200814:07x86SP2
Ntkrpamp.exe5.2.3790.43162,348,54418-Jun-200821:34Not ApplicableSP2
Ntoskrnl.exe5.2.3790.43162,455,55218-Jun-200818:03x86SP2
Windows Server 2003 with Service Pack 1, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Ntdll.dll5.2.3790.31591,636,35218-Jun-200821:33IA-64SP1Not Applicable
Ntkrnlmp.exe5.2.3790.31596,534,14418-Jun-200821:33IA-64SP1Not Applicable
Wntdll.dll5.2.3790.3159765,95218-Jun-200821:33x86SP1WOW
Windows Server 2003 with Service Pack 2, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Ntdll.dll5.2.3790.43161,636,86418-Jun-200821:34IA-64SP2Not Applicable
Ntkrnlmp.exe5.2.3790.43166,568,96018-Jun-200821:34IA-64SP2Not Applicable
Wntdll.dll5.2.3790.4316766,46418-Jun-200821:34x86SP2WOW
Windows Server 2003 with Service Pack 1, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Hal.dll5.2.3790.3159280,06418-Jun-200821:33x64SP1
Ntkrnlmp.exe5.2.3790.31594,646,91218-Jun-200821:33x64SP1
Ntoskrnl.exe5.2.3790.31594,503,04018-Jun-200821:33x64SP1
Windows Server 2003 with Service Pack 2, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Hal.dll5.2.3790.4316280,06418-Jun-200821:38x64SP2
Ntkrnlmp.exe5.2.3790.43164,604,41618-Jun-200821:38x64SP2
Ntoskrnl.exe5.2.3790.43164,534,27218-Jun-200821:38x64SP2

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684� Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kbautohotfix, kbexpertiseinter, kbwinserv2003postsp2fix, kbbug, kbfix, kbhotfixserver, kbqfe, KB944984

↑ Back to the top

Article Info
Article ID : 944984
Revision : 3
Created on : 10/7/2008
Published on : 10/7/2008
Exists online : False
Views : 401