banner



How To Prevent A Windows Service From Being Stopped

Windows 10 manage services
Windows 10 manage services (Epitome credit: Windows Central)

On Windows 10, services are programs that run in the background without a user interface and enable system features (such equally printing, networking, remote access, File Explorer, Windows Search, updates, etc.) and apps to operate as intended.

Although the system does a pretty good chore managing background services, sometimes, you may need to command them manually when a feature or app isn't working correctly, or an app requires yous to manage its services manually.

Whatever the case it might be, Windows 10 includes at least iv methods to stop, commencement, disable, or enable services using the Services console, Chore Director, Control Prompt, and PowerShell.

In this Windows 10 guide, we'll walk yous through the steps to manage arrangement and apps services on your computer.

  • How to manage services using Services console
  • How to manage services using Task Managing director
  • How to manage services using PowerShell
  • How to manage services using Control Prompt

How to manage services using Services console

Using the Services consoles is perhaps the simplest method to stop, commencement, disable, or enable one or multiple services on Windows x.

Stop service

To stop a running service using Services, utilise these steps:

  1. Open Beginning.
  2. Search for Services and click the height result to open up the console.
  3. Double-click the service that you intend to stop.
  4. Click the Stop button.Quick tip: You can as well manage the land past right-clicking the service and selecting the selection. Or yous can select the service then use the controls at the top to start, stop, pause, or restart.

Source: Windows Central (Paradigm credit: Source: Windows Central)
  1. Click the Use button.
  2. Click the OK button.

One time you lot complete the steps, the service will finish running on the device.

If you're unable to stop a system service, consider that some services are required for the operation of Windows ten, and they tin't be stopped.

Start service

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

  1. Open Start.
  2. Search for Services and click the meridian result to open the console.
  3. Double-click the service that you intend to stop.
  4. Click the Start button.

Source: Windows Central (Image credit: Source: Windows Key)
  1. Click the Utilize push.
  2. Click the OK push.

Afterwards you complete the steps, the service you specified will start for the current session.

Disable service

To set a service a disabled, use these steps:

  1. Open Start.
  2. Search for Services and click the peak upshot to open up the console.
  3. Double-click the service that y'all intend to terminate.
  4. Click the Stop button.
  5. Employ the "Start type" driblet-down card and select the Disabled selection.

Source: Windows Fundamental (Paradigm credit: Source: Windows Central)
  1. Click the Utilise button.
  2. Click the OK push.

Once y'all consummate the steps, the service will no longer offset automatically afterwards restarting your device.

Enable service

To enable a specific service, use these steps:

  1. Open Outset.
  2. Search for Services and click the top result to open the panel.
  3. Double-click the service that you lot intend to cease.
  4. Click the Starting time button.
  5. Use the "Start blazon" drib-downwardly bill of fare and select the Automatic option.These are the Startup types on Windows 10:
    • Automatic – service starts at kick.
    • Automatic (Delayed First) – service starting time subsequently boot.
    • Manual – starts service manually as needed.
    • Disabled – stops service from running.

Source: Windows Cardinal (Image credit: Source: Windows Primal)
  1. Click the Use button.
  2. Click the OK push.

After you complete the steps, the Windows 10 or app service will enable, but if it was in a stopped state, you'd need to start it manually or restart the device for the service to run.

How to manage services using Job Manager

Task Manager also includes a section to rapidly manage services for Windows ten and apps.

To terminate, starting time, or restart a service using Task Manager, utilize these steps:

  1. Open First.
  2. Search for Job Manager and click the top result to open the app.Quick tip: Windows x includes many other ways to open the experience, including right-clicking the taskbar and selecting the Task Manager option and using the Ctrl + Shift + ESC keyboard shortcut.
  3. Click the Services tab.
  4. Right-click the service proper noun, and select one of the options:
    • Stop.
    • Start.
    • Restart.
    Quick note: Task Managing director just displays the service name, not the brandish proper noun. For example, if you're using this method, y'all'll the "Print Spooler" defined every bit "Spooler."

Source: Windows Central (Image credit: Source: Windows Central)

Once you consummate the steps, the service will respond to the option you selected.

How to manage services using PowerShell

Yous can as well employ PowerShell commands to manage groundwork services for Windows ten and apps.

End service

To finish a specific service with PowerShell, use these steps:

  1. Open up Start.
  2. Search for PowerShell, right-click the top event, and select the Run equally administrator choice.
  3. (Optional) Type the following control to view a listing of all the services and press Enter:Get-Service

