# NDI Bridge automation

An NDI Bridge executable can also be launched using the following command line arguments:

`/verbose`\
Generates extensive log entries in Windows Event Logs, with the event source labeled as "NDI Bridge."

`/host`\
Initiates Bridge in host mode.

`/join`\
Launches Bridge in join mode.

`/local`\
Starts Bridge in local mode.

`/autorun`\
Minimizes Bridge window upon startup.

`/noui`\
Suppresses the display of any user interface elements and prevents the creation of a taskbar icon.

For example, you can use /local /autorun to initiate the Bridge in local mode and minimize it. Similarly, `/local /noui` will start the Bridge in local mode without any user interface. If you use `/autostart` without specifying `/host`, `/join`, or `/local`, the Bridge will start in the last selected mode.

{% hint style="warning" %}
It's important to note that Bridge will not start with these flags if there is a configuration error, such as an invalid IP address for the remote address in the join mode while attempting to auto-start join.
{% endhint %}

If you prefer to configure Bridge using a configuration file, you can find the settings in `AppData\Local\NDI\Application.NDI.Bridge.UI\bridge_settings.json.`

Most setting names are self-explanatory, except for "selected\_tab," which serves as an index field to indicate the last selected tab (mode) the user used (0 = host, 1 = join, 2 = local).

All settings for each mode are present in the same file, so you may need to adjust your logic to target the correct settings for the appropriate mode (e.g., "host\_model," "local\_model," "join\_model").
