Services - Start, Stop, and Disable in Windows 10

    Services - Start, Stop, and Disable in Windows 10

    How to Start, Stop, Restart, and Disable Services in Windows 10
    Published by
    2015-03-06
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 17,472

    Show Printable Version 


    How to Start, Stop, Restart, and Disable Services in Windows 10

    information   Information
    A service is an application type that runs in the system background without a user interface and is similar to a UNIX daemon process. Services provide core operating system features, such as Web serving, event logging, file serving, printing, cryptography, and error reporting.

    This tutorial will show you how to start, stop, restart, enable, and disable services in Windows 10.

    You must be signed in as an administrator to be able to do the steps in this tutorial.

    Note   Note

    • If you stop, start, or restart a service, any dependent services are also affected. Starting a service does not automatically restart its dependent services.
    • Changing the default service settings may prevent key services from running correctly. It is especially important to use caution when changing the Startup type setting of services that are configured to start automatically.
    • Some services, such as Remote Procedure Call (RPC), Event Log, and Plug and Play, cannot be stopped by using the Services snap-in window or the net stop command. These services are required for the operating system to function properly.

    warning   Warning
    It is highly recommended that you create a restore point before making changes to the services. This way if you make a mistake that cripples your computer, you will be able to do a System Restore using the restore point to undo the changes.

    If you disabled the wrong service and lost access to the computer, then try booting into Safe Mode to change the service back.


    CONTENTS:
    • Option One: To Start, Stop, and Disable Services in Services Window
    • Option Two: To Start and Stop Services using net Command
    • Option Three: To Start, Stop, and Disable Services using Sc Command
    • Option Four: To Start, Stop, and Restart Services in Task Manager
    • Option Five: To Start, Stop, and Disable Services in Registry Editor







    Services - Start, Stop, and Disable in Windows 10 OPTION ONE Services - Start, Stop, and Disable in Windows 10
    To Start, Stop, and Disable Services in Services Window

    1. Do step 2 or step 3 below for how you would like to open the Services snap-in window.

    2. Press the Windows+R keys to open the Run dialog, type services.msc, press Enter, and go to step 4 below.

    3. Open the Control Panel (icons view), click/tap on the Administrative Tools icon, double click/tap on Services shortcut, close Administrative Tools, and go to step 4 below.

    4. Do step 5 (stop), step 6 (enable/start), or step 7 (disable) below for what you would like to do. (see screenshots below)

    Note   Note
    "Startup Type" for Service
    • Automatic - With a service in this state, it will start at boot time. Some services, when no longer required, will also automatically stop when not needed. If you find you do not need a service, place it into Manual or Disabled.
    • Automatic (Delayed Start) - With a service in this state, it will start just after boot time. Some services, when no longer required, will also automatically stop when not needed. If you find you do not need a service, place it into Manual or Disabled.
    • Automatic (Delayed Start, Trigger Start) - With a service in this state, it will start just after boot when specifically called.
    • Manual (Trigger Start) - This is a version of Manual mode that allows Windows to start a service when specifically called and Microsoft’s answer to “too many services running all the time”.
    • Manual - Manual mode allows Windows to start a service when needed. However, very few services will start up when required in Manual mode. If you find you need a service, place it into Automatic.
    • Disabled - This setting will stop a service from starting, even if needed. Errors in the Event Viewer will show up complaining of that fact. Some services, while Disabled, will constantly complain. However, this situation is taken care of if placed in Manual. The service descriptions identifies those that should be in Manual vice Disabled.


    Click image for larger version. 

Name:	Services-1.png 
Views:	8999 
Size:	151.5 KB 
ID:	13872
    Click image for larger version. 

Name:	Services-2.png 
Views:	1826 
Size:	155.4 KB 
ID:	13873
    Click image for larger version. 

Name:	Services-3.png 
Views:	1507 
Size:	149.1 KB 
ID:	13874
    Click image for larger version. 

Name:	Services-4.png 
Views:	1989 
Size:	152.6 KB 
ID:	13875
    Click image for larger version. 

