Sign in to follow this  
Followers 0
CleM71

RunAs() not working under Windows 2000

3 posts in this topic

Hi,

I try to work with the RunAs() function on a Samba domain.

I've joined a Windows 200 Pro SP4 workstation and a Windows XP Pro SP3 workstation on my Samba domain (running under Ubuntu 7).

I try to run, for example a command prompt, under a network account.

I use this :

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

It works perfectly on my Windows XP workstation, the cmd.exe interface appears.

I use the same compiled program on my Windows 2000 workstation and nothing appears !

RunAs() returns 0

@error returns 1

@extended returns 1314

Any idea ?

Thanks in advance for you help.

Share this post


Link to post
Share on other sites



Hi,

I try to work with the RunAs() function on a Samba domain.

I've joined a Windows 200 Pro SP4 workstation and a Windows XP Pro SP3 workstation on my Samba domain (running under Ubuntu 7).

I try to run, for example a command prompt, under a network account.

I use this :

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

It works perfectly on my Windows XP workstation, the cmd.exe interface appears.

I use the same compiled program on my Windows 2000 workstation and nothing appears !

RunAs() returns 0

@error returns 1

@extended returns 1314

Any idea ?

Thanks in advance for you help.

I'm getting the same issue.

I have/had another thread going See here that I was getting help on but this seems to be the underlying problem.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0