Elsinore

User Forum

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

Tag as favorite
Start from Toolbox with parameters? And running tools as Admin
promptcare
#1 Posted : Thursday, October 20, 2011 6:24:43 PM
Rank: Advanced Member
Joined: 9/15/2011
Posts: 78
Location: ON, Canada
I've got a handful of tools that I would like to be able to run with command line parameters attached to them, most notably, some of the Sysinternals programs which allow for /acceptEULA, others for passing on drive letters, and such.

I could cobble together an AutoIt script that would drop the program onto the client's system and then start it with parameters but that doesn't help the average SC user.




Another thing I'd like to be able to do is automatically run a Tool as Admin. My first thought would be either tools in a specific folder or renamed to start with a specific character so that any file starting with, say, "&" would be sent to the client with Admin authorities.
Jeff Bishop
#2 Posted : Thursday, January 19, 2012 7:25:23 PM
Rank: Administration
Joined: 4/14/2010
Posts: 140
Location: Raleigh, NC
Your right a lot of users would not know how to do this. If you have scripts or tools you are using I'm sure they would love to see what you have done. On our end we are looking at ways to improve access to sessions and the toolbox. I am going to copy/paste your post directly into the ticket and see what our developers can come up with....Thanks!
ScreenConnect Team
promptcare
#3 Posted : Friday, January 20, 2012 2:15:01 AM
Rank: Advanced Member
Joined: 9/15/2011
Posts: 78
Location: ON, Canada
Well, in AutoIt, it could be a script as simple as:

FileInstall("c:\tools\df.exe", "c:\support\df.exe") ;pack the file into the compiled exe and drop it to the Support folder on customer's system
Run("c:\support\df.exe c: /qd") ;run a quick defrag using Piriform's defraggler on the C drive


As for running as Admin, to be honest, I'm surprised that every app doesn't _already_ run with privileges. If I run a batch file as Admin, every program that it starts gets the same authority. If SC is running as a service.... ?
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.