Managing Services from a Command Prompt

If you want to control services via a batch program—or if you simply prefer working at a command prompt—you can use variations of the Net command. Don’t be dissuaded by the name—the Net command manages all services, not only network services. Table 28-3 shows the Net commands to use for managing services.

Table 28-3. Net Commands for Managing Services

Command

Description

Net Start

Displays a list of running services.

Net Start service

Starts the service service. For service, you can use either the actual service name or its display name. For example, net start schedule and net start "task scheduler" are equivalent. For a list of services installed by default with Windows Vista, see Table 28-1. Surround multiword ...

Get Windows Vista® Inside Out Deluxe Edition 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.