fb
Homepage 5 How-to Articles 5 How to Kill Process Remotely on Windows OS

How to Kill Process Remotely on Windows OS

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.



August 2, 2019

Time for a System’s Administrator trick that I’ve found to be extremely useful over the years. Sometimes you’ve got a program that’s stuck on a machine in an office many miles away and you just need to kill process to fix the issue. If all your machines are connected, most of the time you can do that through WMI procedures.There are several ways to do this. I’ll list two command line methods, and a GUI method here as they are the least obtrusive and easiest to come by.

Method 1. Taskkill. Determine What the Name of the Task Is You Need to Kill

Determine the name or process id which you need to kill. This is usually just the name of the executable of the program you’re trying to terminate, like winword.exe, chrome.exe, notepad.exe, or explorer.exe (don’t, seriously).

To do this open task manager:

  • Click the Windows Search button;
  • Enter the Task Manager in the text box;
  • Right click on the appeared Task Manager icon;
  • Select Run as administrator from the context menu;
Step 1 to Kill Process is to open task manager

Open the Command Prompt as Administrator

Open the command prompt in Administrator mode. You do this by opening your start menu, typing cmd, and right clicking the “CMD” or “Command Prompt” icon and clicking “Run as Administrator”.

Open Command line

The Next Step Is to Type Command

In appeared command line window type the following command

taskkill /s remotecomputername /u domainname\username /p password /IM processname

Push Enter button.

It should give you a success message.

Step 3 to Kill Process is to type taskkill command

Method 2. Pstools. Download this Tools

First off all download the tools and extract them to a folder somewhere on your computer or put them on a Thumb Drive.

Note: You can download and get the reference guide for Pstools

Note: You have to hit an “I agree” screen the first time you use them on any computer.

Download PsTools

Determine What the Name of the Task Is You Need to Kill

This is usually just the name of the executable of the program you’re trying to terminate, like winword.exe, chrome.exe, notepad.exe, or explorer.exe (don’t, seriously). See Step 1

Open the Command Prompt and Type Command

Open the command prompt in Administrator mode. You do this by opening your start menu, typing cmd, and right clicking the “CMD” or “Command Prompt” icon and clicking “Run as Administrator”. Then navigate to the folder you placed the PStools in. I typically just put them on the C:\ drive on my machine, in a PSTools folder. So you’d type this:

cd \pstools

Finally Type Command Below

Type this line:

Pskill \\remotecomputername -u username -p password processtokill

The last step to kill process remotely is to use pskill command

Push Enter button.

It will run through a more complex set of steps than Taskkill but the outcome is pretty similar.

Consider Using Action1 to Kill Process 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 RMM is a cloud-based platform for patch management, software distribution, remote desktop, software and hardware inventory, endpoint management reporting.

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!



0 Comments

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

RESTful API

Integrate Action1 RMM to your IT ecosystem.

computer inventory tool for compliance

Reports and Alerts

Conduct endpoint security audits with comprehensive reporting.