Unable to Delete Mapped Drive to User's Home Directory

Last reviewed: February 3, 1998
Article ID: Q165540
The information in this article applies to:
  • Microsoft Windows NT Server versions 3.5, 3.51, 4.0
  • Microsoft Windows NT Workstation versions 3.5, 3.51, 4.0

SYMPTOMS

When users try to disconnect a drive that is mapped to their home directory by typing "net use /d" at a command prompt, they may receive the following error message:

   The device is being accessed by an active process.
   More help is available by typing NET HELPMSG 2404.

CAUSE

The above error message will occur if the drive that is mapped to the user's home directory is set through the "Home Directory, Connect To" option within User Manager.

MORE INFORMATION

When the "Connect To" option for Home Directory within User Manager is defined to connect a drive letter to a specified UNC path, you create this connection using NDDEAGNT (NetDDE Agent), which is part of NetDDE. Because NetDDE is involved, there is an active connection to the server and that connection cannot be readily broken.

RESOLUTION

Use Windows NT Explorer or Windows NT File Manager (Winfile.exe) to override the lock on the drive mapping so it can be disconnected.

If the connection between the workstation and associated server is broken, the connection will timeout after a short period and the drive mapping can be disconnected by typing the "net use /d" at a command prompt.

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 3.5, 3.51, and 4.0. We are researching this problem and will post additional information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: active process net use map
Keywords : kbbug3.50 kbbug3.51 kbbug4.00 ntdomain NTSrvWkst
Version : WinNT:3.5,3.51,4.0
Platform : winnt
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.