Sign in to follow this  
Followers 0
PhejEJ

RUNas not working

3 posts in this topic

can anyone tell me what i did wrong here? it doesnt seems to run the apps.

; Fill in the username and password appropriate for your system.

Local $sUserName = "adminname"

Local $sPassword = "somepass"

; Run a command prompt as the other user.

RunAs($sUserName, @ComputerName, $sPassword, 0, "iTunes 4.2.EXE", "\\pp00123\install$\Apps\restricted\WXP\iTunes_4_2\")

thanks in advance.

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

thanks but still dont work. anyone else could help?

Local $sUserName = "username"
Local $sPassword = "pass"
RunAsWait($sUserName, @LogonDomain, $sPassword, 0, @ComSpec & '\\server\path$\Apps\install\WXP\iTunes_4_2\iTunes 4.2.EXE', @SystemDir, @SW_HIDE)oÝ÷ Ù©l¢Úò¶¬¶,)evíÂäjëh×6Local $sUserName = "username"
Local $sPassword = "pass"
RunAsWait($sUserName, @LogonDomain, $sPassword, 0, @ComSpec & ' /c \\server\path$\Apps\install\WXP\iTunes_4_2\iTunes 4.2.EXE', @SystemDir, @SW_HIDE)
Edited by PhejEJ

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