Elsinore

User Forum

www.screenconnect.com
Welcome Guest Search | Active Topics | Log In | Register

Tag as favorite
Remote connectivity via management software
Winxnet
#1 Posted : Monday, November 07, 2011 7:40:04 PM
Rank: Member
Joined: 11/7/2011
Posts: 10
Location: Maine USA
We are in the process of testing ScreenConnect and are very pleased so far. We use a MSP software that allows us to monitor our clients. It has an area where we can select how we wish to connect with our clients for remote support. Built in apps are Remote desktop, VNC, Remote Assistance, Putty etc. They also have a place for other. This is where we can define what type of software to connect with and outline the agruments ports etc that are needed to connect. Does ScreenConnect have this ability to be set up this way for our unattended clients that would be in our managed services groups.

This would turn the product into a slam dunk for us.
Jake Morgan
#2 Posted : Monday, November 07, 2011 7:50:18 PM
Rank: Administration
Joined: 4/9/2010
Posts: 871
Yes, but your unattended clients should be "tagged" in a way that your MSP software can pass in a tag and ScreenConnect can use that to connect. How are your unattended machines tagged now?
promptcare
#3 Posted : Tuesday, November 08, 2011 9:08:25 PM
Rank: Advanced Member
Joined: 9/15/2011
Posts: 78
Location: ON, Canada
Related: Is there a way that I can save the Host's shortcut to a client into a URL that I can save in my CRM software? I'd love to be able to look up a client's system, work history, etc. and be able to start an Unattended right from their contact page.
Jake Morgan
#4 Posted : Tuesday, November 08, 2011 10:05:11 PM
Rank: Administration
Joined: 4/9/2010
Posts: 871
There are lots of ways to do this with some customization, but no URL out-of-the-box can be passed to ScreenConnect and it auto-join as a host. It's a little tricky because IE won't really allow us to auto-launch downloads most of the time. It would be best to use our script from within your other web app. However, we've seen the ability to generate formed links from some of these other systems, and we may provide a good method of handling this in the future.

promptcare, what CRM system are you using? Does it have a way to "build" links automatically, or do you just want to save a link for each customer?
promptcare
#5 Posted : Wednesday, November 09, 2011 4:07:31 AM
Rank: Advanced Member
Joined: 9/15/2011
Posts: 78
Location: ON, Canada
Jake Morgan wrote:
promptcare, what CRM system are you using? Does it have a way to "build" links automatically, or do you just want to save a link for each customer?

It's not a full CRM; it's PCRepairTracker in which we can save URLs in fields so, yeah, it's just a saved link for each system.
Winxnet
#6 Posted : Wednesday, November 09, 2011 3:45:40 PM
Rank: Member
Joined: 11/7/2011
Posts: 10
Location: Maine USA
So the only way to set it up would to be able to add the custom URL to the MSP software argument?. Basically our MSP software allows us to launch a program over a port with agruments or tags to allow us to connect to the machine in question.
Jake Morgan
#7 Posted : Wednesday, November 09, 2011 4:01:09 PM
Rank: Administration
Joined: 4/9/2010
Posts: 871
You have a lot of options. If you can launch a program, you may want to call our host client directly with arguments. But you would need a script to call out to your ScreenConnect site to get the right arguments (like session ID and access token).

What information do you have in your MSP about the computer, and how does this correspond to the unattendeds in ScreenConnect? Do you have the computer name in your MSP software? Do you use the computer name to tag sessions in ScreenConnect?
promptcare
#8 Posted : Wednesday, November 16, 2011 7:22:47 PM
Rank: Advanced Member
Joined: 9/15/2011
Posts: 78
Location: ON, Canada
So, Jake, is there no option with a static URL? Assuming, for instance, that the URL is being launched from the same browser in which we're logged into SC as Host? What if I tend to keep a coded session ready that's always by the same name? e.g. A static session name such as "help"?
Jake Morgan
#9 Posted : Wednesday, November 16, 2011 9:38:55 PM
Rank: Administration
Joined: 4/9/2010
Posts: 871
There are some ways ... about 10 different ways to do it really. But nothing out of the box. And we'd like to offer something out of the box. Here is a way to join a session based on a tag with a ClickOnce browser:

Put this in your ScreenConnect directory and your sessions will be joinable through a URL like http://support.mycompany...MPUTERNAMECASESENSITIVE

For 2.3 and below it'll need to be modified. At least you'll have to remove the last argument "true" in the GetAccessToken call.

Code:

<%@ WebHandler Language="C#" Class="LaunchHostClient" %>

using System;
using System.Web;
using System.Collections.Generic;
using System.Linq;
using System.Configuration;
using Elsinore.ScreenConnect;

public class LaunchHostClient : Elsinore.ScreenConnect.SingletonHandler
{
    public override void ProcessRequest(HttpContext context)
    {
        Permissions.AssertPermission(new PermissionRequest { Name = PermissionInfo.JoinSessionPermission }, false);
       
        var tag = context.Request.QueryString["Tag"];
        var relayUri = ServerExtensions.GetRelayUri(ConfigurationManager.AppSettings, HttpContext.Current.Request.Url, true, true);

        using (var sessionManager = Elsinore.ScreenConnect.ServiceChannelPool<Elsinore.ScreenConnect.ISessionManagerChannel>.Instance.Borrow())
        {
            var sessionSummary = sessionManager.GetSessionSummaries().Where(ss => ss.Tag == tag).First();

            var clp = new ClientLaunchParameters();
            clp.Host = relayUri.Host;
            clp.Port = relayUri.Port;
            clp.SessionID = sessionSummary.SessionID;
            clp.ProcessType = ProcessType.Host;
            clp.EncryptionKey = ServerCryptoManager.Instance.PublicKey;
            clp.AccessToken = ServerCryptoManager.Instance.GetAccessToken(clp.SessionID, clp.ProcessType, context.User.Identity.Name, true);
            clp.ApplicationTitle = Resources.Default.Client_ApplicationTitle;
            clp.SessionTitle = sessionSummary.Tag;

            var url = new Uri(context.Request.Url, "Bin/Elsinore.ScreenConnect.HostClient.application" + ClientLaunchParameters.ToQueryString(clp));
            //context.Response.Write(url.AbsoluteUri);
            context.Response.AppendHeader("Refresh", "0; URL=" + url.AbsoluteUri);
        }
    }
}

File Attachment(s):
LaunchHostClient.ashx (2kb) downloaded 8 time(s).
promptcare
#10 Posted : Wednesday, November 16, 2011 11:17:10 PM
Rank: Advanced Member
Joined: 9/15/2011
Posts: 78
Location: ON, Canada
Nice!

Just tested it on my in-law's system (don't we all do tech for family, too?). Worked fine. I see it's case-sensitive but I'm assuming I'll need to adapt any odd characters? (I've got my residentials set up simply as "Smith, John", "Jones, Martha" and so on.) I'll need to turn spaces to %20 and so on?


Is there anyway to keep a non-unattended session in a URL form? I tend to stick to just one public one at a time (I don't do full-time remote)
http://support.mycompany...x?Tag=PUBLICSESSIONNAME ?
Users browsing this topic
Guest
Tag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.