Following procedure achieves an automated connection to Merlin WLAN on Windows(R).
Copy the following script to your PC, we assume
C:\Zeisberg\merlinconnect.cmd
as path.
Download provided for convenience (Windows 10):
Download provided for convenience (Windows 11):
Add a task to the scheduler as shown below
Make sure to complete these two tests successfully after installation:
Run the script in a command shell while the PC is not connected to Merlin
➡️ The script must announce that it connects to WLAN now.Run the script in a command shell while the PC is connected to Merlin.
➡️ The script must inform that the PC is already connected to Merlin.
The two variants of the script provided for download use different mechanisms to identify, if the PC is already connected to Merlin. Make sure to use the script variant that successfully detects an existing Merlin WLAN connection.
Description | Screenshot |
---|---|
Run Task Scheduler | |
Name the task and set it to run irrespeecive of user login. Click on Triggers. | |
Add trigger for “At startup”. Click OK | |
Add trigger to repeat task daily every 5 minutes. Note: the script doesn’t draw a lot of performance. This scheduled execution ensures, that the connection to Merlin is made irrespective of the sequence in which PC and Merlin are booted. Click OK | |
Click on Actions | |
Add action to start a programm. Enter the path to the script. Pass the name of the WLAN to the script as parameter. Note: The WLAN must be connected once manually to create a corresponding WLAN profile in Windows. See Merlin WLAN Koppelung for details on how to do that. |
In Task Scheduler, click on Task Scheduler Library to edit or delete the task: