🔧 Purpose
This configuration ensures that, whenever a kiosk PC boots or any user logs in:
-
Bitfocus Companion launches silently in the background.
-
A PowerShell automation script triggers a predefined Companion button (Page 1 → Button 1) that applies camera color/preset settings via the connected Blackmagic ATEM switcher.
Used in the CIS Lightboard Studio environment where the Blackmagic Micro Camera G2 and ATEM TV Studio HD settings must auto-apply on every login.
🧩 1. System Requirements
-
Windows 10 or 11
-
Bitfocus Companion v4.1.3 (installed to C:\Program Files\Companion\Companion.exe
)
-
PowerShell 5.1 (built-in)
-
Local admin rights for the initial setup
-
Folder: C:\Tools
(must exist and be readable by all users)
⚙️ 2. Files to Restore / Deploy
File (attached to article) |
Function |
Destination |
Fire_KickCameraControl.ps1 |
Waits for Companion HTTP API, then clicks Page 1 → Button 1 twice. |
C:\Tools\ |
Fire_KickCameraControl.vbs |
Launches the PowerShell script silently (hidden). |
C:\Tools\ |
Start_Companion_Hidden.vbs |
Starts Companion silently at logon. |
C:\Tools\ |
KickCameraControl.log |
Created automatically by the script for diagnostics. |
C:\Tools\ |
CompanionLightboard_Config.companionconfig
|
Saved Companion configuration (ATEM connection + button logic). |
Anywhere accessible (e.g., C:\Tools\ ) |
All scripts should be UTF-8 encoded with Windows line endings.
📁 3. Folder & Permissions
Run once as admin:
mkdir C:\Tools icacls "C:\Tools" /grant *S-1-5-32-545:(OI)(CI)(RX) /t
This grants read/execute access to all standard users.
🧭 4. Companion Installation & Configuration Import
-
Install Bitfocus Companion v4.1.3 (standard Windows installer).
-
Launch Companion once as administrator.
-
In the web interface (usually http://127.0.0.1:8000
or http://<PC IP>:8000
):
-
Go to Settings → Configuration → Import.
-
Choose the provided file (attached to this article):
CompanionLightboard_Config.companionconfig
-
Confirm overwrite when prompted.
-
Verify:
-
In Settings → General → Startup, ensure “Start with Windows” = Off.
(Companion will be launched by script instead.)
🚀 5. Startup Configuration (All Users)
Create two shortcuts in
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
(a) Hidden Companion Launch
Shortcut name: Start Companion Hidden.lnk
Target:
wscript.exe "C:\Tools\Start_Companion_Hidden.vbs"
(b) Auto-Macro Trigger
Shortcut name: Fire KickCameraControl.lnk
Target:
wscript.exe "C:\Tools\Fire_KickCameraControl.vbs"
Both shortcuts ensure Companion and the trigger script run for every user at login.
🧪 6. Verification Steps
-
Log in as a standard user.
-
Wait ~30 seconds after desktop load.
-
Check C:\Tools\KickCameraControl.log
— a successful run looks like:
Start Probe http://192.168.10.10:8000 -> True Companion base = http://192.168.10.10:8000 CLICK ... -> HTTP 200 Done (ok1=True, ok2=True)
-
Confirm cameras/ATEM show the expected color settings.
If you see “CLICK FAILED”, Companion likely wasn’t ready; the script retries automatically.
🔁 7. Quick Recovery Checklist
After any system wipe:
-
Install Bitfocus Companion v4.1.3.
-
Create C:\Tools
.
-
Copy the following files back in (attached):
-
Fire_KickCameraControl.ps1
-
Fire_KickCameraControl.vbs
-
Start_Companion_Hidden.vbs
-
CompanionConfig.companionconfig
-
Import the Companion configuration file (Section 4).
-
Verify HTTP API settings (port 8000 / bind 0.0.0.0).
-
Restore the two Startup shortcuts (Section 5).
-
Reboot once and confirm success in KickCameraControl.log
.