Elsinore

User Forum

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

Tag as favorite
Run programs upon connection...
Guest
#1 Posted : Friday, September 02, 2011 7:10:23 PM
Rank: Guest
Joined: 4/9/2010
Posts: 328
Hi folks

We need to collect and forward system information (either MSINFO32 or WinAudit) data to a remote location upon remote connection; but does SC expose any current session information which we can use to identify the machine from which it originates?

For example, we want to call

winaudit.exe /params SC_session_id

... and need to populate the SC_session_id parameter.

In an ideal world, is it possible to build a plugin to fire the program (or list of programs) on load? If so, do you have any examples of this? I've seen the host plugin demo, but some of the logic already appears outdated.

Thanks
Jake Morgan
#2 Posted : Friday, September 02, 2011 7:51:45 PM
Rank: Administration
Joined: 4/9/2010
Posts: 871
We don't really expose any session information, but we don't do much else to support this either. We don't provide an option to launch something on connection. We don't provide an option to provide a parameter to an app.

The plugin stuff shouldn't be outdated.

If you're willing to launch it manually by clicking on an item in the toolbox after connection, you may be able to build an iexpress package that has a script. The script could look at the parent process (screenconnect) and get it's command line, then you could parse out the session ID or whatever else you need.
promptcare
#3 Posted : Thursday, September 15, 2011 1:18:42 AM
Rank: Advanced Member
Joined: 9/15/2011
Posts: 78
Location: ON, Canada
What about adding a program like Sysinternals' "BGinfo" to your toolbox.
There's also "Desktop Info" found at http://www.glenn.delahoy.com/software/ which is fairly configurable.


That said, it would be nice upon connection being established if we could have, say, an autorun.inf in our Toolbox and the software would autostart the file specified in the Inf.
bigdessert
#4 Posted : Thursday, September 15, 2011 1:41:04 AM
Rank: Advanced Member
Joined: 9/14/2010
Posts: 460
Location: Minnesota
Jake Morgan wrote:
We don't really expose any session information, but we don't do much else to support this either. We don't provide an option to launch something on connection. We don't provide an option to provide a parameter to an app.

The plugin stuff shouldn't be outdated.

If you're willing to launch it manually by clicking on an item in the toolbox after connection, you may be able to build an iexpress package that has a script. The script could look at the parent process (screenconnect) and get it's command line, then you could parse out the session ID or whatever else you need.


This is what I would do, create a vbscript file that can extract the id, then launch your winaudit.exe file with that variable. I would package it all in iexpress package for a one click run.
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.