Feb 25, 2016

0 Restarting SQL Server using a Batch Script





Restarting SQL Server Automatically

@ECHO OFF
net stop SQLWriter
timeout 2
net stop MsDtsServer110
timeout 2
net stop SQLBrowser
timeout 2
net stop ReportServer
timeout 2
net stop MSSQLSERVER
timeout 5

net start SQLWriter
timeout 2
net start MsDtsServer110
timeout 2
net start SQLBrowser
timeout 2
net start ReportServer
timeout 2
net start MSSQLSERVER


0 comments :

Post a Comment

Comment: