Quantcast
Channel: Help & How To
Viewing all articles
Browse latest Browse all 5861

Start and stop services on Windows 11

$
0
0

Windows 11 manage services

You can control services on Windows 11, and in this guide, we'll show you four ways to do this.

On Windows 11, services are usually referred to as essential programs that run in the background to allow the system and applications to operate as intended with their corresponding features (such as printing, networking, authentication, etc.).

The system manages services automatically, but sometimes, you may need to control one or more services manually to troubleshoot and fix problems with an application or Windows features or when a program requires managing services manually.

Regardless of the reason, Windows 11 includes multiple ways to start, stop, enable, or disable services using the Services app, Task Manager, PowerShell, and Command Prompt.

In this Windows 11 guide, we will walk you through the different ways to start, stop, disable, or enable a system or service.

How to manage services using Services on Windows 11

If you want the easiest way to stop, start, disable, or enable a service on Windows 11, you can use the "Services" app.

Stop a service

To stop a service on Windows 11, use these steps:

  1. Open Start.
  2. Search for Services and click the top result to open the app.
  3. Double-click the service to stop.

    Services app select service

  4. Click the Stop button.

    Stop service on Windows 11

  5. Click the Apply button.
  6. Click the OK button.

Once you complete the steps, the service should stop. If the service doesn't stop running, you may be trying to stop a critical service required for the system to operate correctly.

Start a service

To start a service on Windows 11, use these steps:

  1. Open Start.
  2. Seach for Services and click the top result to open the app.
  3. Double-click the service to start.

    Services app select service

  4. Click the Start button.

    Start service on Windows 11

  5. Click the Apply button.
  6. Click the OK button.

After you complete the steps, the service should start immediately.

Disable a service

To disable a service, use these steps:

  1. Open Start.
  2. Search for Services and click the top result to open the app.
  3. Double-click the service to disable.

    Services app select service

  4. Click the Stop button (if applicable).
  5. Select the Disabled option from the "Start menu" drop-down menu.

    Windows 11 disable service

  6. Click the Apply button.
  7. Click the OK button.

Once you complete the steps, the service will no longer run on the device after restarting the computer. If you click the "Stop" button, the service will stop immediately.

Enable a service

To enable a service on Windows 11 using the Services app, use these steps:

  1. Open Start.
  2. Search for Services and click the top result to open the app.
  3. Double-click the service to enable.

    Services app select service

  4. Click the Start button.
  5. Select the how to start the service option:

    • Automatic: Starts the service automatically during start.
    • Automatic (Delayed Start): Starts the service automatically but after the system loads.
    • Manual: Allows users to start the service manually or through another service that the user tries to start.
    • Disabled: Keeps the service stopped regardless of whether it is needed or not.

    Windows 11 enable services

  6. Click the Apply button.

  7. Click the OK button.

After you complete the steps, the service will enable after restarting the computer. If you want to run the service immediately, you also need to click the Start button.

You can also right-click the service and select the state. Or you can choose the service and choose the action (start, stop, pause, or restart) from the command bar at the top of the app.

How to manage services using Task Manager on Windows 11

On Windows 11, Task Manager includes the "Services" tab that allows you to manage services.

To stop or restart a service through Task Manager, use these steps:

  1. Open Start.
  2. Search for Task Manager and click the top result to open the app.

    Quick note: You can also right-click the Start button and select the Task Manager. Or use the Ctrl + Shift + Esc keyboard shortcut to open the app.

  3. Click the Services tab.
  4. Right-click the service and select the action:
  • Start.
  • Stop.
  • Restart.

    Task Manager services

Once you complete the steps, the service will start, stop, or restart, depending on your selected option.

When using Task Manager, consider that you can't disable or configure the service to start automatically.

How to manage services using Command Prompt on Windows 11

You can also use Command Prompt with the "net" (legacy) and "sc" (modern) command to disable, enable, stop, or start services on your computer.

Stop a service

To stop a service from an app or Windows 11 with Command Prompt, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to view the available services and press Enter:

    sc queryex state=all type=service

    Sc Queryex list services

  4. Type the following command to stop one service with Command Prompt and press Enter:

    net stop "SERVICE-NAME"

    In the command, replace "SERVICE-NAME" for the name of the service. The quotation marks are only needed if there's a space within the name.

    This example stops the printer spooler from using the service name on Windows 11:

    net stop "spooler"

    net stop service command

  5. (Optional) Type the following (different) command to stop a service and press Enter:

    sc stop "spooler"

After you complete the steps, the Command Prompt command will stop the Windows 11 or app service.

Start a service

To use Command Prompt to start a service, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to view the available services and press Enter:

    sc queryex state=all type=service

    Sc Queryex list services

  4. Type the following command to start a service with Command Prompt and press Enter:

    net start "SERVICE-NAME"

    In the command, replace "SERVICE-NAME" for the name of the service.

    This example starts the printer spooler using the service name on Windows 11:

    net start "spooler"

    net start service command

  5. (Optional) Type the following (different) command to start a service and press Enter:

    sc start "spooler"

After you complete the steps, the command will start the service on your computer.

Disable a service

To disable a service on Windows 11 with commands, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to view the available services and press Enter:

    sc queryex state=all type=service

    Sc Queryex list services

  4. Type the following command to disable a service with Command Prompt and press Enter:

    sc config "SERVICE-NAME" start=disabled

    In the command, replace "SERVICE-NAME" for the name of the service. The quotation marks are only needed if there's a space within the name.

    This example disables the printer spooler using the service name on Windows 11:

    sc config "spooler" start=disabled

    Sc Config Disable Service

    Quick note: When you use the disable option on Windows 11, it doesn't stop the current state of the service. If you want to stop immediately, you can restart the computer or stop the service using the following command.

  5. (Optional) Type the following command to stop a service and press Enter:

    sc stop "SERVICE-NAME"

