Muppet007 Posted July 9 Posted July 9 Hi all, I'm trying to get DServer.exe to automatically load a my server.sds file using a batch script. Running Windows Server 2022, using Task Scheduler to restart other dedicated servers once per day. The scheduled task force kills the running server process and starts it again mainly to avoid memory leaks or performance degradation over time. Here’s a working example of how I launch other game servers using a batch. @echo off echo Stopping DServer... taskkill /F /IM DServer.exe 2>nul echo Starting DServer... start "" "C:\Program Files\IL-2 Sturmovik Great Battles\bin\game\DServer.exe" This launches the DServer GUI fine, but it doesn't automatically load the .sds file. I haven’t been able to find any documented command line switch or config setting that forces DServer to load and start the server.sds automatically. Any insight or workaround other than Rcon would be appreciated. Thanks in advance!
-DED-Zlodey Posted July 10 Posted July 10 Push-Location "F:\Il2\bin\game" & .\DServer.exe "F:\Il2\data\Multiplayer\zlodey.sds" Pop-Location ☝️powershell You can create a shortcut. In the "Object" field, add the path to your SDS file. And run it through a shortcut @echo off start "" "C:\Users\Zlodey\Desktop\Start_dserver.lnk"
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