Aesirkin Posted August 22, 2022 Share Posted August 22, 2022 Is there a correct way to shut down a public server via command prompt on Windows? I can do a net stop or taskkill, but I'm concerned about the effect of doing that if users are still connected. Link to comment Share on other sites More sharing options...
SylenThunder Posted August 22, 2022 Share Posted August 22, 2022 You will want to use a 3rd Party server manager. There is a Pinned thread in this very section regarding them. Link to comment Share on other sites More sharing options...
Aesirkin Posted August 23, 2022 Author Share Posted August 23, 2022 Thanks. I considered that option. However, I'm familiar and comfortable with batch files, and I was hoping to avoid adding any unnecessary software to the server as every time I add something it drops my benchmarks noticeably. So I figured if it's possible to do at the command line I'd try that route first. Link to comment Share on other sites More sharing options...
meganoth Posted August 23, 2022 Share Posted August 23, 2022 taskkill is definitely the wrong way IMHO. I use the "expect" tool on linux to connect to the telnet port and issue the shutdown command there. It seems there are equivalent tools to "expect" for windows as well, search for "expect windows" Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now