Administrator Is Unable to Delete Local Profile in Windows NT (238166)
The information in this article applies to:
- Microsoft Windows NT Server 4.0 Terminal Server Edition
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Workstation 4.0
This article was previously published under Q238166 IMPORTANT: This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that you
understand how to restore the registry if a problem occurs. For information
about how to back up, restore, and edit the registry, click the following
article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows Registry
SYMPTOMS When an administrator attempts to delete a local user
profile in Windows NT 4.0, one of the following error messages may be
displayed.
- The following error message may be displayed when the
administrator tries to delete the profile for a user account used to start a
service:
Can not delete Ntuser.dat. There has been
sharing violation. The source or destination file may be in use.
- The following error message may be displayed when the
administrator tries to delete the profile folder of a user who is currently
logged on:
"Profile Folder" is a windows system folder
and is required for Windows to run properly. It cannot be deleted.
- The following error message may be displayed when the
administrator tries to delete a profile in Windows NT Server, Terminal Server
Edition, for a user who currently has a Terminal Server session:
Can not remove desktop folder. There has been a sharing
violation. The source or destination file may be in use.
CAUSE These error messages occur when the profile is in use. The
user might still be logged on or the user's session might not have closed
completely. RESOLUTION To resolve this issue, log that user account off, and/or
stop any services that are configured to start with that user account.
| Modification Type: | Major | Last Reviewed: | 10/8/2006 |
|---|
| Keywords: | kbenv kbprb KB238166 |
|---|
|