Unable to Delete Mapped Drive to User's Home Directory

ID: Q165575


The information in this article applies to:


SYMPTOMS

When a user attempts to disconnect a drive mapped to his or her home directory through the net use /d command from a command prompt, the following error message may be displayed:

The device is being accessed by an active process.

More help is available by typing NET HELPMSG 2404.
The preceding error message occurs if the drive that is mapped to the user home directory is set through the Connect To option in the User Environment Profile dialog box.


CAUSE

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


RESOLUTION

There are currently three possible workarounds.

NOTE: Save and close all files you have open that may be affected by the following workarounds before you continue pursuing them. The three possible workarounds are:

Additional query words: active process net use home directory map


Keywords          : kbnetwork ntdomain kbbug4.00 kbbug3.50 kbbug3.51 NTSrvWkst 
Version           : WinNT:3.5,3.51,4.0
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: February 12, 1999