Configure OBS Profile Switcher for Network Adapters
This article explains how to configure OBS Studio to automatically switch profiles when connecting to a secondary network adapter. By utilizing a custom PowerShell launch script, you can ensure that OBS Studio automatically detects your active network connection and loads the correct profile with your dedicated streaming settings, bitrate, and IP binding.
Step 1: Create Your OBS Profiles
Before automating the switch, you must set up the individual profiles in OBS Studio.
- Open OBS Studio.
- Go to the top menu and select Profile >
New. Name this profile
Default Profile. - Configure your default streaming settings. Go to Settings > Advanced > Network. Under Bind to IP, select your primary network connection (or leave it as Default). Click Apply.
- Go to Profile > New again and
create a second profile named
Secondary Network Profile. - Under Settings > Advanced > Network, change the Bind to IP option to the specific IP address of your secondary network adapter. Click Apply and close OBS.
Step 2: Identify your Network Adapter Name
To allow the automation script to detect your secondary network, you need the exact name of your network adapter.
- Right-click the Windows Start button and select PowerShell (or Terminal).
- Type
Get-NetAdapterand press Enter. - Locate your secondary network adapter in the list and note its exact name under the Name column (e.g., Ethernet 2 or Wi-Fi 2).
Step 3: Create the PowerShell Automation Script
Because OBS Studio does not natively detect network changes on the fly, a PowerShell script is the most reliable way to check your network status and launch OBS with the correct profile parameters.
- Open Notepad on your computer.
- Copy and paste the following script into the document:
# Define adapter name and OBS profile names
$adapterName = "Your Secondary Adapter Name"
$secondaryProfile = "Secondary Network Profile"
$defaultProfile = "Default Profile"
# Path to your OBS executable
$obsPath = "C:\Program Files\obs-studio\bin\64bit\obs64.exe"
$obsDir = "C:\Program Files\obs-studio\bin\64bit\"
# Check the status of the secondary adapter
$adapter = Get-NetAdapter -Name $adapterName -ErrorAction SilentlyContinue
if ($adapter -and $adapter.Status -eq "Up") {
# Launch OBS with the secondary network profile
Start-Process -FilePath $obsPath -WorkingDirectory $obsDir -ArgumentList "--profile `"$secondaryProfile`""
} else {
# Launch OBS with the default profile
Start-Process -FilePath $obsPath -WorkingDirectory $obsDir -ArgumentList "--profile `"$defaultProfile`""
}- Replace
"Your Secondary Adapter Name"with the adapter name you found in Step 2. - Save the file. When saving, change the “Save as type” dropdown to
All Files (.) and name the file
launch-obs.ps1.
Step 4: Run the Script
To launch OBS using your new automated rule, you can run the script directly through PowerShell.
Right-click the launch-obs.ps1 file and select
Run with PowerShell. The script will instantly query
your network hardware, determine if your secondary adapter is active,
and launch OBS Studio with the matching profile and network binding
automatically configured.