I was trying following command sshexec host="servername" username="antuser" password="Password1" command="NET STOP IIS Admin Service" />
It Is throwing connection refused error. Thanx & Regards, Vijay Shinde,PMP eHARS Application Architect/Application Development Lead, CITS-2 SDMB Office: 404.639.2999 -----Original Message----- From: Shinde, Vijay Sent: Tuesday, December 13, 2005 11:46 AM To: user@ant.apache.org Subject: ANT EXECUTE TASK I am using this tasks to start/stop windows services. Is there any way I can able to START/STOP services on other server. <exec executable="net"> <arg value="stop"/> <arg value="World Wide Web Publishing Service"/> </exec> <exec executable="net"> <arg value="stop"/> <arg value="IIS Admin Service"/> </exec> Vijay --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]