System Enable and Disable Services in Windows 11


  • Staff
Services_banner.png

Services are an application type that runs in the system background without a user interface. Services provide core operating system features (such as printing, networking, remote access, File Explorer, Windows Search, updates, etc.) and apps to operate as intended.

Usually, Windows does a great job of automatically managing services, but sometimes you may need to manually enable or disable a service on demand.
  • If you disable a service, any dependent services are also affected. Enabling 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.
Startup Type for services
  • Automatic - A service in this state 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) - A service in this state 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) - A service in this state 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.
This tutorial will show you how to enable and disable services in Windows 11.

You must be signed in as an administrator to enable and disable services.


It is not recommended to disable services unless you know what they affect, and willing to accept the risks.

It is highly recommended 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 a service and lost access to the computer, then try booting into Safe Mode to enable the service.



Contents

  • Option One: Enable and Disable Services in Services Console
  • Option Two: Enable and Disable Services in Command Prompt
  • Option Three: Enable and Disable Services in PowerShell





OPTION ONE

Enable and Disable Services in Services Console


1 Open Services (services.msc).

2 Double click/tap on the service (ex: "Windows Update") you want to enable or disable to open its properties page. (see screenshot below)

Services-1.png

3 Do step 4 (enable) or step 5 (disable) below for what you want.


4 Enable Service

A) Select Automatic (Delayed Start), Automatic, or Manual in the Startup type drop menu for what you want, and click/tap on Apply. (see screenshot below)​

B) Click/tap on Start if you want the service running, and wait until the "Servicing status" shows as Running.​

Skip this step if you do not want the service running.


C) Click/tap on OK.​

D) Go to step 6.​

Services-2.png


5 Stop and Disable Service

A) Select Disabled in the Startup type drop menu, and click/tap on Apply. (see screenshot below)​

B) Click/tap on Stop.​

C) When "Servicing status" shows as Stopped, click/tap on OK.​

D) Go to step 6.​

Services-3.png

6 You can now close the Services console if you like.





OPTION TWO

Enable and Disable Services in Command Prompt


1 Open Windows Terminal (Admin), and select Command Prompt.

2 Do step 3 (check state), step 4 (enable), or step 5 (disable) below for what you want.


 3. Check Current State of All Services

For more Sc queryex command usage details, see: Sc queryex | Microsoft Docs


A) Copy and paste the command below into the elevated command prompt, press Enter. (see screenshot below)​

sc queryex state=all type=service

B) You will now see the current State of all services.​

sc_queryex.png


 4. Enable Service

For more Sc config command usage details, see: Sc config | Microsoft Docs

For more Sc start command usage details, see: Sc start | Microsoft Docs


A) Type the command below you want into the elevated command prompt, press Enter, and go to step 6 below. (see screenshot below)​

Enable Service:

(Automatic (Delayed Start))​
sc config "service name" start=delayed-auto

OR​

(Automatic)​
sc config "service name" start=auto

OR​

(Manual)​
sc config "service name" start=demand


Enable and Start Service:

(Automatic (Delayed Start))​
sc config "service name" start=delayed-auto && sc start "service name"

OR​

(Automatic)​
sc config "service name" start=auto && sc start "service name"

OR​

(Manual)​
sc config "service name" start=demand && sc start "service name"

Substitute service name in the commands above with the service name (ex: "wuauserv") for the service (ex: "Windows Update") you want to enable.

For example: sc config "wuauserv" start=demand && sc start "wuauserv"


enable_service_command.png



 5. Stop and Disable Service

For more Sc config command usage details, see: Sc config | Microsoft Docs

For more Sc stop command usage details, see: Sc stop | Microsoft Docs


A) Type the command below into the elevated command prompt, press Enter, and go to step 6 below. (see screenshot below)​

sc stop "service name" && sc config "service name" start=disabled

Substitute service name in the command above with the service name (ex: "wuauserv") for the service (ex: "Windows Update") you want to stop and disable.

For example: sc stop "wuauserv" && sc config "wuauserv" start=disabled


disable_service_command.png


6 You can now close the elevated command prompt if you like.






OPTION THREE

Enable and Disable Services in PowerShell


1 Open Windows Terminal (Admin), and select Windows PowerShell.

2 Do step 3 (check status), step 4 (enable), or step 5 (disable) below for what you want.


 3. Check Current State of All Services

