Solved

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

Posted on 2008-06-19
6
395 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
  • 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 83

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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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 83

Expert Comment

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

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

My previous article  (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html)detailed one possible method to get SCCM 2007 installed an…
On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 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