[isalist] Re: off topic - service restart batch

  • From: "Jim Harrison" <Jim@xxxxxxxxxxxx>
  • To: <isalist@xxxxxxxxxxxxx>
  • Date: Mon, 16 Oct 2006 17:46:57 -0700

http://www.ISAserver.org
-------------------------------------------------------

..and you want to do this - why? 
The answer is "net stop <svcname> /y"

-------------------------------------------------------
   Jim Harrison
   MCP(NT4, W2K), A+, Network+, PCG
   http://isaserver.org/Jim_Harrison/
   http://isatools.org
   Read the help / books / articles!
-------------------------------------------------------
 

-----Original Message-----
From: isalist-bounce@xxxxxxxxxxxxx [mailto:isalist-bounce@xxxxxxxxxxxxx] On 
Behalf Of Ara Avvali
Sent: Monday, October 16, 2006 15:03
To: isalist@xxxxxxxxxxxxx; exchangelist@xxxxxxxxxxxxx
Subject: [isalist] off topic - service restart batch

Greetings,

 

I am creating a batch so some services are restarted in a certain time. Adding 
it to schedule task was not successful. Running it manually I noticed it stops 
if there is a dependency service asking me if I want to restart the dependent 
service too. Checking on internet and help for net stop I couldn't find a 
switch that answers yes to question. Anyone knows how to force it to answer yes 
to the question? Thanks 


All mail to and from this domain is GFI-scanned.

------------------------------------------------------
List Archives: //www.freelists.org/archives/isalist/
ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp
ISA Server Articles and Tutorials: http://www.isaserver.org/articles_tutorials/
ISA Server Blogs: http://blogs.isaserver.org/
------------------------------------------------------
Visit TechGenix.com for more information about our other sites:
http://www.techgenix.com
------------------------------------------------------
To unsubscribe visit http://www.isaserver.org/pages/isalist.asp
Report abuse to listadmin@xxxxxxxxxxxxx

Other related posts: