Opened 18 years ago
Closed 18 years ago
#360 closed Bug (Fixed)
RunAs() function not working on Windows 2000
| Reported by: | CleM71 | Owned by: | Valik |
|---|---|---|---|
| Milestone: | 3.2.13.1 | Component: | AutoIt |
| Version: | 3.2.12.0 | Severity: | None |
| Keywords: | RunAs RunAsWait Windows 2000 | Cc: |
Description
Hi,
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 :
http://www.autoitscript.com/forum/index.php?showtopic=72863
Thank you in advance.
Attachments (0)
Change History (4)
comment:1 by , 18 years ago
comment:3 by , 18 years ago
| Owner: | set to |
|---|---|
| Status: | new → 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 by , 18 years ago
| Milestone: | → 3.2.13.1 |
|---|---|
| Resolution: | → Fixed |
| Status: | accepted → closed |
Fixed in version: 3.2.13.1

I tried the same thing on the 3.2.13.0 beta version.
I am getting the same issue.