?
Solved

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

Posted on 2008-06-19
6
Medium Priority
?
414 Views
Last Modified: 2013-12-05
I need to end a task that has duplicated itself, which would take a very long time manualy. Any Ideas
0
Comment
Question by:Headmasters
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 10

Expert Comment

by:Kieran_Burns
ID: 21820402
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
 
LVL 85

Accepted Solution

by:
oBdA earned 1500 total points
ID: 21820497
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
 
LVL 1

Author Comment

by:Headmasters
ID: 21829143
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
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 
LVL 10

Expert Comment

by:Kieran_Burns
ID: 21829219
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
 
LVL 1

Author Comment

by:Headmasters
ID: 21915234
I have tried using PSKill but I keep getting an error message stating that the Syntax is incorrect
0
 
LVL 85

Expert Comment

by:oBdA
ID: 21915796
Something like
pskill \\TheServer TheTaskName.exe
should work.
What exactly did you enter?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Case Summary: In this Article we introduce the new method to configure the default user profile using Automated profile copy with sysprep rather than the old ways such as the manual copy of a configured profile to default user profile Old meth…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question