Is there a way to restart a windows service from command prompt?
You can use
To combine them just do this -
There is also a command built specifically for messing with services:
|show 2 more comments|
To Restart A Windows Service From Command Prompt or Scheduled Tasks Use This:
cmd /c "net stop "Service Name"&sc start "Service Name""