How to stop service from commandline in windows?
i would like to stop following services from command line
- print spooler
- shell harware detection
- windows defender
- windows update
- onedrive onecloud
and also deny them from running at startup (as i set to disabled in mmc)
Failed to find an generic answer, so how to stop them from command lime .cmd file? Also, will it be required to run as admin?
windows command-line services
add a comment |
i would like to stop following services from command line
- print spooler
- shell harware detection
- windows defender
- windows update
- onedrive onecloud
and also deny them from running at startup (as i set to disabled in mmc)
Failed to find an generic answer, so how to stop them from command lime .cmd file? Also, will it be required to run as admin?
windows command-line services
Also how could i stop arbitary service, given by its name? Some are specific executables, some are svchost and i cant just terminate it via process manager, as they could host over vital services. I event could not manage which svchost hosts what?
– xakepp35
May 31 '17 at 10:52
Are they actually registry entries or what? Where did this random disease, called "services", sits?
– xakepp35
May 31 '17 at 10:53
What do you mean by disease? And what OS are you using?
– Jimmy_A
May 31 '17 at 11:01
@D.A windows 10 x64
– xakepp35
May 31 '17 at 11:30
add a comment |
i would like to stop following services from command line
- print spooler
- shell harware detection
- windows defender
- windows update
- onedrive onecloud
and also deny them from running at startup (as i set to disabled in mmc)
Failed to find an generic answer, so how to stop them from command lime .cmd file? Also, will it be required to run as admin?
windows command-line services
i would like to stop following services from command line
- print spooler
- shell harware detection
- windows defender
- windows update
- onedrive onecloud
and also deny them from running at startup (as i set to disabled in mmc)
Failed to find an generic answer, so how to stop them from command lime .cmd file? Also, will it be required to run as admin?
windows command-line services
windows command-line services
asked May 31 '17 at 10:47
xakepp35
1571111
1571111
Also how could i stop arbitary service, given by its name? Some are specific executables, some are svchost and i cant just terminate it via process manager, as they could host over vital services. I event could not manage which svchost hosts what?
– xakepp35
May 31 '17 at 10:52
Are they actually registry entries or what? Where did this random disease, called "services", sits?
– xakepp35
May 31 '17 at 10:53
What do you mean by disease? And what OS are you using?
– Jimmy_A
May 31 '17 at 11:01
@D.A windows 10 x64
– xakepp35
May 31 '17 at 11:30
add a comment |
Also how could i stop arbitary service, given by its name? Some are specific executables, some are svchost and i cant just terminate it via process manager, as they could host over vital services. I event could not manage which svchost hosts what?
– xakepp35
May 31 '17 at 10:52
Are they actually registry entries or what? Where did this random disease, called "services", sits?
– xakepp35
May 31 '17 at 10:53
What do you mean by disease? And what OS are you using?
– Jimmy_A
May 31 '17 at 11:01
@D.A windows 10 x64
– xakepp35
May 31 '17 at 11:30
Also how could i stop arbitary service, given by its name? Some are specific executables, some are svchost and i cant just terminate it via process manager, as they could host over vital services. I event could not manage which svchost hosts what?
– xakepp35
May 31 '17 at 10:52
Also how could i stop arbitary service, given by its name? Some are specific executables, some are svchost and i cant just terminate it via process manager, as they could host over vital services. I event could not manage which svchost hosts what?
– xakepp35
May 31 '17 at 10:52
Are they actually registry entries or what? Where did this random disease, called "services", sits?
– xakepp35
May 31 '17 at 10:53
Are they actually registry entries or what? Where did this random disease, called "services", sits?
– xakepp35
May 31 '17 at 10:53
What do you mean by disease? And what OS are you using?
– Jimmy_A
May 31 '17 at 11:01
What do you mean by disease? And what OS are you using?
– Jimmy_A
May 31 '17 at 11:01
@D.A windows 10 x64
– xakepp35
May 31 '17 at 11:30
@D.A windows 10 x64
– xakepp35
May 31 '17 at 11:30
add a comment |
3 Answers
3
active
oldest
votes
To stop a service use net stop <service name>
To start a service use net start <service name>
Both these need running from a elevated prompt.
To disable a service use sc config "Name of Service" start= disabled
This also needs running from a elevated prompt.
Finally, a list of services and their states is in the registry at:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
Or
You can type services.msc
into cmd line and it'll give you a list
(Thanks @D.A !)
1
You can just type Services in the task bar and get the list, no need to go into registry
– Jimmy_A
May 31 '17 at 11:03
1
It might be noteworthy that not all services are visible using UIs, so going to the registry might be required to find specific system services or drivers.
– Daniel B
May 31 '17 at 11:21
1
typing services into cmd doesn't work. From cmd it would beservices.msc
– LPChip
May 31 '17 at 11:46
add a comment |
Interacting with services requires administrative privileges.
To view a list of installed services, type (this command does not require administrative privileges):
net start
Powershell can also be used, then it would be:
get-service | select Name
To start a service, type:
net start <name of service>
Or using powershell:
start-service -name <short name of service>
start-service -displayname <long name of service>
To stop a service, type:
net stop <name of service>
Or using powershell:
stop-service -name <short name of service>
stop-service -displayname <long name of service>
Note, services have a long and short name. For example: "Windows Update" is also known as wuauserv. Typing a service that contains a space needs to be quoted.
To modify the startup type of a service (example Automatic or disabled) use:
sc config "<name of service>" start=auto
sc config "<name of service>" start=disabled
Or using Powershell:
Set-Service -Name <short name of service> -StartupType automatic
Set-Service -DisplayName <long name of service> -StartupType disabled
The -name and -displayname obviously work for both setting the startup type to automatic and disabled, its just an example.
Given that you also mention Microsoft OneDrive, keep in mind that OneDrive is very stubborn and will likely be able to activate itself when you open the explorer. If you don't want to use OneDrive, consider going to start->Add/remove programs, and uninstall Microsoft OneDrive.
add a comment |
Two commands for killing services:
net start
to get a name list of running services
net stop "name of service"
to stop the service
A service is a programm almost like any other. The difference between services and other programs is that they run in the background and don’t have a user interface you can click or tap on. They are intended to provide core operating system features such as Web serving, event logging, file serving, printing or error reporting.
Not all services are developed by Microsoft. Some applications and drivers install their own services. Security suites are a very good example, as they install different services to provide real-time monitoring of your system’s activities, firewall protection, etc. These suites need to use the advantages provided by services. One such advantage is that they can be started during the system boot, before other programs and even before you log in. But the most important advantage is that they can monitor everything that runs on your computer while being perfectly integrated in the Windows core. This way, they can provide a very high level of protection.
Another example of a non-Microsoft service could be a SSH server, often used in offices for secure remote connections or an auto-updating service for your web browser like the Mozilla Maintenance Service.
Knowing what or when a service does something can be useful at times. For example, if you know you’re not going to need its features you can disable it to speed up your system. If you have a router installed to manage your local network, it’s likely that you don’t need the Internet Connection Sharing service to run. Or, if you need a service to run, but it’s not that important, you can set it to start a little bit later, after Windows, startup apps or other, more important services, have started. In my case, one of the services I need but my life doesn’t depend on it, is the Windows Time service, which synchronizes the date and time. So I decided to set it to a Delayed startup.
What is a Service?
Definition of a Windows Service & Instructions on Controlling Services
Understanding and Managing Windows Services
service could not be always an application. it could be svchost.exe thread. And disease is non-uniformity of technology - some are apps, some are just threads, all random! it is not the way software must be developed, i require shut down requested services
– xakepp35
May 31 '17 at 11:32
@xakepp35 I asked you what OS, cause the settings for windows 7, windows 8 and windows 10 are different. And let me rephrase the answer to a windows service. Having a UI does not let you start or terminate the service. The UI is an additional feature for better user experience. In any way the commands are these.
– Jimmy_A
May 31 '17 at 11:43
@xakepp35 You know what you are looking for in an answer, so you should edit your questions so everyone can understand what you are actually asking for. killing services by name, you usually kill parent services that in turn kill every child service as well.
– Jimmy_A
May 31 '17 at 11:51
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1214613%2fhow-to-stop-service-from-commandline-in-windows%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
To stop a service use net stop <service name>
To start a service use net start <service name>
Both these need running from a elevated prompt.
To disable a service use sc config "Name of Service" start= disabled
This also needs running from a elevated prompt.
Finally, a list of services and their states is in the registry at:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
Or
You can type services.msc
into cmd line and it'll give you a list
(Thanks @D.A !)
1
You can just type Services in the task bar and get the list, no need to go into registry
– Jimmy_A
May 31 '17 at 11:03
1
It might be noteworthy that not all services are visible using UIs, so going to the registry might be required to find specific system services or drivers.
– Daniel B
May 31 '17 at 11:21
1
typing services into cmd doesn't work. From cmd it would beservices.msc
– LPChip
May 31 '17 at 11:46
add a comment |
To stop a service use net stop <service name>
To start a service use net start <service name>
Both these need running from a elevated prompt.
To disable a service use sc config "Name of Service" start= disabled
This also needs running from a elevated prompt.
Finally, a list of services and their states is in the registry at:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
Or
You can type services.msc
into cmd line and it'll give you a list
(Thanks @D.A !)
1
You can just type Services in the task bar and get the list, no need to go into registry
– Jimmy_A
May 31 '17 at 11:03
1
It might be noteworthy that not all services are visible using UIs, so going to the registry might be required to find specific system services or drivers.
– Daniel B
May 31 '17 at 11:21
1
typing services into cmd doesn't work. From cmd it would beservices.msc
– LPChip
May 31 '17 at 11:46
add a comment |
To stop a service use net stop <service name>
To start a service use net start <service name>
Both these need running from a elevated prompt.
To disable a service use sc config "Name of Service" start= disabled
This also needs running from a elevated prompt.
Finally, a list of services and their states is in the registry at:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
Or
You can type services.msc
into cmd line and it'll give you a list
(Thanks @D.A !)
To stop a service use net stop <service name>
To start a service use net start <service name>
Both these need running from a elevated prompt.
To disable a service use sc config "Name of Service" start= disabled
This also needs running from a elevated prompt.
Finally, a list of services and their states is in the registry at:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
Or
You can type services.msc
into cmd line and it'll give you a list
(Thanks @D.A !)
edited May 31 '17 at 11:50
answered May 31 '17 at 11:01
djsmiley2k
4,89412335
4,89412335
1
You can just type Services in the task bar and get the list, no need to go into registry
– Jimmy_A
May 31 '17 at 11:03
1
It might be noteworthy that not all services are visible using UIs, so going to the registry might be required to find specific system services or drivers.
– Daniel B
May 31 '17 at 11:21
1
typing services into cmd doesn't work. From cmd it would beservices.msc
– LPChip
May 31 '17 at 11:46
add a comment |
1
You can just type Services in the task bar and get the list, no need to go into registry
– Jimmy_A
May 31 '17 at 11:03
1
It might be noteworthy that not all services are visible using UIs, so going to the registry might be required to find specific system services or drivers.
– Daniel B
May 31 '17 at 11:21
1
typing services into cmd doesn't work. From cmd it would beservices.msc
– LPChip
May 31 '17 at 11:46
1
1
You can just type Services in the task bar and get the list, no need to go into registry
– Jimmy_A
May 31 '17 at 11:03
You can just type Services in the task bar and get the list, no need to go into registry
– Jimmy_A
May 31 '17 at 11:03
1
1
It might be noteworthy that not all services are visible using UIs, so going to the registry might be required to find specific system services or drivers.
– Daniel B
May 31 '17 at 11:21
It might be noteworthy that not all services are visible using UIs, so going to the registry might be required to find specific system services or drivers.
– Daniel B
May 31 '17 at 11:21
1
1
typing services into cmd doesn't work. From cmd it would be
services.msc
– LPChip
May 31 '17 at 11:46
typing services into cmd doesn't work. From cmd it would be
services.msc
– LPChip
May 31 '17 at 11:46
add a comment |
Interacting with services requires administrative privileges.
To view a list of installed services, type (this command does not require administrative privileges):
net start
Powershell can also be used, then it would be:
get-service | select Name
To start a service, type:
net start <name of service>
Or using powershell:
start-service -name <short name of service>
start-service -displayname <long name of service>
To stop a service, type:
net stop <name of service>
Or using powershell:
stop-service -name <short name of service>
stop-service -displayname <long name of service>
Note, services have a long and short name. For example: "Windows Update" is also known as wuauserv. Typing a service that contains a space needs to be quoted.
To modify the startup type of a service (example Automatic or disabled) use:
sc config "<name of service>" start=auto
sc config "<name of service>" start=disabled
Or using Powershell:
Set-Service -Name <short name of service> -StartupType automatic
Set-Service -DisplayName <long name of service> -StartupType disabled
The -name and -displayname obviously work for both setting the startup type to automatic and disabled, its just an example.
Given that you also mention Microsoft OneDrive, keep in mind that OneDrive is very stubborn and will likely be able to activate itself when you open the explorer. If you don't want to use OneDrive, consider going to start->Add/remove programs, and uninstall Microsoft OneDrive.
add a comment |
Interacting with services requires administrative privileges.
To view a list of installed services, type (this command does not require administrative privileges):
net start
Powershell can also be used, then it would be:
get-service | select Name
To start a service, type:
net start <name of service>
Or using powershell:
start-service -name <short name of service>
start-service -displayname <long name of service>
To stop a service, type:
net stop <name of service>
Or using powershell:
stop-service -name <short name of service>
stop-service -displayname <long name of service>
Note, services have a long and short name. For example: "Windows Update" is also known as wuauserv. Typing a service that contains a space needs to be quoted.
To modify the startup type of a service (example Automatic or disabled) use:
sc config "<name of service>" start=auto
sc config "<name of service>" start=disabled
Or using Powershell:
Set-Service -Name <short name of service> -StartupType automatic
Set-Service -DisplayName <long name of service> -StartupType disabled
The -name and -displayname obviously work for both setting the startup type to automatic and disabled, its just an example.
Given that you also mention Microsoft OneDrive, keep in mind that OneDrive is very stubborn and will likely be able to activate itself when you open the explorer. If you don't want to use OneDrive, consider going to start->Add/remove programs, and uninstall Microsoft OneDrive.
add a comment |
Interacting with services requires administrative privileges.
To view a list of installed services, type (this command does not require administrative privileges):
net start
Powershell can also be used, then it would be:
get-service | select Name
To start a service, type:
net start <name of service>
Or using powershell:
start-service -name <short name of service>
start-service -displayname <long name of service>
To stop a service, type:
net stop <name of service>
Or using powershell:
stop-service -name <short name of service>
stop-service -displayname <long name of service>
Note, services have a long and short name. For example: "Windows Update" is also known as wuauserv. Typing a service that contains a space needs to be quoted.
To modify the startup type of a service (example Automatic or disabled) use:
sc config "<name of service>" start=auto
sc config "<name of service>" start=disabled
Or using Powershell:
Set-Service -Name <short name of service> -StartupType automatic
Set-Service -DisplayName <long name of service> -StartupType disabled
The -name and -displayname obviously work for both setting the startup type to automatic and disabled, its just an example.
Given that you also mention Microsoft OneDrive, keep in mind that OneDrive is very stubborn and will likely be able to activate itself when you open the explorer. If you don't want to use OneDrive, consider going to start->Add/remove programs, and uninstall Microsoft OneDrive.
Interacting with services requires administrative privileges.
To view a list of installed services, type (this command does not require administrative privileges):
net start
Powershell can also be used, then it would be:
get-service | select Name
To start a service, type:
net start <name of service>
Or using powershell:
start-service -name <short name of service>
start-service -displayname <long name of service>
To stop a service, type:
net stop <name of service>
Or using powershell:
stop-service -name <short name of service>
stop-service -displayname <long name of service>
Note, services have a long and short name. For example: "Windows Update" is also known as wuauserv. Typing a service that contains a space needs to be quoted.
To modify the startup type of a service (example Automatic or disabled) use:
sc config "<name of service>" start=auto
sc config "<name of service>" start=disabled
Or using Powershell:
Set-Service -Name <short name of service> -StartupType automatic
Set-Service -DisplayName <long name of service> -StartupType disabled
The -name and -displayname obviously work for both setting the startup type to automatic and disabled, its just an example.
Given that you also mention Microsoft OneDrive, keep in mind that OneDrive is very stubborn and will likely be able to activate itself when you open the explorer. If you don't want to use OneDrive, consider going to start->Add/remove programs, and uninstall Microsoft OneDrive.
edited May 31 '17 at 12:02
answered May 31 '17 at 11:55
LPChip
35.3k55084
35.3k55084
add a comment |
add a comment |
Two commands for killing services:
net start
to get a name list of running services
net stop "name of service"
to stop the service
A service is a programm almost like any other. The difference between services and other programs is that they run in the background and don’t have a user interface you can click or tap on. They are intended to provide core operating system features such as Web serving, event logging, file serving, printing or error reporting.
Not all services are developed by Microsoft. Some applications and drivers install their own services. Security suites are a very good example, as they install different services to provide real-time monitoring of your system’s activities, firewall protection, etc. These suites need to use the advantages provided by services. One such advantage is that they can be started during the system boot, before other programs and even before you log in. But the most important advantage is that they can monitor everything that runs on your computer while being perfectly integrated in the Windows core. This way, they can provide a very high level of protection.
Another example of a non-Microsoft service could be a SSH server, often used in offices for secure remote connections or an auto-updating service for your web browser like the Mozilla Maintenance Service.
Knowing what or when a service does something can be useful at times. For example, if you know you’re not going to need its features you can disable it to speed up your system. If you have a router installed to manage your local network, it’s likely that you don’t need the Internet Connection Sharing service to run. Or, if you need a service to run, but it’s not that important, you can set it to start a little bit later, after Windows, startup apps or other, more important services, have started. In my case, one of the services I need but my life doesn’t depend on it, is the Windows Time service, which synchronizes the date and time. So I decided to set it to a Delayed startup.
What is a Service?
Definition of a Windows Service & Instructions on Controlling Services
Understanding and Managing Windows Services
service could not be always an application. it could be svchost.exe thread. And disease is non-uniformity of technology - some are apps, some are just threads, all random! it is not the way software must be developed, i require shut down requested services
– xakepp35
May 31 '17 at 11:32
@xakepp35 I asked you what OS, cause the settings for windows 7, windows 8 and windows 10 are different. And let me rephrase the answer to a windows service. Having a UI does not let you start or terminate the service. The UI is an additional feature for better user experience. In any way the commands are these.
– Jimmy_A
May 31 '17 at 11:43
@xakepp35 You know what you are looking for in an answer, so you should edit your questions so everyone can understand what you are actually asking for. killing services by name, you usually kill parent services that in turn kill every child service as well.
– Jimmy_A
May 31 '17 at 11:51
add a comment |
Two commands for killing services:
net start
to get a name list of running services
net stop "name of service"
to stop the service
A service is a programm almost like any other. The difference between services and other programs is that they run in the background and don’t have a user interface you can click or tap on. They are intended to provide core operating system features such as Web serving, event logging, file serving, printing or error reporting.
Not all services are developed by Microsoft. Some applications and drivers install their own services. Security suites are a very good example, as they install different services to provide real-time monitoring of your system’s activities, firewall protection, etc. These suites need to use the advantages provided by services. One such advantage is that they can be started during the system boot, before other programs and even before you log in. But the most important advantage is that they can monitor everything that runs on your computer while being perfectly integrated in the Windows core. This way, they can provide a very high level of protection.
Another example of a non-Microsoft service could be a SSH server, often used in offices for secure remote connections or an auto-updating service for your web browser like the Mozilla Maintenance Service.
Knowing what or when a service does something can be useful at times. For example, if you know you’re not going to need its features you can disable it to speed up your system. If you have a router installed to manage your local network, it’s likely that you don’t need the Internet Connection Sharing service to run. Or, if you need a service to run, but it’s not that important, you can set it to start a little bit later, after Windows, startup apps or other, more important services, have started. In my case, one of the services I need but my life doesn’t depend on it, is the Windows Time service, which synchronizes the date and time. So I decided to set it to a Delayed startup.
What is a Service?
Definition of a Windows Service & Instructions on Controlling Services
Understanding and Managing Windows Services
service could not be always an application. it could be svchost.exe thread. And disease is non-uniformity of technology - some are apps, some are just threads, all random! it is not the way software must be developed, i require shut down requested services
– xakepp35
May 31 '17 at 11:32
@xakepp35 I asked you what OS, cause the settings for windows 7, windows 8 and windows 10 are different. And let me rephrase the answer to a windows service. Having a UI does not let you start or terminate the service. The UI is an additional feature for better user experience. In any way the commands are these.
– Jimmy_A
May 31 '17 at 11:43
@xakepp35 You know what you are looking for in an answer, so you should edit your questions so everyone can understand what you are actually asking for. killing services by name, you usually kill parent services that in turn kill every child service as well.
– Jimmy_A
May 31 '17 at 11:51
add a comment |
Two commands for killing services:
net start
to get a name list of running services
net stop "name of service"
to stop the service
A service is a programm almost like any other. The difference between services and other programs is that they run in the background and don’t have a user interface you can click or tap on. They are intended to provide core operating system features such as Web serving, event logging, file serving, printing or error reporting.
Not all services are developed by Microsoft. Some applications and drivers install their own services. Security suites are a very good example, as they install different services to provide real-time monitoring of your system’s activities, firewall protection, etc. These suites need to use the advantages provided by services. One such advantage is that they can be started during the system boot, before other programs and even before you log in. But the most important advantage is that they can monitor everything that runs on your computer while being perfectly integrated in the Windows core. This way, they can provide a very high level of protection.
Another example of a non-Microsoft service could be a SSH server, often used in offices for secure remote connections or an auto-updating service for your web browser like the Mozilla Maintenance Service.
Knowing what or when a service does something can be useful at times. For example, if you know you’re not going to need its features you can disable it to speed up your system. If you have a router installed to manage your local network, it’s likely that you don’t need the Internet Connection Sharing service to run. Or, if you need a service to run, but it’s not that important, you can set it to start a little bit later, after Windows, startup apps or other, more important services, have started. In my case, one of the services I need but my life doesn’t depend on it, is the Windows Time service, which synchronizes the date and time. So I decided to set it to a Delayed startup.
What is a Service?
Definition of a Windows Service & Instructions on Controlling Services
Understanding and Managing Windows Services
Two commands for killing services:
net start
to get a name list of running services
net stop "name of service"
to stop the service
A service is a programm almost like any other. The difference between services and other programs is that they run in the background and don’t have a user interface you can click or tap on. They are intended to provide core operating system features such as Web serving, event logging, file serving, printing or error reporting.
Not all services are developed by Microsoft. Some applications and drivers install their own services. Security suites are a very good example, as they install different services to provide real-time monitoring of your system’s activities, firewall protection, etc. These suites need to use the advantages provided by services. One such advantage is that they can be started during the system boot, before other programs and even before you log in. But the most important advantage is that they can monitor everything that runs on your computer while being perfectly integrated in the Windows core. This way, they can provide a very high level of protection.
Another example of a non-Microsoft service could be a SSH server, often used in offices for secure remote connections or an auto-updating service for your web browser like the Mozilla Maintenance Service.
Knowing what or when a service does something can be useful at times. For example, if you know you’re not going to need its features you can disable it to speed up your system. If you have a router installed to manage your local network, it’s likely that you don’t need the Internet Connection Sharing service to run. Or, if you need a service to run, but it’s not that important, you can set it to start a little bit later, after Windows, startup apps or other, more important services, have started. In my case, one of the services I need but my life doesn’t depend on it, is the Windows Time service, which synchronizes the date and time. So I decided to set it to a Delayed startup.
What is a Service?
Definition of a Windows Service & Instructions on Controlling Services
Understanding and Managing Windows Services
edited May 31 '17 at 11:55
answered May 31 '17 at 10:59
Jimmy_A
843316
843316
service could not be always an application. it could be svchost.exe thread. And disease is non-uniformity of technology - some are apps, some are just threads, all random! it is not the way software must be developed, i require shut down requested services
– xakepp35
May 31 '17 at 11:32
@xakepp35 I asked you what OS, cause the settings for windows 7, windows 8 and windows 10 are different. And let me rephrase the answer to a windows service. Having a UI does not let you start or terminate the service. The UI is an additional feature for better user experience. In any way the commands are these.
– Jimmy_A
May 31 '17 at 11:43
@xakepp35 You know what you are looking for in an answer, so you should edit your questions so everyone can understand what you are actually asking for. killing services by name, you usually kill parent services that in turn kill every child service as well.
– Jimmy_A
May 31 '17 at 11:51
add a comment |
service could not be always an application. it could be svchost.exe thread. And disease is non-uniformity of technology - some are apps, some are just threads, all random! it is not the way software must be developed, i require shut down requested services
– xakepp35
May 31 '17 at 11:32
@xakepp35 I asked you what OS, cause the settings for windows 7, windows 8 and windows 10 are different. And let me rephrase the answer to a windows service. Having a UI does not let you start or terminate the service. The UI is an additional feature for better user experience. In any way the commands are these.
– Jimmy_A
May 31 '17 at 11:43
@xakepp35 You know what you are looking for in an answer, so you should edit your questions so everyone can understand what you are actually asking for. killing services by name, you usually kill parent services that in turn kill every child service as well.
– Jimmy_A
May 31 '17 at 11:51
service could not be always an application. it could be svchost.exe thread. And disease is non-uniformity of technology - some are apps, some are just threads, all random! it is not the way software must be developed, i require shut down requested services
– xakepp35
May 31 '17 at 11:32
service could not be always an application. it could be svchost.exe thread. And disease is non-uniformity of technology - some are apps, some are just threads, all random! it is not the way software must be developed, i require shut down requested services
– xakepp35
May 31 '17 at 11:32
@xakepp35 I asked you what OS, cause the settings for windows 7, windows 8 and windows 10 are different. And let me rephrase the answer to a windows service. Having a UI does not let you start or terminate the service. The UI is an additional feature for better user experience. In any way the commands are these.
– Jimmy_A
May 31 '17 at 11:43
@xakepp35 I asked you what OS, cause the settings for windows 7, windows 8 and windows 10 are different. And let me rephrase the answer to a windows service. Having a UI does not let you start or terminate the service. The UI is an additional feature for better user experience. In any way the commands are these.
– Jimmy_A
May 31 '17 at 11:43
@xakepp35 You know what you are looking for in an answer, so you should edit your questions so everyone can understand what you are actually asking for. killing services by name, you usually kill parent services that in turn kill every child service as well.
– Jimmy_A
May 31 '17 at 11:51
@xakepp35 You know what you are looking for in an answer, so you should edit your questions so everyone can understand what you are actually asking for. killing services by name, you usually kill parent services that in turn kill every child service as well.
– Jimmy_A
May 31 '17 at 11:51
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1214613%2fhow-to-stop-service-from-commandline-in-windows%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Also how could i stop arbitary service, given by its name? Some are specific executables, some are svchost and i cant just terminate it via process manager, as they could host over vital services. I event could not manage which svchost hosts what?
– xakepp35
May 31 '17 at 10:52
Are they actually registry entries or what? Where did this random disease, called "services", sits?
– xakepp35
May 31 '17 at 10:53
What do you mean by disease? And what OS are you using?
– Jimmy_A
May 31 '17 at 11:01
@D.A windows 10 x64
– xakepp35
May 31 '17 at 11:30