Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3588 closed Bug (No Bug)

Strange behavior of RunAs()

Reported by: krstev@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


If I use RunAs() function to start a program, the program is started under credentials of user started a script and not depend on parameters provided to function.
Tested in versions:,,

In attachment:
Testing script: RunAsTest.au3
Helper script (compile to EXE): WhoAmi.au3


Attachments (1) (464 bytes) - added by krstev@… 6 years ago.
RunAsTest scripts

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by krstev@…

RunAsTest scripts

comment:1 Changed 6 years ago by krstev@…

RunAsWait() have same problem.
Tested in versions:,,

comment:2 Changed 6 years ago by krstev@…

I forget to mention environment of tests.
RunAs() was tested on Windows XP SP 32bit Czech ed., Windows 7 Pro 32bit Czech Ed., Windows 10 Home and Pro 64bit Czech locale.
RunAsWait() on W10 Home only.
Every scripts was started from SciTE and compiled to x86 target.


comment:3 Changed 6 years ago by Jos

  • Resolution set to No Bug
  • Status changed from new to closed

Please use the forum for support questions as I am not convinced this is a bug.


Last edited 6 years ago by Jos (previous) (diff)

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.