Modify ↓
Opened 16 years ago
Closed 16 years ago
#1579 closed Feature Request (Rejected)
Get Admin privileges
| Reported by: | 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)
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.