Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disconnect users from shared files from the command line

Status
Not open for further replies.

nhidalgo

MIS
Jun 13, 2001
619
US
Is it possible to disconnect users from shared files from the command line. i know you can go into computer management and do it but i would like to schedule and batch this process.

Nick
 
If I'm not mistaken the correct command is:
net file (file ID) /close
If this doesn't work try the net file help command:
net file /?
Hope this helps!
 
you can disconnect evrybody using the server by using the command "net sessions /delete"
or you can work around with specific computers by using their computer names ex. net sessions \\computername /delete
that will disconnect that particular computer from the server. A+, MCP, CCNA
marbinpr@hotmail.com

Keep fighting for your knowledge!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top