Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Autostart Autohotkey as Administrator


  • Please log in to reply
17 replies to this topic
Lexikos
  • Administrators
  • 9844 posts
  • AutoHotkey Foundation
  • Last active:
  • Joined: 17 Oct 2006

Once you click the shortcut the UAC will ask you to confirm that you want to run this with administrator rights.

From the very first post, this thread (more than 2 years old) seemed to be about avoiding the UAC prompt.

These links may be of use to anyone visiting this topic:
Enable interaction with administrative programs - AutoHotkey Community
Make Vista launch UAC restricted programs at startup with Task Scheduler | TechRepublic
Run UAC restricted programs without the UAC prompt | TechRepublic

b0dhikey
  • Members
  • 44 posts
  • Last active: Nov 06 2015 02:43 AM
  • Joined: 26 Jan 2014

Wow no thank you by people? This guy solved the OP's question: run an app without UAC prompt while leaving UAC enabled.
(read that again)

I can confirm that Task Scheduler is the right way to go guys.
Only problem is that each AHK/EXE must be added through task scheduler.

From the very first post, this thread (more than 2 years old) seemed to be about avoiding the UAC prompt.

These links may be of use to anyone visiting this topic:
Enable interaction with administrative programs - AutoHotkey Community
Make Vista launch UAC restricted programs at startup with Task Scheduler | TechRepublic
Run UAC restricted programs without the UAC prompt | TechRepublic



yrtsh
  • Members
  • 13 posts
  • Last active: Apr 10 2018 09:21 AM
  • Joined: 11 Feb 2015

 robert_ilbrink solution is perfect (just create a shortcut and run it as admin)