Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Delete shares being used by active processes with net use

480 views
Skip to first unread message

Mário Simões

unread,
Jul 11, 2003, 5:44:50 AM7/11/03
to
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

interceptor

unread,
Jul 11, 2003, 11:39:17 AM7/11/03
to

try to use

net use z: /delete /no

help is helpful use

net /? or
net use /?


bmn

unread,
Nov 4, 2010, 9:48:17 AM11/4/10
to
Mário Simões wrote on 07/11/2003 05:44 ET :
> 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
>
Interceptor, that doesn't work. Don't be such a smugfag if you haven't
actually
tried idea you're suggesting.

the /no switch is only applicable when making connections, not when breaking
them. See here: http://www.cezeo.com/tips-and-tricks/net-use-command/
0 new messages