Notification

Icon
Error

Connect to computer using Spashtop Business

Posted: Friday, January 29, 2021 5:00:29 PM(UTC)
TapeDeck

TapeDeck

Member Original PosterPosts: 2
0
Like
We're still in the trial phase of Lansweeper, but I wanted to see if it was possible to integrate Splashtop into the custom actions. Splashtop has limited documentation on how to connect via a command/shortcut, but I was able to adapt it to work in Lansweeper. NOTE that this custom action works only for assets that have Splashtop Streamer installed, and the computer you're using to access LanSweeper is Windows and has the Splashtop Business client installed.

It turns out that the "account" part of the URL isn't needed if your Splashtop client is already logged in, I suspect it would be useful if you have multiple Splashtop accounts signed into a client - for example, I have my Work Splashtop acccount, and my personal one - and I can switch between them in the File menu. If you don't provide the Account parameter, I suspect it just assumes that the computer you're connecting to is in the account you're logged into.

Now, onto the custom action itself:

Quote:
powershell.exe -noprofile -windowstyle hidden "$mac = '{mac}' -replace ':', ''; start-process $('st-business://com.splashtop.business?mac=' + $mac)"


The trickiest part of this was making the MAC Address that Lansweeper gives you work with what Splashtop expects (no colons). I ended up using a couple lines of Powershell to manipulate the string and then call the URL. MAC also appears to be the only valid parameter besides Account, I tried to brute force some other way to use the hostname or asset tag or something - no dice.

I figure this could probably be re-written to work in MacOS or Linux terminals using their own string manipulation features. If anyone has any ideas on how to make this cross-OS compatible, I'm all ears!

Active Discussions

Lansweeper Adding computer type to Windows 10 report
by  Brandon   Go to last post Go to first unread
Last post: Yesterday at 6:38:45 PM(UTC)
Report Center Hardware Inventory
by  Cori  
Go to last post Go to first unread
Last post: 4/16/2021 4:05:02 PM(UTC)
Lansweeper Windows Activation
by  Hendrik.VE   Go to last post Go to first unread
Last post: 4/16/2021 4:01:47 PM(UTC)
Lansweeper Microsoft True Up: Licenses combined with AD
by  swaelti   Go to last post Go to first unread
Last post: 4/15/2021 12:25:41 PM(UTC)
Lansweeper Cisco Duo and associated registry keys
by  dhoward  
Go to last post Go to first unread
Last post: 4/15/2021 12:30:14 AM(UTC)
Lansweeper Calls closed within SLA
by  TimHolmes1973  
Go to last post Go to first unread
Last post: 4/13/2021 5:25:38 PM(UTC)