net stop "MSSQLServer" /y net stop "MSSQLServerOLAPService" /y net start "MSSQLServer" net start "MSSQLServerOLAPService" net start "SQLSERVERAGENT"