8 replies
by winterfrost
net use X: /d /yes
Will force drive letter disconnected even if files are in use.
by eraser3498
Heres a web page with the help of NET USE and, it does what you need...
by eraser3498
by eraser3498
by zaferus
Tough problem!
Windows officially doesn't support disconnecting a mapped drive with a process running (don't you know MS knows what's best for you?).
I'm not sure if you've tried a WSH script - but here is one that might help:
http://cis.stvincent.edu/wsh/disconnect.html
Couldn't find a utility to force this - but it may be hard for an app to get around an OS enforced rule.
I'm sure it's little consolation, but Linux supports something called "lazy" drive removal which will dismount a drive no matter what state it's in. Very useful!
by eraser3498
Poster rated this answer.
by eraser3498
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending