troubledFish
asked on
Display Run As Dialog before launching certain applications
I'm building out a deployment image for the company I work for. I found a nice little reg "tweak" for lack of a better term, that adds Add/Remove Programs, Device Manage, and such to the My Computer Right-Click menu. (http://www.askvg.com/add-device-manager-control-panel-addremove-programs-options-in-my-computer-context-menu/)
Now since our end users do not have administrative privilages this shortcut is a bit useless because the IT support stuff would need to use runas from command line if they were out at an end users PC so its ultimately pointless.
Essentially all this reg "tweak" does is add something like "control appwiz.cpl" (for Add/Remove Programs) to the shell context menu of the My Computer CLASSES_ROOT. To add RunAs to exe files and such you just add something like "%1 %*" to the shell context menu. (http://geekharry.wordpress.com/2007/06/07/enabling-right-click-run-as-on-msi-packages/) is there a way to combine these two key values so when you click Device Manager from the My Computer context menu, you'll be prompted with the Run As Dialog.
Now since our end users do not have administrative privilages this shortcut is a bit useless because the IT support stuff would need to use runas from command line if they were out at an end users PC so its ultimately pointless.
Essentially all this reg "tweak" does is add something like "control appwiz.cpl" (for Add/Remove Programs) to the shell context menu of the My Computer CLASSES_ROOT. To add RunAs to exe files and such you just add something like "%1 %*" to the shell context menu. (http://geekharry.wordpress.com/2007/06/07/enabling-right-click-run-as-on-msi-packages/) is there a way to combine these two key values so when you click Device Manager from the My Computer context menu, you'll be prompted with the Run As Dialog.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hey well done that usefull to know
you can run a msi file as local by right clicking command from start menu/accesories and ten out the local or domain admin in the runas dialog and if you run the msi file in the command window it will run as admin even if the user is restricted