{"id":107,"date":"2010-06-22T09:23:03","date_gmt":"2010-06-22T09:23:03","guid":{"rendered":"http:\/\/www.jmarior.net\/itank\/taskkill-for-windows\/"},"modified":"2010-06-22T09:24:05","modified_gmt":"2010-06-22T09:24:05","slug":"taskkill-for-windows","status":"publish","type":"post","link":"https:\/\/www.jmarior.net\/itank\/taskkill-for-windows\/","title":{"rendered":"Taskkill for windows"},"content":{"rendered":"<p>como matar tareas por l\u00ednea de comandos en Ms Windows<\/p>\n<p><quote><br \/>\nTASKKILL [\/S system [\/U username [\/P [password]]]]<br \/>\n         { [\/FI filter] [\/PID processid | \/IM imagename] } [\/T] [\/F]<\/p>\n<p>Description:<br \/>\n    This tool is used to terminate tasks by process id (PID) or image name.<\/p>\n<p>Parameter List:<br \/>\n    \/S    system           Specifies the remote system to connect to.<\/p>\n<p>    \/U    [domain\\]user    Specifies the user context under which the<br \/>\n                           command should execute.<\/p>\n<p>    \/P    [password]       Specifies the password for the given user<br \/>\n                           context. Prompts for input if omitted.<\/p>\n<p>    \/FI   filter           Applies a filter to select a set of tasks.<br \/>\n                           Allows \u00ab*\u00bb to be used. ex. imagename eq acme*<\/p>\n<p>    \/PID  processid        Specifies the PID of the process to be terminated.<br \/>\n                           Use TaskList to get the PID.<\/p>\n<p>    \/IM   imagename        Specifies the image name of the process<br \/>\n                           to be terminated. Wildcard &#8216;*&#8217; can be used<br \/>\n                           to specify all tasks or image names.<\/p>\n<p>    \/T                     Terminates the specified process and any<br \/>\n                           child processes which were started by it.<\/p>\n<p>    \/F                     Specifies to forcefully terminate the process(es).<\/p>\n<p>    \/?                     Displays this help message.<\/p>\n<p>Filters:<br \/>\n    Filter Name   Valid Operators           Valid Value(s)<br \/>\n    &#8212;&#8212;&#8212;&#8211;   &#8212;&#8212;&#8212;&#8212;&#8212;           &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n    STATUS        eq, ne                    RUNNING |<br \/>\n                                            NOT RESPONDING | UNKNOWN<br \/>\n    IMAGENAME     eq, ne                    Image name<br \/>\n    PID           eq, ne, gt, lt, ge, le    PID value<br \/>\n    SESSION       eq, ne, gt, lt, ge, le    Session number.<br \/>\n    CPUTIME       eq, ne, gt, lt, ge, le    CPU time in the format<br \/>\n                                            of hh:mm:ss.<br \/>\n                                            hh &#8211; hours,<br \/>\n                                            mm &#8211; minutes, ss &#8211; seconds<br \/>\n    MEMUSAGE      eq, ne, gt, lt, ge, le    Memory usage in KB<br \/>\n    USERNAME      eq, ne                    User name in [domain\\]user<br \/>\n                                            format<br \/>\n    MODULES       eq, ne                    DLL name<br \/>\n    SERVICES      eq, ne                    Service name<br \/>\n    WINDOWTITLE   eq, ne                    Window title<\/p>\n<p>    NOTE<br \/>\n    &#8212;-<br \/>\n    1) Wildcard &#8216;*&#8217; for \/IM switch is accepted only when a filter is applied.<br \/>\n    2) Termination of remote processes will always be done forcefully (\/F).<br \/>\n    3) \u00abWINDOWTITLE\u00bb and \u00abSTATUS\u00bb filters are not considered when a remote<br \/>\n       machine is specified.<\/p>\n<p>Examples:<br \/>\n    TASKKILL \/IM notepad.exe<br \/>\n    TASKKILL \/PID 1230 \/PID 1241 \/PID 1253 \/T<br \/>\n    TASKKILL \/F \/IM cmd.exe \/T<br \/>\n    TASKKILL \/F \/FI \u00abPID ge 1000\u00bb \/FI \u00abWINDOWTITLE ne untitle*\u00bb<br \/>\n    TASKKILL \/F \/FI \u00abUSERNAME eq NT AUTHORITY\\SYSTEM\u00bb \/IM notepad.exe<br \/>\n    TASKKILL \/S system \/U domain\\username \/FI \u00abUSERNAME ne NT*\u00bb \/IM *<br \/>\n    TASKKILL \/S system \/U username \/P password \/FI \u00abIMAGENAME eq note*\u00bb<br \/>\n<\/quote><\/p>\n","protected":false},"excerpt":{"rendered":"<p>como matar tareas por l\u00ednea de comandos en Ms Windows 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 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[10],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-itank-ideas","tag-command-line"],"views":2155,"_links":{"self":[{"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":0,"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}