Modify

#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 Valik, on Sep 22, 2010 at 7:24:27 AM

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

comment:2 by Jon, on May 22, 2011 at 11:44:35 PM

Resolution: Wont Fix
Status: newclosed

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.