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.
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.
net stop server would prevent 'any' connections...are you looking to stop this share only?
ASKER
yes, I am looking at to stop this share only.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.