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
Thanks
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
nshah
12 years ago
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.
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
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.
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
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 [;)]
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
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
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.
so that the conversation will remain readable.