Services can be stopped and started using two commands in Command Prompt Shell.
- net start service "some service"
- sc start "some service"
what is the difference between these commands?
|
Services can be stopped and started using two commands in Command Prompt Shell.
what is the difference between these commands? |
||||
|
|
|
In Windows NT, both commands access the same Service Manager. The difference is mainly in the user-visible part:
|
|||
|
|
|
Grawity's answer is certainly helpful, but I found a fundamental difference between these commands detailed on http://cbfive.com/blog/post/Command-Line-Service-Management-%28NET-v-SC%29.aspx . In particular, this page notes that these two commands differ in their timing: "net" is synchronous and "sc" is asynchronous.
|
|||
|
|