John Lam 1997 — 2026

pslist and pskill to the rescue!

Occasionally, explorer.exe locks up hard on my desktop that’s running Win XP Pro. This makes it hard to do virtually anything that uses a GUI, including using task manager to shut down the offending process. However, I ALWAYS have a console window up, which uses a completely different UI. Therefore, it is immune to lockups caused by a badly behaving explorer.exe process.

If this happens to you, there are two utilities from SysInternals that come to the rescue: pslist and pskill. pslist lets you view a list of all running processes on your system, and pskill lets you kill a selected process. pskill even lets you kill named processes, so you can type “pskill explorer”, and it will kill all named instances. These utilities also run just fine on a non-admin account :)

4 archived reader comments

RichB (2003-10-02)

TaskList and TaskKill do very similar things, and come with every installation of XP!

John Lam (2003-10-02)

Doh! I learn a new thing every day from my readers! Oh well, that’s two fewer tools to have to download from sysinternals whenever I repave :)

Ivan Tarasov (2003-10-04)

I’m not sure, that you can kill services with TaskKill. And also I’m not sure if they do have services in XP. In W2k it was really nice to be able to kill my service with pskill, when no other things could help me.

Jamie Cansdale (2003-10-09)

Not forgetting the less brutal PsSuspend. You can resume the offending process later when you go for a break.