Modify

#1579 closed Feature Request (Rejected)

Get Admin privileges

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

Description

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 by Valik, on Apr 20, 2010 at 3:32:43 PM

Resolution: Rejected
Status: newclosed

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.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.