Solved

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

Posted on 2008-06-19
6
401 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:hmuser
[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 500 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:hmuser
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
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
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:hmuser
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

The question has been asked on multiple occasions as to how best to do printing in a remote desktop or terminal services environment.   It seems that this particular question has plagued several people and most especially as Terminal Services, as…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

688 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