Opened 14 years ago

Closed 14 years ago

#1579 closed Feature Request (Rejected)

Get Admin privileges

Reported by: xrewndel <xrewndel@…> Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


Please make a function than can request admin privileges from any code point, not only when started, like #RequireAdmin

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

We can't, elevation only occurs at process creation time. Impersonation is not an option because impersonation is only available to already elevated processes (by default). Even elevated COM objects are implemented as out-of-process objects (thus the server process is elevated thus calls into that object are elevated). All other ideas would be clunky, slow, difficult to implement and dodgy at best.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.