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 Remote Process from command line
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 Remote 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.