All Questions
299
questions
91
votes
4
answers
390k
views
Disable a Windows service from the command line
I want to disable a Windows service but I don't want to:
Open the "Services" management console
Scroll to the name of the service
Right-click Properties (or double-click)
Change the Startup Type: to ...
79
votes
5
answers
189k
views
How to change path to executable for a Windows Service?
I want to change the path to the executable for a service from the command line.
How can I do that?
I want to run another .EXE from that service's path to executable.
67
votes
3
answers
134k
views
What's the difference between an Application, a Process, and a Service?
How are these fundamentally different "things" on Windows?
Aren't all running things Processes?
It seems that every Application has an associated process that shuts it down if it is shut ...
61
votes
2
answers
65k
views
What is the difference between “manual” and “disabled” service in Windows?
Windows services seem to come in three start-up types:
Automatic: seems to mean that it is started at bootup
Manual: seems to mean that it is not started at bootup
Disabled: also seems to mean that ...
30
votes
3
answers
111k
views
Remove Windows service from command line
I would like to do this because I have a half installed service because of installation failure which is just there, non-functioning.
How can I delete the Windows service using the command line?
27
votes
7
answers
7k
views
What Windows services can I safely disable?
I'm trying to improve the boot time and general performance of a Windows XP machine and figure the massive collection of services that Windows automatically starts have to have an impact. Are there ...
24
votes
3
answers
36k
views
Wildcard Services restart
Currently, we have setup a .bat file which lists all services to start / stop them eg.
SC start SERVICE1
SC start SERVICE2
SC stop SERVICE1
SC stop SERVICE2
We add new services all the time and the ...
22
votes
5
answers
118k
views
How do I extract a list of Windows services and their status to a text file?
I would like to get a text dump of the screen you see when running services.msc (except the Description column). This is so I can run a diff after installing different software that adds services to ...
20
votes
4
answers
85k
views
What is RPC and why is it so important?
From the beginning, I've heard that you never, ever disable the Remote Procedure Call service in Windows. Doing so leads to horrible things that used to be hard to overturn (I believe that it's no ...
20
votes
3
answers
5k
views
How to diagnose abnormal CPU usage by svchost.exe? [duplicate]
I've got a laptop with a Win 7 32-bit system powered by a dual-core Pentium (it's a 2010 laptop). Sometimes it works fine, but usually it idles at 100% CPU load. The CPU is consumed by two svchost.exe ...
19
votes
2
answers
75k
views
Changing windows service display name?
I would like to change the display name of a windows service that has already been created. I have read online that I can just alter the value in the registry. If I alter it in the registry and then ...
18
votes
2
answers
20k
views
Isolate hosted service (svchost.exe) in its own process
As many superusers are probably aware by now, svchost.exe is used by Microsoft to host multiple Windows services in a single process, with one process per service group.
In Windows 7 (and later?), ...
16
votes
4
answers
66k
views
How to check whether a specific service exists using Powershell?
Introduction
According to this documentation it is possible to check which services have been stopped on Windows by executing the following command:
Get-Service | Where-Object {$_.status -eq "...
16
votes
8
answers
39k
views
Is there a way to determine which service (in svchost.exe) does an outgoing connection?
I'm redoing my firewall configuration with more restrictive policies and I would like to determine the provenance (and/or destination) of some outgoing connections.
I have an issue because they come ...
13
votes
3
answers
688
views
What in the world is ctfmon.exe?
I seem to see "ctfmon.exe" in the running tasks of every Windows PC I've used. I've always called it "capture the flag monitor." What is it really used for, do I need it, and if not, can I safely ...