Name:	Services-5.png 
Views:	1239 
Size:	71.0 KB 
ID:	13876
     5. To Stop a Service

    A) Double click/tap on a service with a status of running that you want to stop. (see screenshot below step 4)

    B) Click/tap on the Stop button, wait until the service status shows as stopped, and go to step 8 below. (see left screenshot below step 8)

     6. To Enable/Start a Service

    A) Double click/tap on a service with no status that you want to start. (see screenshot below step 4)

    B) If the Startup type of the service is set to Disabled, then you will need to change it to either Manual, Automatic, or Automatic (Delayed Start) first, and click/tap on Apply. (see right screenshot below step 8)

    C) Click/tap on the Start button, and wait until the service status shows as running, and go to step 8 below. (see left screenshot below step 8)

     7. To Disable a Service

    A) Double click/tap on a service with that you want to disable. (see screenshot below step 4)

    B) If the service shows a status of running, then click/tap on the Stop button, and wait until the service status shows as stopped. (see left screenshot below step 8)

    C) Change the Startup type to Disabled, and go to step 8 below. (see right screenshot below step 8)

    8. When finished, click/tap on OK, and close the Services window. (see screenshots below)

    Click image for larger version. 

Name:	Services-6.png 
Views:	3101 
Size:	38.0 KB 
ID:	13877






    Services - Start, Stop, and Disable in Windows 10 OPTION TWO Services - Start, Stop, and Disable in Windows 10
    To Start and Stop Services using net Command

    1. Open an elevated command prompt, and do step 2 (stop) or step 3 (start) below for what you would like to do.


     2. To Stop a Service using "Net Stop" Command in Command Prompt

    A) In the elevated command prompt, type either command below, press Enter, and go to step 4 below. (see screenshots below)

    NOTE: The Display name of a service is the name displayed in the Services snap-in window, and in the service's properties.

    net stop "service name"

    OR

    net stop "display name of service"

    Name:  Service-Display_Name.png
Views: 227595
Size:  22.4 KB

    Note   Note
    For example:

    If I wanted to stop the HomeGroup Listener (display name) or HomeGroupListener (service name) service, I would type either command below exactly in the command prompt, and press Enter.

    net stop "HomeGroup Listener"

    OR

    net stop "HomeGroupListener"


    Click image for larger version. 

Name:	net_stop.png 
Views:	461 
Size:	24.8 KB 
ID:	13861

     3. To Start a Service using "Net Start" Command in Command Prompt

    A) In the elevated command prompt, type either command below, press Enter, and go to step 4 below. (see screenshot below)

    NOTE: The Display name of a service is the name displayed in the Services snap-in window, and in the service's properties.

    net start "service name"

    OR

    net start "display name of service"

    Note   Note
    For example:

    If I wanted to start the HomeGroup Listener (display name) or HomeGroupListener (service name) service, I would type either command below exactly in the command prompt, and press Enter.

    net start "HomeGroup Listener"

    OR

    net start "HomeGroupListener"


    Click image for larger version. 

Name:	net_start.png 
Views:	360 
Size:	26.3 KB 
ID:	13860

    4. When finished, you can close the elevated command prompt.






    Services - Start, Stop, and Disable in Windows 10 OPTION THREE Services - Start, Stop, and Disable in Windows 10
    To Start, Stop, and Disable Services using Sc Command

    1. Open an elevated command prompt, and do step 2 (stop), step 3 (disable), step 4 (enable), or step 5 (start) below for what you would like to do.


     2. To Stop a Service using "Sc Stop" Command in Command Prompt

    A) In the elevated command prompt, type the command below, press Enter, and go to step 6 below.

    NOTE: The Service name of a service is displayed in the service's properties.

    sc stop "service name"

    Name:  Service_Name.png
Views: 226953
Size:  22.3 KB
    Note   Note
    For example:

    If I wanted to stop the HomeGroup Listener service, I would type the command below using the HomeGroupListener (service name) exactly in the command prompt, and press Enter.

    sc stop "HomeGroupListener"


    Click image for larger version. 

