Chapter 21. Manipulating Services
This chapter provides information and commands concerning the following topics:
• Stopping and starting services with the net command
Tip
You should be familiar with the sc, net start, and wmic commands when preparing for the 70-640 and 70-643 exams.
Stopping and Starting Services with the net Command
A basic way to start and stop a service from the command prompt is with the net command. The basic syntax to start a service is
net start service-name
Similarly, the basic syntax to stop a service is
net stop service-name
For example, if SRV records aren’t registered in DNS, you can stop and restart the netlogon service with the following commands: ...
Get Windows Server 2008 Portable Command Guide: MCTS 70-640, 70-642, 70-643, and MCITP 70-646, 70-647 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.