Scripting Sound Output in Splashtop

Scripting Sound Output in Splashtop

One of the most frustrating default settings in Splashtop, the remote access agent used in Atera, is that when you connect to a remote system the sound output is carried over to the computer you're connecting from. Which means whatever music they're listening to, phone call they're on with the softphone, etc. starts streaming through the tech's computer instead of the user's. The setting can be changed, but only on the remote PC as it's configured through the Splashtop Streamer.

Registry keys to the rescue!

If assumed for as long as I've used Splashtop that the settings were stored in the registry, but didn't bother looking at what the key might be... until today. Below is a script to set the Registry key for sound output to whichever of the 3 options you want:

  • 1 - Output sound over the remote connection only (tech's computer, default)
  • 2 - Output sound on this computer onlye (user's computer)
  • 3 - Output sound over the remote connection and on this PC
$AutoMuteValue = 2

if (Test-Path -Path "HKLM:\SOFTWARE\WOW6432Node\Splashtop Inc.\Splashtop Remote Server") {
    New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\Splashtop Inc.\Splashtop Remote Server" `
        -Name AutoMute -PropertyType DWord -Value $AutoMuteValue -Force
} else {
    New-ItemProperty -Path "HKLM:\SOFTWARE\Splashtop Inc.\Splashtop Remote Server" `
        -Name AutoMute -PropertyType DWord -Value $AutoMuteValue -Force
}

Restart-Service -Name SplashtopRemoteService

The script above sets the reg key based on which architecture you're on. Change the AutoMuteValue variable to one of the settings in the list above and you're ready to fly.