Name:	sc_stop.png 
Views:	419 
Size:	34.3 KB 
ID:	13866

     3. To Disable a Service using "Sc Config" Command in Command Prompt

    A) Do step 2 above to stop the service, and return to continue with step 3B below.

    B) In the elevated command prompt, type the command below, press Enter, and go to step 6 below.
    NOTE: The Service name of a service is displayed in the service's properties.

    sc config "service name" start=disabled

    Note   Note
    For example:

    If I wanted to disable the HomeGroup Listener service, I would type the command below using the HomeGroupListener (service name) exactly in the command prompt, and press Enter.

    sc config "HomeGroupListener" start=disabled


    Click image for larger version. 

Name:	sc_config-1.png 
Views:	318 
Size:	24.6 KB 
ID:	13862

     4. To Enable a Service using "Sc Config" Commands

    A) If the Startup type of the service is set to Disabled, then in the elevated command prompt, type the command below using the startup type you want to set instead, and press Enter.

    Note   Note
    The Service name of a service is displayed in the service's properties.


    "Startup Type" for Service
    • Manual (demand) - Manual mode allows Windows to start a service when needed. However, very few services will start up when required in Manual mode. If you find you need a service, place it into Automatic.
    • Automatic (auto) - With a service in this state, it will start at boot time. Some services, when no longer required, will also automatically stop when not needed. If you find you do not need a service, place it into Manual or Disabled.
    • Automatic (Delayed Start) (delayed-auto) - With a service in this state, it will start just after boot time. Some services, when no longer required, will also automatically stop when not needed. If you find you do not need a service, place it into Manual or Disabled.



    sc config "service name" start=demand

    OR

    sc config "service name" start=auto

    OR

    sc config "service name" start=delayed-auto

    Note   Note
    For example:

    If I wanted to set the startup type for the HomeGroup Listener service to Manual, I would type the command below using the HomeGroupListener (service name) exactly in the command prompt, and press Enter.

    sc config "HomeGroupListener" start=demand


    Click image for larger version. 

Name:	sc_config-2.png 
Views:	274 
Size:	24.4 KB 
ID:	13863

    B) If you would like to start the service, then go to step 5 below. Other wise go to step 6 below.


     5. To Start a Service using "Sc Start" Command

    A) If not already, you will need to enable the service using step 4 above first.

    B) In the elevated command prompt, type the command below, press Enter, and go to step 6 below.

    sc start "service name"

    Note   Note
    For example:

    If I wanted to start the HomeGroup Listener service, I would type the command below using the HomeGroupListener (service name) exactly in the command prompt, and press Enter.

    sc start "HomeGroupListener"


    Click image for larger version. 

Name:	sc_start.png 
Views:	319 
Size:	35.9 KB 
ID:	13864

    6. When finished, you can close the elevated command prompt.






    Services - Start, Stop, and Disable in Windows 10 OPTION FOUR Services - Start, Stop, and Disable in Windows 10
    To Start, Stop, and Restart Services in Task Manager

    1. Open Task Manager, and click/tap on the Services tab. (see screenshot below)

    2. Do step 3, step 4, or step 5 below for what you would like to do.


     3. To Start a Service

    A) Right click or press and hold on a service (ex: HomeGroupListener), click/tap on Start, and go to step 6 below.

     4. To Stop a Service

    A) Right click or press and hold on a service (ex: HomeGroupListener), click/tap on Stop, and go to step 6 below.

     5. To Restart a Service

    NOTE: You will not be able to restart a service if it is stopped. The service's status needs to show as "running" (start) before you will be able to restart it.

    A) Right click or press and hold on a service (ex: HomeGroupListener), click/tap on Restart, and go to step 6 below.

    6. When finished, you can close Task Manager if you like.

    Click image for larger version. 

Name:	Task_Manager_Services.png 
Views:	1339 
Size:	78.2 KB 
ID:	13919






    Services - Start, Stop, and Disable in Windows 10 OPTION FIVE Services - Start, Stop, and Disable in Windows 10
    To Start, Stop, and Disable Services in Registry Editor

    1. First, open services.msc and double click/tap on the service to see what the "Service name" is for the service. This will be the Service name you will need to use for the registry key in step 4 below.

    Name:  Service_Name.png
