Community Area

Stopping running services

by
Mitch Tulloch
[Published on 24 April 2013 / Last Updated on 24 April 2013]

A tip on stopping running services on Windows computer.

Before you use stop a running service using the net stop command or Services MMC snap-in on a Windows computer, you should find out if any other services have a dependency on the service you want to stop. That's because stopping a service will stop any dependent services too, and if any of these dependent services are needed in your environment then undesirable things might happen.

A quick way of listing any dependent services for service_name is to run the command sc enumdepend service_name from a command prompt.

Mitch Tulloch is an eight-time recipient of the Microsoft Most Valuable Professional (MVP) award and a widely recognized expert on Windows administration, deployment and virtualization. For more information about him, see http://www.mtit.com

See Also

The Author — Mitch Tulloch

Mitch Tulloch is a well-known expert on Windows Server administration and cloud computing technologies. He has published over a thousand articles on information technology topics and has written, contributed to or been series editor for over 50 books.

Preserving server hardware (Part 3)

This article examines some of the causes of and effects from overheating for business server systems, PCs, and laptops... Read More

Building a PowerShell GUI (Part 11)

I have two goals for this article. My primary goal is to modify the code we've created so far so that it displays some basic configuration information for the selected virtual machine. My secondary goal is to show you a couple of new techniques for displaying the script’s output... Read More