Modify ↓
Opened 15 years ago
Closed 15 years ago
#1771 closed Bug (Wont Fix)
Run*() failure for Elevated Processes with UAC
| Reported by: | Ascend4nt | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.6.1 | Severity: | None |
| Keywords: | Run UAC Elevated Process CreateProcess failure | Cc: |
Description
With Windows Vista+, when UAC is turned on, 'CreateProcess' will fail to run processes that require the user to interact with a UAC box.
For example, Run('regedit.exe') will fail, but ShellExecute('regedit.exe') will succeed.
The reason for this is explained @ MSDN here:
http://technet.microsoft.com/en-us/library/cc722422%28WS.10%29.aspx
It doesn't look like there is any easy workaround other than to use ShellExecute()? If that is so, perhaps this can be added to the AutoIt Help file? It would have saved me some time =)
Thanks
Attachments (0)
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
| Resolution: | → Wont Fix |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

I may address this in the future in a sensible way so I'm leaving the ticket open.