Tip - Launch Broadcaster from Stream Deck & "bypass" UAC

This little tip will show you how you can launch Broadcaster and skip the UAC prompt that shows after. This means you can launch it from your Stream Deck and not need to press yes on the prompt.

Step 1 - Start the Task Scheduler

Log in with a user that as administrator permissions. Then, run the Task Scheduler . You can do this by pressing the windows key and typing “Task Scheduler” or click in the type to search in the task bar

Step 2 - Create a scheduled task for the XSplit Broadcaster

In the Task Scheduler window, click “Create Task” in the Actions column on the right. The Create Task window is shown.

In the General tab of the Create Task window, type a name for your task in the Name field. Make it something short and easy to remember such as “XSplit Broadcaster”. You need the task name later, so remember it. Then, make sure to check the box that says " Run with highest privileges" so that the task is run with administrative permissions. Then, use the “Configure for” drop-down list to select the version of Windows that you are using. In our case, it is Windows 10.

image

Next, go to the Actions tab in the Create Task window. There, click the New button, to set an action that is performed by the task. The New Action window is shown.

image

Click Browse and choose the path to XSplit Broadcaster which can be found in the C:\Program Files (x86)\SplitmediaLabs\XSplit Broadcaster\x64 folder. Select XSplit.Core.exe. After you select the file, press Open.

You are back to the New Action window. Here you see the path towards XSplit Broadcaster. Press OK.

image

Go to the Settings tab in the Create Task window. Here make sure that the option “Allow task to be run on demand” is checked. This ensures that when you double-click on the shortcut that you create at the next step, the task is run. Also, on the bottom, choose " Do not start a new instance" if the task is already running. Click OK.

image

Step 3 - Create a shortcut for the scheduled Task

Right click your desktop and go to New > Shortcut.

image

In the “Type the location of the item” field, type: schtasks.exe /run /tn “Task Name” . Task Name needs to be the actual name of the task. In our case, we typed: schtasks.exe /run /tn “XSplit Broadcaster”. Then, press Next.

image

Type a name for your Shortcut and press Finish.

image

Step 4 - Launch Broadcaster using Stream Deck (Optional)

Now we have a shortcut we can launch to “bypass” UAC, lets add it in to our Stream Deck so we can launch it. In the Stream Deck software, add a new “Open” button which can be found under the System category. Then click the ... button, navigate and choose the shortcut we just created.

Now, pressing this button should launch XSplit Broadcaster without needing to see the UAC prompt.

Thanks to CyrilG on Discord for this one.

Content Taken from https://www.digitalcitizen.life/use-task-scheduler-launch-programs-without-uac-prompts