windows batch file to call remote executable with username and password

Posted by Jake rue on Stack Overflow See other posts from Stack Overflow or by Jake rue
Published on 2010-04-17T15:28:52Z Indexed on 2010/04/17 15:33 UTC
Read the original article Hit count: 507

Hi I am trying to get a batch file to call an executable from the server and login. I have a monitoring program that allows me send and execute the script. OK here goes....

//x3400/NTE_test/test.exe /USER:student password

Now this doesn't work. The path is right because when I type it in at the run menu in xp it works. Then I manually login and the script runs. How can I get this to login and run that exe I need it to?

Part 2: Some of the machines have already logged in with the password saved (done manually). Should I have a command to first clear that password then login?

Thanks for any replies, I appreciate the help

Jake

© Stack Overflow or respective owner

Related posts about Windows

Related posts about batch