GeekPolice Tech TutorialsLog in

 


How to To Find Out and Stop Services Running in Windows 10 Using Powershell

Share

20180404
How to To Find Out and Stop Services Running in Windows 10 Using Powershell

How to To Find Out and Stop Services Running in Windows 10 Using Powershell

Windows 10 is such a bulky operating system that it carries a lot of residual programs along itself while executing even the lightest program. There are many unwanted services which keep on running in the background. Powershell lets you find these services and to stop them at will using Stop-Service cmdlet command.

First, you'll need to open PowerShell as an Administrator. To open an elevated PowerShell prompt, in the taskbar search bar, type powershell. Now see the result Windows PowerShell which appears on the top. Right-click on it and select Run as Administrator

In the PowerShell window, type the following command and hit Enter:

Code:

Get-Service | where status –eq “Running” | Out-GridView




Executing this cmdlet command will open up a wizard. It’ll have the list of all the running services.

To check the services those have stopped, type the following command and hit Enter:

Code:

Get-Service | Where-Object {$_.status -eq “stopped”}






How to Stop Running Services

The Stop-Service cmdlet sends a stop message to the Windows Service Controller for each of the specified services. You can specify the services by their service names or display names, or you can use the InputObject parameter to pass a service object that represents the service that you want to stop.

To stop a service on the local computer, type the following command and hit Enter:

Code:

Stop-Service -Name "sysmonlog"


This command stops the Performance Logs and Alerts (SysmonLog) service on the local computer.


Stop a service by using the display name, type the following command and hit Enter:

Code:

Stop-Service -DisplayName "Windows Update" -Force -Confirm




This command stops the "Windows Update" service on the local computer. The -Force parameter is required to stop a service that has dependent services. The command uses the -Confirm parameter to request confirmation from the user before it stops each service.


Did you find this tutorial helpful? Don’t forget to share your views with us.
remove_circleSimilar topics

Comments

No Comment.
Permissions in this forum:
You cannot reply to topics in this forum