I recently opened a remote desktop connection to my home PC running Windows XP Pro. For some reason when I attempted opening firefox I received a message saying the process is already running and needs to first be terminated. So naturally I opened the run box and typed in taskmgr. Unfortunately it wouldn’t show me more than 10 of the 75 active processes. After some quality time with the googler and fumbling around with the windows taskkill utility I was able to terminate firefox with the following command:
1 | taskkill /F /IM firefox.exe |
The /F switch tells taskkill to forcefully terminate the process and /IM switch tells taskkill that you are referencing the human-readable name of the executable rather than its PID (process ID).
Related posts:
- Get active directory ldap attributes from the command line with ldifde
- WaitForExit method, running command line args in c#, and other hacks
- Using SYSPREP to Create Windows XP Images
Tags: windows