How to start and end process on a remote computer

By Ashish Mohta

If you are system administrator then this set of tools will help you to administrator remote process from your computer. You will be able to list, start and kill remote process with Microsoft System Internal tools called as PS Tools suite. It’s another tool from System Internals which is similar we used to track and handle DLL which we talked about last week. This should work both on Xp and Vista but I haven’t tried on vista. If anybody does do tell me.

Download the PS tools suite which has programs PsExec - execute processes remotely, PsFile - shows files opened remotely,PsGetSid - display the SID of a computer or a user , PsInfo - list information about a system, PsKill - kill processes by name or process ID , PsList - list detailed information about processes, PsLoggedOn - see who’s logged on locally and via resource sharing , PsLogList - dump event log records, PsPasswd - changes account passwords, PsService - view and control services, PsShutdown - shuts down and optionally reboots a computer,PsSuspend - suspends processes, PsUptime - shows you how long a system has been running since its last reboot.

Now lets look at the tools which I had marked in Bold.We will use in steps

  • PsExec - To execute remote process
  • PsList - To list remote computer processes
  • PsKill - to Kill process on remote computer.

Start a Process:

PsExec can be used to start a process on remote computer with following command line

psexec \\computer-u user -p psswd cmd [arguments]

where \\computer is remote computer name and cmd is the program name which you want to start.

List and Kill the process:

Before you can kill you have to know the remote process name or sid which you can use it in pskill program to terminate it. This is very helpful when the control is lost by the person and he is not able to terminate it..

  • List the process pslist \\computer-u user -p psswd
  • Kill the process pskill \\computer -u username p password process name | process id

Remember you will need to do this on command prompt and you should be know the remote process user’s login name and password. I hope this helps a lot of administrators also.

 

About The Author of this article:
Ashish is one of the co-author of this blog and writes on various interesting softwares, PC tips and more. You can read more of his articles here.

Offer of the month Get a free page for yourself

Readers Play Ground


No Comments Yet

You can be the first to comment!

Leave a comment Share your thoughts with the world

Scroll Down and Check footer for more details

Search








  • Recent Comments:

    • Matt: My invite hasn’t come yet? please invite me again, and I will invite these people here!!!
    • ricky: R1cky1337 at gmail dot com Any invites would be greatly appreciated thanks!
    • Anghesom: thank you
    • Maria Francois: Hi, could someone please send me an invite? I´m searching for long time but still didn´t find...
    • jcidiot: @dit… actually its dx9c update files. but close.
    • Maja: BEST
    • jonscito: I like so much this plugin … is look like atractive and is very useful
    • Brett thomas: i would like to get this msn
    • caranijuan: where’s my invite?
    • Jave: Ohh yeah i forgot the email address: javanoo §§§§ yahoo §§§§ com

Technology Blogs - Blog Top Sites