Views: 226953
Size:  22.3 KB

    2. Press the Windows + R keys to open the Run dialog, type regedit, and press Enter.

    3. If prompted by UAC, then click/tap on Yes.

    4. In Registry Editor, go to the location below: (see screenshot below)

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Service name

    Note   Note
    Substitute Service name in the location above with the actual service name from step 1 above.

    For example: The "Service name" for the HomeGroup Listener service is HomeGroupListener, so I would go to this location in the registry.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HomeGroupListener



    Click image for larger version. 

Name:	service_registry-1.png 
Views:	503 
Size:	40.8 KB 
ID:	13868

    5. In the left pane of the Service name (ex: HomeGroupListener), double click on the Start DWORD to modify it. (see screenshot below)

    6. Type in a data value from the table below for Start for what you would like, then click/tap on OK. (see screenshot below)


    Name:  service_registry-2.png
Views: 224423
Size:  8.9 KB

    Startup Type DWORD "Data" Value
    Automatic (Delayed Start) DelayedAutostart = 1

    Start = 2
    Automatic DelayedAutostart = 0

    Start = 2
    Manual DelayedAutostart = 0

    Start = 3
    Disabled DelayedAutostart = 0

    Start = 4

    7. If needed, double click/tap on the DelayedAutostart DWORD to modify it's data value (0 or 1) to what's in the table above for what you want it set as, and click/tap on OK. (see screenshot below)

    Note   Note
    If the DelatedAutostart DWORD is not there, then you can right click on an empty area in the right pane, click on New and DWORD (32-bit) Value, type DelatedAutostart, and press Enter to add it. If DelatedAutostart is not there, then it will be the same as it being set to 0 (zero).


    Name:  service_registry-3.png
Views: 224379
Size:  9.3 KB

    8. When finished, close Registry Editor, and restart the computer to apply.


    That's it,
    Shawn



  1. Joined : Aug 2015
    Posts : 120
    Windows 10 (duh)
       2015-08-06 #1

    Windows 10 is more robust, it won't allow you to disable critical services, no matter the method.
    Attached a batch file to reset all services (and optionally device drivers) to defaults.
    So you can mess with the services without worries, since you can quickly start fresh again.

    10services_default.bat
    Last edited by Brink; 2015-08-06 at 13:32. Reason: attached your uploaaded BAT file
      My System SpecsSystem Spec


  2. Joined : Apr 2016
    Posts : 1
    windows 10
       2016-04-18 #2

    Hi Shawn,
    I thank you for the tutorial on services in Windows 10
    I have a question for you
    I have developed a service,
    but I want my service to start first, my application works as follows:
    my service locks the Windows session and only when I connect my USB memory then starts the user session windows
    I tried to start my service to start adding the shortcut in the "Startup" folder but I can not get my service run first, many services starting before my service, such as antivirus starts first, also start the driver first printer, etc ..
    thanks for the help

    jlopez
      My System SpecsSystem Spec


 


Similar Threads
Tutorial Category
Solved Unable to Re-Start Windows Defender Services
A little background first, I downloaded a file and started to install it when Defender caught the virus, but didn't contain it. So I downloaded Malwarebytes to scan and remove the virus. After I loaded Malwarebytes I noticed I wasn't getting...
AntiVirus, Firewalls and System Security
Difference between the Manual and Manual (trigger start) services
Hi I noticed that some services of Windows 10 Preview although I set them on Manual, they are automatically set to "Manual (trigger start". Why? What is the difference between these two startup modes? Lastly, with these services, how do I set...
General Support
Stop/Start getting Insider Previews after RTM
This will, most likely, be the default procedure for opting out of 'Insider Preview Builds' on your copy Windows 10 Upgrade, and, not necessarily opting you out of the Insider Program per se, but this, of course, is not verified. Settings►Update...
Windows Insider
Solved Can I stop download in middle - will it start again where I stop it?
I have my personal laptop with me at work today. It is now downloading Win10 10166, but its at about 30% and I don't think it will finish by the time I get out of work (in about 30 minutes). Can I just shut down Windows in the middle of the download...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 22:41.
Find Us
Twitter Facebook Google+



Windows 10 Forums