/build/static/layout/Breadcrumb_cap_w.png

Have a user initiate a script

Hello I know this can be done but I can't remember how. Basically I have a few programs that require being run as an admin and I want to use the Kbox so I do not have to give the user admin rights. Basically I want to place an icon on the users desktop that when double clicked fires off a local program running as an admin. Am I right that this is something the Kbox can do?

Thanks

0 Comments   [ + ] Show comments

Answers (4)

Posted by: nshah 12 years ago
Red Belt
0
If you are just talking about copying a file down to the desktop then you can user File Synchronization under Distribution > File Synchronization.

You can also use the User Portal and make scripts available for your users to run. All they do is click on the button to execute and the agent runs the script and does the installation for them.
Posted by: tpr 12 years ago
2nd Degree Black Belt
0
Scout, NShah is right about making it available through the portal, but what programs are required to run as admin (as opposed to having to install as admin)? Is it possible to change the way the program is installed so it will run as a regular user? We had a program called zipgenius that wrote registry entries to HKCU that pointed to the administrator's local profile. I ran a post install regedit that pointed to a public folder instead, so that solved the problem without elevating rights post-install.

I realize that isn't a kbox solution per se, but I think in the long run it's better to have users run a program as themselves when possible.
Posted by: mpace 12 years ago
Red Belt
0
scout,

I would recommend trying out an Online Script to call your program's installer. You can define the script to run with pre-defined credentials (in your case, an account with local admin rights). You could then either schedule this script to run at a certain time or kick it off manually against targeted machines.

You could also create a batch script that has a runas command in it but that means storing your credentials in clear text. You probably don't want to do that [;)]
Posted by: jrscribner 12 years ago
Purple Belt
0
Scout,

CPAU is a tool from Joeware that lets you embed credentials in a file and call them later http://www.joeware.net/freetools/tools/cpau/index.htm I had several applications in the past that required admin privileges to run properly and I used CPAU to get around it, but these were Windows XP machines but it looks like it works with Windows 7 as well. tpr's suggestion at looking to see if you can change some permissions or file locations is also a great suggestion I've had several programs that changing permissions on registry keys or files have allowed the program to work without admin privileges.

Here's another tool that seems to be a little more up to date: http://www.bellamyjc.org/en/superexec.html
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