I've been trying cmd commands such as "taskkill" on Windows XP and apparently they don't exist.

I'd like to be able to close and open a program from the cmd because I need to connect to the Windows XP through a Telnet connection. Does anyone know how I can do this?


taskkill is not available in Windows XP Home systems. You should use tskill instead.


  • When using interactively, an important difference is that taskill without the /f option is capable of sending WM_CLOSE to cleanly exit the program; tskill goes straight for the kill. – grawity Oct 30 '18 at 14:14
  • I get the same message saying that tskill is not recognized as an internal or external command, etc. Maybe I need to enable something? Also, to do this, I would need the PID and a way to get that PID from the cmd, which I also don't know for Windows XP. – itd Oct 30 '18 at 15:31
  • @itd exactly what edition and versions of Windows XP are you using? Are they Home or Pro? Are they up to date with latest service packs installed? – Mokubai Oct 30 '18 at 15:37
  • @Mokubai it's Windows XP Embedded, version 2002, service pack 2... – itd Oct 31 '18 at 12:10
  • @itd that information should be in your question as it is crucial. IIRC XPe can be configured to leave out pretty much all unnecessary tools so all bets are off concerning what should be available. You might have to upload your own tools to do the job. – Mokubai Oct 31 '18 at 13:42

I believe to start a programme in cmd in XP is the same as later versions of Windows: Change the directory and run the programme: For instance: You have a programme called TSpin.exe under: c:\MyApps

cd c:\MyApps

I saw somewhere else mentioning another way of starting a programme in XP:

subfolder\program to run.exe

I've not tried this myself.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.