EliasL Posted October 11 Posted October 11 Hi everybody I'm trying to write a script that uses #RequireAdmin but i want to run it at the startup without asking for user intervention as UAC does. My question is: is there a way to achieve this in AutoIT? if so please provide me with instructions. thank you!!!
EliasL Posted October 12 Author Posted October 12 1 hour ago, Somerset said: You need better explanation that this. Why it's so simple I want to run a script with Admin Priviligies and not be botter of the UAC
EliasL Posted October 12 Author Posted October 12 7 minutes ago, paw said: Task Scheduler and check Run with highest privileges I need an automatic way in AutoIT, Thanks!
argumentum Posted October 12 Posted October 12 (edited) 4 hours ago, EliasL said: Why it's so simple I want to run a script with Admin Priviligies and not be botter of the UAC 4 hours ago, EliasL said: I need an automatic way in AutoIT, Thanks! Ok, I'll give you the code because.... is already there. Look in CV - ControlViewer(mod) and take it. Just take the code and say that I, "the best copy and paste coder in the world and surrounding planets", gave it to you The only caveat is that at some point, someone will have to click "ok" to the initial elevation ( once ). Is that a deal braker for your needs ? Edited October 12 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Moderators Melba23 Posted Sunday at 08:03 AM Moderators Posted Sunday at 08:03 AM EliasL, Locked - we do not help bypass security measures - as explained in the forum rules. Please read them before you post again. 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
Recommended Posts