REM Start of Script

@echo off
REM – File: [File Name]
REM – Description: [Description]
REM – Author: [You]
REM – ADD REM comments if you don’t want to restart any
REM – of Services
echo Restarting Services…
echo ======================================================
net stop “[Service Name]”
net start “[Service Name]”
echo ======================================================
echo Services Restarted

PAUSE

REM End of Script

NOTE :You can add above script into a *.bat file and then run this adhoc or using Windows Scheduled Tasks

Advertisements