Hi I’m looking to have battle.net start at login but silently and minimized, like Steam does with the launch flags -nogui -silent etc…
Time to perform some necromancy on this thread. Hope it helps someone.
TLDR:
The command line argument you are looking for is:
--autostarted
combined with
Settings -> App -> Startup -> Launch Battle.net minimized to the system tray
Rambling:
I was trying to solve the same issue on Linux with Lutris.
Battle.net launcher uses the windows registry for autostarting, specifically:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
key name: Battle.net
The path found in the command included one command line argument --autostarted
I just added that to my Lutris config for the Battle.net launcher and it worked.
My speculation:
The argument tells the Battle.net client that it was started via some auto-start mechanism, hence the name. And only if this argument is provided will Battle.net launcher respect the “Launch Battle.net minimized to the system tray” option in:
Settings → App → Startup → Under: Launch Battle.net when I start my computer.
P.S.
Not sure how well this workaround would work on windows, since enabling Launch Battle.net when I start my computer
seems to create the registry entry mentioned earlier and if you end up using 2 separate ways of starting but the wirst one still pop-up the Launcher or you get 2 instances of the Launcher if that option is enabled. Well, good luck finding out if that’s your use-case
Dude… this works like a charm. Thank you so much for providing a solution to an issue that has been bugging me for years now.
So… right-click on you battle.net icon, select Properties and add the --autostart argument to “Start in” to make it look like this:
"C:\Program Files (x86)\Battle.net\Battle.net Launcher.exe" --autostarted
Then open the Battle.net “App” settings, and under “Startup” check “Launch Battle.net when I start my computer”, then check “Launch Battle.net minimized to system tray”, and then uncheck “Launch Battle.net when I start my computer” ´, you will see that “Launch Battle.net minimized to system tray” stays checked but grayed out.
Now it works! You just get a short glimpse of the login window but then it starts minimized.
Cheers again!