Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 Stop all sql server services2008 in one batch file

Author  Topic 

blocker
Yak Posting Veteran

89 Posts

Posted - 2011-12-05 : 03:35:07
Good day IT profs!

I just want to ask on if any body can provide on how to stop all sql server 2008 services in 1 batch file..

It may be something like this:


sc stop sqlserveragent..

etc..


I need enumeration of all sql server services..

Thank you!



TRANSOFTWARE

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-12-05 : 04:10:01
see

http://www.bidn.com/blogs/briankmcdonald/bidn-blog/1011/restarting-sql-server-using-a-batch-script

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

blocker
Yak Posting Veteran

89 Posts

Posted - 2011-12-07 : 00:56:32
quote:
Originally posted by visakh16

see

http://www.bidn.com/blogs/briankmcdonald/bidn-blog/1011/restarting-sql-server-using-a-batch-script

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/





thank you..great help..

TRANSOFTWARE
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-12-07 : 00:57:42
wc

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -