microsoft:cli:command-line-sc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| microsoft:cli:command-line-sc [2023/03/10 06:51] – rplecko | microsoft:cli:command-line-sc [2023/03/10 06:56] (current) – rplecko | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| 0 | 0 | ||
| </ | </ | ||
| + | So there is a service called " | ||
| + | Let's stop it... | ||
| + | |||
| + | sc stop DHCPServer | ||
| + | |||
| + | CMD replies: | ||
| + | |||
| + | < | ||
| + | SERVICE_NAME: | ||
| + | TYPE : 10 WIN32_OWN_PROCESS | ||
| + | STATE : 3 STOP_PENDING | ||
| + | (STOPPABLE, NOT_PAUSABLE, | ||
| + | WIN32_EXIT_CODE | ||
| + | SERVICE_EXIT_CODE | ||
| + | CHECKPOINT | ||
| + | WAIT_HINT | ||
| + | </ | ||
| + | |||
| + | Now we can delete the service | ||
| + | |||
| + | sc delete DHCPServer | ||
| + | |||
| + | and the CMD replies: | ||
| + | |||
| + | < | ||
| + | [SC] DeleteService SUCCESS | ||
| + | </ | ||
| + | |||
microsoft/cli/command-line-sc.1678431069.txt.gz · Last modified: 2023/03/10 06:51 by rplecko