For more Get-Service command usage details, see: Get-Service | Microsoft Docs


A) Copy and paste the command below into the elevated command prompt, press Enter. (see screenshot below)​

Get-Service | Format-Table -Auto

B) You will now see the current Status of all services.​

Get_Service.png


 4. Enable Service

For more Set-Service command usage details, see: Set-Service | Microsoft Docs


A) Type the command below you want into the elevated PowerShell, press Enter, and go to step 6 below. (see screenshot below)​

Enable Service:

(Automatic (Delayed Start))​
Set-Service -Name "service name" -StartupType AutomaticDelayedStart

OR​

(Automatic)​
Set-Service -Name "service name" -StartupType Automatic

OR​

(Manual)​
Set-Service -Name "service name" -StartupType Manual


Enable and Start Service:

(Automatic (Delayed Start))​
Set-Service -Name "service name" -StartupType AutomaticDelayedStart -Status Running

OR​

(Automatic)​
Set-Service -Name "service name" -StartupType Automatic -Status Running

OR​

(Manual)​
Set-Service -Name "service name" -StartupType Manual -Status Running

Substitute service name in the commands above with the service name (ex: "wuauserv") for the service (ex: "Windows Update") you want to enable.

For example: Set-Service -Name "wuauserv" -StartupType Manual -Status Running


Set-Service_enable.png



 5. Stop and Disable Service

For more Set-Service command usage details, see: Set-Service | Microsoft Docs


A) Type the command below into the elevated PowerShell, press Enter, and go to step 6 below. (see screenshot below)​

Set-Service -Name "service name" -StartupType Disabled -Status Stopped

Substitute service name in the command above with the service name (ex: "wuauserv") for the service (ex: "Windows Update") you want to stop and disable.

For example: Set-Service -Name "wuauserv" -StartupType Disabled -Status Stopped


Set-Service_disable.png


6 You can now close the elevated PowerShell if you like.


That's it,
Shawn Brink


 

Attachments

  • services.png
    services.png
    10 KB · Views: 55
Last edited:

abactuon

Active member
Member
Local time
3:28 PM
Posts
209
OS
Microsoft Windows 11 Home
You also need to look at the dependence of services on other services.

Get-Service | Format-Table -Property DisplayName, DependentServices -Wrap -Autosize

For example
_s.png
 

My Computer

System One

  • OS
    Microsoft Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    ASUS TUF Dash F15 FX516PM_FX516PM
    CPU
    Intel Core i7-11370H
    Motherboard
    ASUS FX516PM
    Memory
    Micron 4ATF1G64HZ-3G2E2/8G + Patriot PSD416G320081S
    Graphics Card(s)
    NVIDIA GeForce RTX 3060 Laptop
    Sound Card
    Intel Tiger Lake-U/Y PCH-LP - cAVS (Audio, Voice, Speech)
    Monitor(s) Displays
    LM156LF-2F03
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. Noname 128GB SSD
    2. HFM512GD3JX013N
    PSU
    200W
    Mouse
    Corsair KATAR PRO XT
    Internet Speed
    70 Mbps
    Browser
    Firefox
    Antivirus
    Microsoft Defender Antivirus

abactuon

Active member
Member
Local time
3:28 PM
Posts
209
OS
Microsoft Windows 11 Home
Run with dependent services?

Get-Service <servicename> | Foreach { Start-Service $_.Name -PassThru; Start-Service $_.DependentServices -PassThru}
 

My Computer

System One

  • OS
    Microsoft Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    ASUS TUF Dash F15 FX516PM_FX516PM
    CPU
    Intel Core i7-11370H
    Motherboard
    ASUS FX516PM
    Memory
    Micron 4ATF1G64HZ-3G2E2/8G + Patriot PSD416G320081S
    Graphics Card(s)
    NVIDIA GeForce RTX 3060 Laptop
    Sound Card
    Intel Tiger Lake-U/Y PCH-LP - cAVS (Audio, Voice, Speech)
    Monitor(s) Displays
    LM156LF-2F03
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. Noname 128GB SSD
    2. HFM512GD3JX013N
    PSU
    200W
    Mouse
    Corsair KATAR PRO XT
    Internet Speed
    70 Mbps
    Browser
    Firefox
    Antivirus
    Microsoft Defender Antivirus

Latest Tutorials

Top Bottom