• 0

Any program to force kill a process in task manager?


Question

When MyPhoneExplorer hangs in Vista, I cannot even kill the process in Task Manager. Instead, I have to force a shut down. When I mean force, I mean even when I call for shut down, I have to hit the power button my casing. Since Vista will continue to try to shut down that process to no avail.

Causing my next reboot having to warn me about windows not shutting down properly in my previous attempt.

Any program to force kill a process in task manager?

Recommended Posts

  • 0

pskill is a great little app.. but you are more than capable of killing a process in both xp an vista using the taskkill command

Microsoft Windows [Version 6.0.6000]

Copyright © 2006 Microsoft Corporation. All rights reserved.

C:\Users\budman>taskkill /?

TASKKILL [/s system [/u username [/P [password]]]]

{ [/FI filter] [/PID processid | /IM imagename] } [/T] [/F]

Description:

This tool is used to terminate tasks by process id (PID) or image name.

Parameter List:

/S system Specifies the remote system to connect to.

/U [domain\]user Specifies the user context under which the

command should execute.

/P [password] Specifies the password for the given user

context. Prompts for input if omitted.

/FI filter Applies a filter to select a set of tasks.

Allows "*" to be used. ex. imagename eq acme*

/PID processid Specifies the PID of the process to be terminated.

Use TaskList to get the PID.

/IM imagename Specifies the image name of the process

to be terminated. Wildcard '*' can be used

to specify all tasks or image names.

/T Terminates the specified process and any

child processes which were started by it.

/F Specifies to forcefully terminate the process(es).

/? Displays this help message.

Filters:

Filter Name Valid Operators Valid Value(s)

----------- --------------- -------------------------

STATUS eq, ne RUNNING |

NOT RESPONDING | UNKNOWN

IMAGENAME eq, ne Image name

PID eq, ne, gt, lt, ge, le PID value

SESSION eq, ne, gt, lt, ge, le Session number.

CPUTIME eq, ne, gt, lt, ge, le CPU time in the format

of hh:mm:ss.

hh - hours,

mm - minutes, ss - seconds

MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB

USERNAME eq, ne User name in [domain\]user

format

MODULES eq, ne DLL name

SERVICES eq, ne Service name

WINDOWTITLE eq, ne Window title

NOTE

----

1) Wildcard '*' for /IM switch is accepted only when a filter is applied.

2) Termination of remote processes will always be done forcefully (/F).

3) "WINDOWTITLE" and "STATUS" filters are not considered when a remote

machine is specified.

Examples:

TASKKILL /IM notepad.exe

TASKKILL /PID 1230 /PID 1241 /PID 1253 /T

TASKKILL /F /IM cmd.exe /T

TASKKILL /F /FI "PID ge 1000" /FI "WINDOWTITLE ne untitle*"

TASKKILL /F /FI "USERNAME eq NT AUTHORITY\SYSTEM" /IM notepad.exe

TASKKILL /S system /U domain\username /FI "USERNAME ne NT*" /IM *

TASKKILL /S system /U username /P password /FI "IMAGENAME eq note*"

C:\Users\budman>

  • 0
  Bryan84 said:
so means taskkill will do?

no need for that PSkill?

Yes. But personally, I prefer using pskill over taskkill because the latter is slow. Taskkill takes some time to load the list of active processes... so this means if I'm in a hurry to kill a process I'd have to wait for some time before its executed.

  • 0
  Bryan84 said:
Welcome to Neowin Agret :)

Thank you for making that completely irrelevant post to up your postcount, or is there a forum script that makes you auto reply?

I used to be a member here anyway, before they changed the forums I guess or maybe they pruned inactive accounts.

Anyhow, maybe you'd prefer to stay on-topic. Does anyone know of a way to force kill a process?

Edited by Agret
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.