Source: Windows Central (Image credit: Source: Windows Central)
  1. Type the post-obit control to stop a service and printing Enter:Stop-Service -Proper noun "SERVICE-Proper noun"For example, this command stops the printer spooler service on Windows 10:Stop-Service -Name "spooler"In the command, supercede "SERVICE-Proper noun" for the proper name of the service that you intend to stop. If y'all want to utilize the display proper name, supersede -Name for -DisplayName and so specify the display proper noun of the service.Alternatively, yous can also utilize this variant of the command to cease the service:Set up-Service -Name "SERVICE-Proper name" -Status stoppedIn the command, supervene upon "SERVICE-Proper name" for the proper name of the service that you intend to end. If y'all want to use the brandish name, supervene upon -Name for -DisplayName and then specify the display name of the service. Y'all only need the quotation marks if there's a space within the proper noun.Quick tip: If you lot're getting a dependency error, y'all can append the -force option in either of the commands to stop the service. For example, Stop-Service -Name "SERVICE-Proper name" -Force.

Source: Windows Cardinal (Prototype credit: Source: Windows Key)

Source: Windows Central (Image credit: Source: Windows Central)

After yous complete the steps, the PowerShell control will end the service on your device.

Start service

To start a Windows 10 or app service with PowerShell, utilize these steps:

  1. Open Start.
  2. Search for PowerShell, right-click the pinnacle result, and select the Run as ambassador option.
  3. Blazon the following command to showtime a service and press Enter:Start-Service -Proper name "SERVICE-NAME"For example, this command starts the printer spooler service on Windows 10:Start-Service -Name "spooler"In the control, replace "SERVICE-NAME" for the name of the service. Using the display name is supported, replacing -Name for -DisplayName and then specify the brandish name of the service.Alternatively, yous tin can also use this variant of the command to offset a service:Prepare-Service -Name "SERVICE-Name" -Status runningIn the command, supervene upon "SERVICE-NAME" for the name of the service. If y'all want to use the display name, replace -Proper name for -DisplayName and then specify the brandish name of the service.

Source: Windows Central (Prototype credit: Source: Windows Central)

Source: Windows Key (Image credit: Source: Windows Central)

Once you complete the steps, the service volition offset on your computer.

Disable service

To disable a service using a PowerShell command, employ these steps:

  1. Open up First.
  2. Search for PowerShell, correct-click the tiptop result, and select the Run as administrator option.
  3. Blazon the post-obit control to disable a service and press Enter:Set-Service -Name "SERVICE-NAME" -Status stopped -StartupType disabledIn the control, update "SERVICE-Proper name" for the proper name of the service. If yous desire to use the brandish proper name of the service, then replace -Proper noun for -DisplayName and specify the service name. If y'all desire to disable the service without stopping information technology immediately, you can remove the -Condition stopped portion of the command.For example, this command disables the printer spooler service on Windows 10:Prepare-Service -Name "spooler" -Condition stopped -StartupType disabled

Source: Windows Central (Paradigm credit: Source: Windows Fundamental)

After you complete the steps, the PowerShell command will disable the specified service.

Enable service

To enable a specific groundwork service with PowerShell, utilize these steps:

  1. Open Starting time.
  2. Search for PowerShell, right-click the top result, and select the Run equally administrator selection.
  3. Type the following command to enable a service and press Enter:Set-Service -Name "SERVICE-Proper noun" -Status running -StartupType automaticFor example, this command enables the printer spooler service using PowerShell:Set-Service -Name "spooler" -Status running -StartupType automatic Quick note: Yous may able to employ the display -DisplayName option, but the command may too prompt you lot to supply the name of the service, adding an extra pace to the process. If you want to enable the service without starting it immediately, you can remove the -Status running portion of the control.

Source: Windows Key (Image credit: Source: Windows Central)

Once you consummate the steps, PowerShell will enable the service specified with the control.

How to manage services using Command Prompt

If you're comfy using the command line, Control Prompt offers the "internet" command (older) to cease or beginning, or the "sc" command (newer) to terminate, start, disable, or enable services on Windows 10.

Stop service

To stop a Windows ten or app service with Command Prompt, use these steps:

  1. Open up Start.
  2. Search for Control Prompt, correct-click the elevation event, and select the Run as administrator option.
  3. (Optional) Type the following command to view a listing of all the services and press Enter:sc queryex state=all blazon=service

