• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 452
  • Last Modified:

Does anyone know what the Windows Server 2000 equivalent of a cmd command taskkill?

I need to end a task that has duplicated itself, which would take a very long time manualy. Any Ideas
0
Headmasters
Asked:
Headmasters
  • 2
  • 2
  • 2
1 Solution
 
Kieran_BurnsCommented:
I use rkill personally (from the NT resource kit)

The target machine must have the RKILLSRV.EXE service running (either from the command line or installed as a service). To install as a service enter the command

C:\> instsrv rkillsrv c:\ntreskit\RKILLSRV.EXE

This will install the executable as a service and set its start-up to automatic so it will restart at every boot-up. After being installed the service will not be started and so if it is to be used before a reboot you should start via the services control panel applet or start from the command line using

C:\> net start rkillsrv

Once the service has been configured and started on the remote machine processes can be manipulated from client machines by users who have Administrative privileges via the command line RKILL.EXE and the GUI WRKILL.EXE utilities.

To view the running processes with the command line tool type

C:\> rkill /view \\<machine name>
e.g. rkill /view \\nt4pdc

Once you have identified the process to stop enter the command

C:\> rkill /kill \\<machine name> <process id>
e.g. rkill /kill \\nt4pdc 84

0
 
oBdACommented:
Windows 2000 didn't have a native tool; you can try PsKill from Sysinternals (now Microsoft):
PsKill v1.12
http://technet.microsoft.com/en-us/sysinternals/bb896683.aspx
0
 
HeadmastersAuthor Commented:
I have Installed the resource kit, but that directory does not appear to exist. c:\ntreskit\RKILLSRV.EXE

Any Ideas as to why?

Kindest regards,
0
Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

 
Kieran_BurnsCommented:
If you didn't try the NT resource kit that would be why - but you CAN try PSKill. That is also a good application
0
 
HeadmastersAuthor Commented:
I have tried using PSKill but I keep getting an error message stating that the Syntax is incorrect
0
 
oBdACommented:
Something like
pskill \\TheServer TheTaskName.exe
should work.
What exactly did you enter?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now