How do I properly setup an auto-starting server on Windows Server?

I have been having a difficult time configuring the Minecraft server to start with Windows. Here’s the situation:

I have a Windows Server 2008 hosted at GoDaddy which I use for my web development and such. It has really powerful hardware which most of the time is not utilized (Core 2 Quad @2.5Ghz, 8GB RAM, etc). I have had the server configured to restart automatically every night at 2AM just to keep it refreshed. Well, I spent hours trying different ways to configure the Minecraft server to startup after the computer boots, but I’ve had no luck and finally gave up. The server hasn’t been restarted in like a month thanks to that…

So, I ask for any assistance on how I can configure a scheduled task that will startup the Minecraft server after boot.

Answer

It generally doesn’t work that great, but you can define you own services. You will need to figure out some way to make sure the service performs a save.

How To Create a User-Defined Service

From SF see these questions.

Create a schedule task that runs at boot

If all else fails, you may have to do as Corey suggests. Configure your server to auto-login as some account, and just place a shortcut in the startup group.

Attribution
Source : Link , Question Author : Gup3rSuR4c , Answer Author : Community

Leave a Comment