Ultimate MSFS and Add-on Auto-Launch Batch Script (PC Only)

Ultimate MSFS Auto-Launch Batch Script (With Admin & Service Control)

Hi everyone,

Like many of you, I have a specific routine of companion apps, tracker tools, and flight planning software that need to run whenever I launch MSFS. Rather than downloading another third-party utility or dealing with apps failing because they lacked admin rights, I put together a pure Windows 11 batch script that handles everything cleanly.

Unlike basic launchers, this script handles automatic administrator elevation and can even stop background Windows services (like the print spooler, which some of us disable to free up resources or prevent stuttering) before the sim fires up.

The Script (read batch, it’s self-explanatory)

Create a new text (batch) file, or just edit the attached zipped .bat file. Then customize your file paths in it to match your add-ons. Your add-on file paths are in shortcut properties if on your desktop.

For it to run cleanly, just time your sim launch from MSFS shortcut click to the blue START button. Then add that time plus 10 seconds in Step 3 to allow the sim the startup needed time.

Windows and Steam mods and paths (easy) are remarked in the file

When running, some addons will generate command line messages that simply blend with the batch progress lines. No problem at all.

Why don’t you use pastebin for sharing please? Link is going to a referal and no file there.

I like the idea, especially for the usual sim stack where you end up launching a planner, tracker and a few utilities every time. The one thing I’d be careful with is the admin/service-control part: I’d want the script visible as plain text first, and I probably wouldn’t run anything that stops Windows services unless I knew exactly what each line was doing. A GitHub gist or plain Pastebin-style link would make it a lot easier for people to review before using it.

I’ll take care of it tonight. Good idea!

(and now I know what PasteBin is :slight_smile:)

One important point. When the sim comes up to the START blue button, click it. You might want to add another 10 seconds to your MSFS delay in the script. Otherwise anything that relies on simconnect may time out (like Navigraph and GlassOut)

On that note, I moved SayIntentions to the end of the script to give it breathing room.