Opened 16 years ago

Closed 16 years ago

#360 closed Bug (Fixed)

RunAs() function not working on Windows 2000

Reported by: CleM71 Owned by: Valik
Milestone: Component: AutoIt
Version: Severity: None
Keywords: RunAs RunAsWait Windows 2000 Cc:



I try to use the RunAs() and RunAsWait() functions on Windows 2000.

RunAs("myaccount", "mydomain", "mypassword", 1, "cmd.exe", @SystemDir, @SW_SHOW)

It works on Windows XP, it don't on Windows 2000.

RunAs() returns 0

@error returns 1

@extended returns 1314

Someone encountered the same issue, see :

Thank you in advance.

Attachments (0)

Change History (4)

comment:1 Changed 16 years ago by CleM71

I tried the same thing on the beta version.

I am getting the same issue.

comment:2 Changed 16 years ago by ScottS

Also having this issue.

comment:3 Changed 16 years ago by Valik

  • Owner set to Valik
  • Status changed from new to accepted

Hmm. I smell MSDN lies again. Assuming you are running as an administrative user, you should not go into any code that differs noticeably from the previous RunAsSet() stuff.

I'll try and get Windows 2000 up and running to take a look.

comment:4 Changed 16 years ago by Valik

  • Milestone set to
  • Resolution set to Fixed
  • Status changed from accepted to closed

Fixed in version:

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 owner will remain Valik.

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

Note: See TracTickets for help on using tickets.