Jump to content

Killing All Netwok Connections

Recommended Posts

I am writing a script to back up files on my server. Does anyone know of away to drop all network connections so that I can be sure no one is useing any of the files before i back them up. Even a command line program should be fine.

I have tried useing "net sessions /delete" but it requires you to hit y and then enter and "echo y|net sessions /delete" does not work.

Any ideas/suggestions would be appreciated.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...