Jump to content

Graceful Shutdown of Dedicated Server from W10 Command Line


MBCB

Recommended Posts

Trying to figure out a way to run a windows batch script to gracefully shut down a dedicated server running on Windows 10.  The best I've found is running 'taskkill /im 7DaysToDieServer.exe'

 

That seems to kick off the process, but the Server Console pops up with a "Really shut down..." pop up and waits for you to click Yes.

 

I know I could throw a /f in the taskkill command to force the shutdown, but I'm worried about corrupting something in the server world if I do that.

 

Any thoughts?

Link to comment
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
×
×
  • Create New...