Yes. You can make a script that logs in to the WiFi in the background triggered by connecting to the WiFi.
First, get the version of lynx - a text based browser - with SSL support. Next, generate a cmd_args
script file by logging in to the WiFi with lynx once, and logging the input. Do this by calling lynx with the following argument:
lynx.exe -cmd_log=%USERPROFILE%\lynxlog.txt`
Then you can rename that file and call lynx with it as an argument to reproduce the keystrokes:
lynx.exe -cmd_args=FILENAME_HERE
Put this in a batch file. (Either use the full path to the lynx executable or set that path in the PATH environment variable.)
Next bundle those two files with iexpress.exe
, with all options optimized for running hidden in the background.
Next, make a scheduled task triggered by event id 10000
in source NetworkProfile
of log Microsoft-Windows-NetworkProfile/Operational
which calls the bundled executable:

Also, make sure the scheduled task is set to run even if the user isn't logged on. Once you authorize that, it should have the desired effect of logging in to the WiFi automatically without any user input.
Source: My article on How to Automate Captive Portal Login.