Delete shares being used by active processes with net use

  • Thread starter =?iso-8859-1?Q?M=E1rio_Sim=F5es?=
  • Start date
?

=?iso-8859-1?Q?M=E1rio_Sim=F5es?=

Hello all,

I have a problem wich is i am not able to disconnect a
network drive with net use because it's being used by an
active process.
But i can do it with explorer's disconnect network drive,
only it will ask me to do confirm yes/no.
I really need a way to force the disconnection in a way
that is transparent to the user...
Does anyone know a way to do this?
Net use will always state:
--->C:\>net use z: /delete
--->The device is being accessed by an active process.
--->More help is available by typing NET HELPMSG 2404.
The problem is i don't know what is accessing it...

Thanks in advance for any help!

Mário
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top