Homepage 5 How-to Articles 5 How to Start/Stop Windows Service Remotely on Multiple Computers

How to Start/Stop Windows Service Remotely on Multiple Computers

Manage remote endpoints, deploy software and patches with Action1 cloud RMM solution.

Sign up and use free on up to 50 endpoints with no functionality limits or expiration.

March 22, 2019

Restarting a service is quite a common task to any system administrators, whether on a local system or a remote computer. Now let’s take look a number of ways how to start, stop, and restart a service remotely.

Get the Name of a Service

Before we dive into the ways to operate remote service, let’s check how to get the proper the name of the service first because it will be used by any command or PowerShell cmdlet listed below. One thing worth pointing out is that the names listed in Name column in Services MMC are not the service name used in the command lines below. They are just the Display Name of the services. You will need to open the service properties dialog to find.

start or stop windows service remotely

Method 1: Using Command SC

It’s a built-in command line since Windows XP. It interacts with local and remote services quite easily like this:

  • SC \computername STOP servicename
  • SC \computername START servicename

You can put these commands in a batch file and run it as a login script or a scheduled task. If you know the name of the service you want to interactive, SC is pretty to deal with. However, it doesn’t work well with those services that have dependent services to rely on. One thing to note that SC doesn’t have the option to restart the service. So if you need to restart a remote service, you will need to do STOP and START separately.

By the way, you can use SC to get the name of the service, like below:

SC GetKeyName "service display name"

stop windows service remotely

Method 2: PSService from Sysinternals

If you are a fan of Windows Sysinternals, you can use PSService.exe that works similar to SC and does get the job done as well. It does include a switch that can restart the service.

psservice \computername restart service

But it still doesn’t handle the service with the dependencies well.

start and stop windows services remotely

Method 3: Using PowerShell

There are multiple ways to deal with services using PowerShell. But the following scripts seem to be the easiest ways to me:

  • Get-Service -ComputerName computername -Name servicename | Restart-Service -Force
  • Get-Service -ComputerName computername -Name servicename | Stop-Service -Force
  • Get-Service -ComputerName computername -Name servicename | Start-Service

The -Force parameter here is to deal with the service with the dependencies.

Basically, the Get-Service cmdlet with -ComputerName returns an object reference to the service in the question. And then pipe the result to Start-Service, Stop-Service, or Restart-Service to perform the respective actions.

You can also throw in the Test-Connection cmdlet in the script to test the remote connection before querying the service.

Method 4: Service Manager MMC

And of course, we can always use the built-in Service Manager MMC (services.msc) to perform the job as well. To connect to a remote services MMC, click the Services name in the left pane, go to Action, then Connect to another computer… Once connected, you can operate the services just like you do on the local system.

how to stop windows services on remote computers

Consider Using Action1 to Start/stop Windows Service Remotely if:

  • You need to perform an action on multiple computers simultaneously.
  • You have remote employees with computers not connected to your corporate network.

Action1 is a cloud remote monitoring and management solution for patch management, software deployment, remote desktop, software/hardware inventory, and endpoint management.

Related Articles

How To Delete User Profiles Remotely with PowerShell

When a user logs onto the computer for the first time (not via the network to access shared folders or printers), Windows creates a user profile. Among its contents are the NTUSER.DAT file (user profile settings), user-specific folders (My Documents, Desktop, etc.),...

About Action1 RMM

Action1 RMM is a cloud-based IT solution for remote monitoring and management, patching, and remote support.

Start your free two-week trial of Action1, or use RMM tools for free forever on 50 endpoints with no functionality limitations!


Submit a Comment

Your email address will not be published.

cloud patch management solutions action1

MSP Solution

Centralize endpoint management and boost efficiency of IT service delivery.

automated server patch management action compliance

Patch Management

Identify and deploy missing OS and third-party software updates.

cloud software deployment tools windows

Software Deployment

Distribute software and updates across managed endpoints.

software distribution tools software inventory action1

IT Asset Inventory

Keep a detailed inventory and manage hardware and software assets.

web client remote desktop

Remote Desktop

Support users via seamless remote desktop connection.

web based rdp client

Unattended Access

Provide administrative support and manage remote devices.

automated patch management action1

Endpoint Management

Run PowerShell, custom scripts, reboot computers and restart services.

API integrations action1


Integrate Action1 RMM to your IT ecosystem.

computer inventory tool for compliance

Reports and Alerts

Conduct endpoint security audits with comprehensive reporting.