
Quick note: When you disable a service, it doesn't stop the current state of the service.(Optional) Type the following command to stop the service and press Enter: sc stop "SERVICE-NAME".If you want to use the display name, replace -Name with -DisplayName and then specify the service's display name. In the command, replace "SERVICE-NAME" with the name of the service. Using the display name is supported, replacing -Name with -DisplayName and specifying the service's display name.Īlternatively, you can also use this variant of the command to start a service: Set-Service -Name "SERVICE-NAME" -Status running Type the following command to start a service and press Enter: Start-Service -Name "SERVICE-NAME"įor example, this command starts the printer spooler service on Windows 10: Start-Service -Name "spooler".Search for PowerShell, right-click the top result, and select the Run as administrator option.To start a Windows 10 or app service with PowerShell, use these steps: For example, Stop-Service -Name "SERVICE-NAME" -Force.Īfter you complete the steps, the PowerShell command will stop the service on your device.

Quick tip: If you're getting a dependency error, you can append the -force option in either of the commands to stop the service.

For example, if you're using this method, you'll the "Print Spooler" defined as "Spooler."