Once you complete the steps, the Command Prompt command will be disabled on Windows 11.

Enable a service

To enable a service with Command Prompt, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to view the available services and press Enter:

    sc queryex state=all type=service

    Sc Queryex list services

  4. Type the following command to enable a service and press Enter:

    sc config "SERVICE-NAME" start=auto

    In the command, replace "SERVICE-NAME" for the name of the service.

    This example enables the printer spooler:

    sc config "spooler" start=auto

    Sc config start auto command

  5. (Optional) Type the following command to start a service with the "Manual" option and press Enter:

    sc config "SERVICE-NAME" start=demand

  6. (Optional) Type the following command to start a service with the "Automatic Delayed" option and press Enter

    sc config "SERVICE-NAME" start=delayed-auto

  7. (Optional) Type the following command to start a service immediately and press Enter:

    sc start "SERVICE-NAME"

After you complete the steps, the service will start immediately.

How to manage services using PowerShell on Windows 11

If you need to create a script or use commands, PowerShell also lets you manage system and app services.

Stop a service

To stop a service with PowerShell, use these steps:

  1. Open Start.
  2. Search for PowerShell, right-click the top result, and select the Run as administrator option.
  3. Type the following command to view the available services and press Enter:

    Get-Service

    Get-Services command

  4. Type the following command to stop a service on Windows 11 and press Enter:

    Stop-Service -Name "SERVICE-NAME"

    In the command, change "SERVICE-NAME" with the name of the service to stop. If you want to use the service's display name, then replace -Name for -DisplayName and specify the service name.

    This example stops the printer spooler on Windows 11:

    Stop-Service -Name "spooler"

    Stop-Service command

  5. (Optional) Type the following variant of the command also to stop a service and press Enter:

    Set-Service -Name "SERVICE-NAME" -Status stopped

    In the command, change "SERVICE-NAME" with the name of the service to stop.

  6. (Optional) Type the following command to force stop a service that results in dependency errors using the previous commands and press Enter:

    Set-Service -Name "SERVICE-NAME" -Force

Once you complete the steps, the PowerShell command will stop the Windows 11 or app service.

Start a service

To start a service on Windows 11 with PowerShell, use these steps:

  1. Open Start.
  2. Search for PowerShell, right-click the top result, and select the Run as administrator option.
  3. Type the following command to view the available services and press Enter:

    Get-Service

    Get-Services command

  4. Type the following command to start a service on Windows 11 with PowerShell and press Enter:

    Start-Service -Name "SERVICE-NAME"

    In the command, change "SERVICE-NAME" with the name of the service to start.

    This command starts the printer spooler service on Windows 11:

    Start-Service -Name "spooler"

    Start-Service command

  5. (Optional) Type the following variant of the command also to start a service and press Enter:

    Set-Service -Name "SERVICE-NAME" -Status running

    In the command, change "SERVICE-NAME" with the name of the service to start.

After you complete the steps, the command will start the service immediately.

Disable a service

To disable a service with PowerShell commands, use these steps:

  1. Open Start.
  2. Search for PowerShell, right-click the top result, and select the Run as administrator option.
  3. Type the following command to view the available services and press Enter:

    Get-Service

    Get-Services command

  4. Type the following command to stop a service and press Enter:

    Stop-Service -Name "SERVICE-NAME"

    In the command, change "SERVICE-NAME" with the name of the service to stop. If you want to use the service's display name, then replace -Name for -DisplayName and specify the service name.

    This example stops the printer spooler on Windows 11:

    Stop-Service -Name "spooler"

  5. Type the following command to disable a service on Windows 11 and press Enter:

    Set-Service -Name "SERVICE-NAME" -Status stopped -StartupType disabled

    In the command, change "SERVICE-NAME" with the name of the service to disable. You can also use the -DisplayName option instead of -Name to use the service's display name.

    This example disables the printer spooler service:

    Set-Service -Name "spooler" -Status stopped -StartupType disabled

    PowerShell disable service

  6. (Optional) Type the following command to disable the service without stopping it immediately and press Enter:

    Set-Service -Name "SERVICE-NAME" -StartupType disabled

Once you complete the steps, PowerShell will disable the service you specified.

Enable a service

To enable a service with PowerShell on Windows 11, use these steps:

  1. Open Start.
  2. Search for PowerShell, right-click the top result, and select the Run as administrator option.
  3. Type the following command to view the available services and press Enter:

    Get-Service

    Get-Services command

  4. Type the following command to enable a service and press Enter:

    Set-Service -Name "SERVICE-NAME" -Status running -StartupType automatic

    In the command, change "SERVICE-NAME" with the name of the service to enable. You can also use the -DisplayName option instead of -Name to use the service's display name. In this case, you may be able to use the display -DisplayName option. However, the command may prompt you to enter the name of the service, adding an extra step to the overall process.

    This example enables the printer spooler service:

    Set-Service -Name "spooler" -Status running -StartupType automatic

    PowerShell enable service

  5. (Optional) Type the following command to enable the service without starting it immediately and press Enter:

    Set-Service -Name "SERVICE-NAME" -StartupType automatic

After you complete the steps, the PowerShell command will enable the service on Windows 11.

More Windows resources

For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources:

Template: 
Rating: 
0.00

Viewing all articles
Browse latest Browse all 5861

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>