Is there a way to restart a windows service from command prompt?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
You can use To combine them just do this - There is also a command built specifically for messing with services:
|
|||||||||||||||
|
|
You could also use PowerShell:
|
|||||
|
|
To Restart A Windows Service From Command Prompt or Scheduled Tasks Use This: cmd /c "net stop "Service Name"&sc start "Service Name"" |
|||
|
|

