Opened 13 years ago

Closed 13 years ago

#1771 closed Bug (Wont Fix)

Run*() failure for Elevated Processes with UAC

Reported by: Ascend4nt Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Run UAC Elevated Process CreateProcess failure Cc:


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:

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 =)


Attachments (0)

Change History (2)

comment:1 Changed 13 years ago by Valik

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

comment:2 Changed 13 years ago by Jon

  • Resolution set to Wont Fix
  • 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.

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.