Modify ↓
Opened 15 years ago
Closed 15 years ago
#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 Changed 15 years ago by Valik
- Resolution set to Rejected
- Status changed from new to closed
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.
Note: See
TracTickets for help on using
tickets.
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.