Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to sheduled service restart

Posted on 2008-06-18
2
Medium Priority
?
273 Views
Last Modified: 2010-03-05
what is the best way to have sheduled MS SQL service restart?
I am having a problem from time to to time to run automated DB restore due to DB being in use and like to shedule SQL server service restart before the restore job to make sure that it will run.
0
Comment
Question by:leop1212
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
Andres Perales earned 1600 total points
ID: 21817555
http://technet2.microsoft.com/windowsserver/en/library/03928250-2796-4253-8fb1-b25329ddf35f1033.mspx?mfr=true

use above link to write a batch file to restart a particular service.
then use the scheduler in control panel to run that batch file at your specified schedule.

have fun
0
 
LVL 2

Assisted Solution

by:noc-mitts
noc-mitts earned 400 total points
ID: 21818419
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have a large data set and a SSIS package. How can I load this file in multi threading?
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Viewers will learn how the fundamental information of how to create a table.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question