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 Asset management/replacement
by  RC62N   Go to last post Go to first unread
Last post: 2/26/2021 6:30:22 PM(UTC)
Lansweeper Turn off graphical report builder
by  Tenacious   Go to last post Go to first unread
Last post: 2/23/2021 7:53:03 PM(UTC)
Report Center Reference software list
by  DeviantTomato   Go to last post Go to first unread
Last post: 2/23/2021 1:16:48 PM(UTC)
Lansweeper Report Filtering Uptime
by  CyberCitizen  
Go to last post Go to first unread
Last post: 2/22/2021 12:28:22 AM(UTC)
Lansweeper Adobe Report for CVE-2021-21017
by  baycrest   Go to last post Go to first unread
Last post: 2/10/2021 2:27:57 PM(UTC)
Lansweeper Need help with two reports
by  Andy.S  
Go to last post Go to first unread
Last post: 2/10/2021 10:15:42 AM(UTC)