NET USE /DEL

  • Thread starter Thread starter Barney
  • Start date Start date
B

Barney

I am unable to delete a mapped drive. If I type NET USE
X: /DEL, the shell responds "The device is being accessed
by an active process."

I know that a reboot would resolve the problem but is
there a way, preferably from a command prompt to determine
which process is using the drive mapping. I can't seem to
find the relevant information with PSTAT or the Task
Manager GUI.
 
Hi,
Make sure you don't have the drive active in a command
window ie. you can't NET USE x: /DEL as Follows
X:\>NET USE x: /del
change to different drive first then use the command
X:\> c:
C:\>NET USE x: /del
 
Thanks Jim but that was the first thing I checked.
-----Original Message-----
Hi,
Make sure you don't have the drive active in a command
window ie. you can't NET USE x: /DEL as Follows
X:\>NET USE x: /del
change to different drive first then use the command
X:\> c:
C:\>NET USE x: /del

.
 
Barney said:
I am unable to delete a mapped drive. If I type NET USE
X: /DEL, the shell responds "The device is being accessed
by an active process."

I know that a reboot would resolve the problem but is
there a way, preferably from a command prompt to determine
which process is using the drive mapping. I can't seem to
find the relevant information with PSTAT or the Task
Manager GUI.


Download the freeware HANDLE.EXE from http://www.sysinternals.com/

(Or for a GUI tool try Process Explorer)
 
Back
Top