Microsoft KB Archive/251278

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:15, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base

User Profile Folders Are Not Deleted After Logging Off

Article ID: 251278

Article Last Modified on 2/28/2007


  • Microsoft Windows NT Server 4.0, Terminal Server Edition Service Pack 4
  • Microsoft Windows NT Server 4.0, Terminal Server Edition Service Pack 5

This article was previously published under Q251278


On Windows NT Server, Terminal Server Edition, when you enable the Delete Cached Profile (DeleteRoamingCache) feature and a user logs off from the Terminal Server, the profile is copied back to the central profile location and the cached copy on the terminal server box is deleted.

In the process of deleting this cached copy, Terminal Server recursively removes all the folders under the user's profile folder. But, the top level folder of the user profile might not be removed.

This seems as if the Delete Cached Profile setting did not work, but the empty folder does not cause any profile corruption.

Userenv log indicates error 32, a sharing violation occurred.

1:USERENV: DeleteProfile: Delnode failed. Error = 32
1:USERENV: UnloadUserProfile: DeleteProfileDirectory returned false (2).
Error = 32


This issue can occur if the current directory for the Winlogon process running under the user's context gets set to the user's profile folder incorrectly.


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

152734 How to Obtain the Latest Windows NT 4.0 Service Pack


Microsoft has confirmed that this is a problem in Windows NT 4.0 Terminal Server. This problem was first corrected in Windows NT Server version 4.0, Terminal Server Edition Service Pack 6.

Keywords: kbhotfixserver kbqfe kbbug kbfix kbui KB251278