Document toolboxDocument toolbox

Zeisberg GmbH

Automated WLAN connection

image-20240913-124240.png 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:

  1. 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.

  2. 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

Description

Screenshot

Run Task Scheduler

image-20240913-124030.png

Name the task and set it to run irrespeecive of user login.

Click on Triggers.

image-20240913-124538.png

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:

 

 

Gutenbergstrasse 39 * 72555 Metzingen

Achtung: Ausgedruckte gelenkte Dokumente sind nicht gültig!
Die gültige Fassung ist in Confluence abrufbar.