Link to home
Start Free TrialLog in
Avatar of fshguo
fshguo

asked on

force disconnection on a shared folder

Hi...we need to update numerous of files under a shared folder in a windows 2000 server, since these files are accessed by an application which is running on the client side, that causes the updating process failed due to some of the files are locked.

I know net file or net session can be used to force  the disconnection.  but how about automating the process by creating the VBScript job? any sample available?

Alternatlively, would stop the file share do the same work on the fly?

Regards,
fshguo.
 
Avatar of sirbounty
sirbounty
Flag of United States of America image

net stop server would prevent 'any' connections...are you looking to stop this share only?
Avatar of fshguo
fshguo

ASKER

yes, I am looking at to stop this share only.
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial