UT99 Server - Stop and Start .bat examples - Windows

View Server Activity

All information regarding our UT99 server. Plus General discussion related to the game.
User avatar
Site Admin
Site Admin
Posts: 1485
Joined: Thu Aug 25, 2005 12:00 am
Location: New York

UT99 Server - Stop and Start .bat examples - Windows

Postby MattMan » Wed Apr 21, 2021 9:48 pm

The server start .bat is easy but it took me a bit to figure out how to do a server stop .bat so I thought I would post it here just incase anyone else might need it. Not to mention I'll forget how to do this at some point so I'm really only documenting this for my own greed. :D


Server Start Example - Im my example I have the server on E: drive

@Echo Off
Echo Running Unreal Tournament Server instance uts1
Title UT99server
cd \UnrealTournamentServer\System
ucc server DM-!!{dFb}!!IronMan.unr?game=Botpack.DeathMatchPlus?mutator=MapVoteLA13.BDBMapVote ini=UnrealTournament.ini -log=server.log
copy server.log servercrash.log
goto top


Server Stop Example
@Echo Off
taskkill /fi "Windowtitle eq UT99server" /im cmd.exe

By giving the start .bat a title name your able to use taskkill in the stop .bat and have it look for the title name, in this case UT99server and then it kills the cmd window with that name.


You can even restart the server by doing something like this

@Echo Off
taskkill /fi /im UCC.exe

You have to have the :top and goto top in the start .bat file or this will not work. Seems weird to taskkill to restart but it works. :D

Return to “Unreal Tournament 99”

Who is online

Users browsing this forum: No registered users and 2 guests