Source: Windows Central (Image credit: Source: Windows Cardinal)
  1. Type the following control to end a service and printing Enter:net finish "SERVICE-Name"In the command, replace "SERVICE-NAME" for the name or display proper noun of the service. You but need the quotation marks if there's a space within the name.For example, this control stops the printer spooler using the service name:cyberspace stop "spooler"Alternatively, you can as well use the more than advanced "sc" command:sc stop "SERVICE-Proper name"For example, this command stops the printer spooler using the service name:sc cease "spooler"

Source: Windows Central (Image credit: Source: Windows Central)

Source: Windows Central (Image credit: Source: Windows Central)

After you complete the steps, the control will stop the specified service on Windows 10.

Start service

To kickoff a service with the control line, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the acme result, and select the Run as administrator pick.
  3. Type the post-obit command to start a service and press Enter:net start "SERVICE-Proper noun"In the control, replace "SERVICE-NAME" for the name or display proper noun of the service. You merely demand the quotation marks if there's a space inside the proper noun.For instance, this control starts the printer spooler using the service name:cyberspace showtime "spooler"Alternatively, you lot tin too use the "sc" command:sc outset "SERVICE-NAME"For example, this control starts the printer spooler using the service proper noun:sc offset "spooler"

Source: Windows Central (Image credit: Source: Windows Central)

Source: Windows Key (Prototype credit: Source: Windows Fundamental)

Once yous complete the steps, the control will execute and beginning the service you specified.

Disable service

To disable a service with Control Prompt, employ these steps:

  1. Open First.
  2. Search for Command Prompt, right-click the top consequence, and select the Run as administrator pick.
  3. Type the following command to disable a service and printing Enter:sc config "SERVICE-NAME" first=disabledIn the command, replace "SERVICE-NAME" for the name of the service that you want to disable.For example, this command disables printer spooler using the service name:sc config "spooler" start=disabled

Source: Windows Central (Prototype credit: Source: Windows Cardinal)
  1. (Optional) Type the following command to terminate the service and press Enter:sc stop "SERVICE-Name" Quick note: When yous disable a service, it doesn't stop the current country of the service. You tin can either restart your computer or stop the service using the to a higher place command.

After you consummate the steps, the sc command will run disabling the Windows 10 or app service you specified.

Enable service

To enable a service with a control, utilise these steps:

  1. Open Kickoff.
  2. Search for Control Prompt, correct-click the top consequence, and select the Run every bit administrator option.
  3. Blazon the post-obit command to enable a service and press Enter:sc config "SERVICE-Proper name" start=autoIn the control, replace "SERVICE-NAME" for the name of the service that you want to enable.For example, this command enables the printer spooler automatically using the service proper noun:sc config "spooler" first=autoThese are culling commands to enable a particular service:
    • Manual: sc config "SERVICE-NAME" kickoff=need
    • Automated Delayed: sc config "SERVICE-Proper noun" start=delayed-car

Source: Windows Central (Image credit: Source: Windows Central)
  1. (Optional) Type the following command to outset the service and press Enter:sc offset "SERVICE-Proper noun"

One time you lot consummate the steps, the service will enable and starting time automatically on reboot co-ordinate to the control yous used.

You can only utilize the "cyberspace" control to beginning or stop services. The "sc" command allows you to perform more tasks, including start, stop, enable, or disable services, among other options. If you're choosing to manage services with command lines, and so, in either instance, it'south best to use the service proper noun instead of the display name.

Also, when using any of the methods outlined above, consider that making modifications to the default settings can modify the functioning of one or more features that depend on that service negatively affecting the experience. Furthermore, if you restart a service, you might exist required to beginning its dependencies manually likewise to make the app or characteristic operational again.

We're focusing this guide on Windows ten, just the ability to manage services has been bachelor for several years, which means that you tin can refer to this guide if you're nonetheless running Windows 8.i, Windows 7, and older versions.

Mauro Huculak is technical author for WindowsCentral.com. His primary focus is to write comprehensive how-tos to assistance users get the virtually out of Windows 10 and its many related technologies. He has an IT groundwork with professional person certifications from Microsoft, Cisco, and CompTIA, and he'southward a recognized member of the Microsoft MVP community.

How To Prevent A Windows Service From Being Stopped,

Source: https://www.windowscentral.com/how-start-and-stop-services-windows-10

Posted by: leonmoneverel.blogspot.com

0 Response to "How To Prevent A Windows Service From Being Stopped"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel