Modify

Opened 9 years ago

Closed 8 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 Changed 9 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 8 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

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.