JoshuaBarnette Posted January 12, 2012 Posted January 12, 2012 I need to elevate certain applications, when launched, to run with an elevated (administrator level) security token. The token swap can happen on the fly or as an application wrapper.I have looked at several applications and find them ok, one even stands out above the rest, however my company is in extreme cost savings and are unable/unwilling to spend the money.I have seen Functions such as _Security__CreateProcessWithToken and _Security__AdjustTokenPrivileges, but I am still relatively new to AutoIT and am not sure how to utilize some of the advanced features.I appreciate any help. Thanks,Joshua Barnette
JohnOne Posted January 12, 2012 Posted January 12, 2012 Not certain of what you are asking but you can take a look Also take a look as RunAs() native function. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
JoshuaBarnette Posted January 13, 2012 Author Posted January 13, 2012 (edited) John, I appreciate the quick response I have seen that posting when searching for a solution before I posted the question. That seems to deal with UAC and those permissions versus actually passing an elevated token, which would give the process admin rights even if the logged on account doesn't have them. Something that may help is to take a look at ViewFinity Privilege Management or BeyondTrust PowerBroker Desktops. Thanks Again. Edited January 13, 2012 by Melba23 URLs removed
Moderators Melba23 Posted January 13, 2012 Moderators Posted January 13, 2012 JoshuaBarnette, You can look at them all you like, but advertising them here is not permitted. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
JoshuaBarnette Posted January 13, 2012 Author Posted January 13, 2012 I apologize if you think I was advertising, I was not intending to, only to show the functionality I was looking for.
Moderators Melba23 Posted January 13, 2012 Moderators Posted January 13, 2012 JoshuaBarnette, No problem. It just looked as if you were,. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
JoshuaBarnette Posted January 13, 2012 Author Posted January 13, 2012 As a side note, I use your "RecFileListToArray" on a near daily basis, it is a fabulous bit of code.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now