Remove multi process at once

Discussion in 'Windows Small Business Server' started by yuvalbra, Feb 6, 2011.

  1. yuvalbra

    yuvalbra Guest

    Welcome to the group members,
    I use many of the server scheduling programs
    There are cases where an application can not be closed as a result
    there are some processes that are opened one by one
    I'm looking for the option to cancel all processes in one command
     
    yuvalbra, Feb 6, 2011
    #1
    1. Advertisements

  2. yuvalbra

    Brian Cryer Guest

    If you want to kill processes then options include:
    1. Use task manager to kill individual ones.
    2. Download pstools
    (http://technet.microsoft.com/en-us/sysinternals/bb896649), this gives you a
    number of command line tools for working with processes, whilst its been a
    while since I last used it I think this includes tools to list and kill
    processes. So you might be able to put a batch file together which would do
    what you wanted.

    Just be sure you are sure about what processes you want to kill.

    Hope this helps.
     
    Brian Cryer, Feb 7, 2011
    #2
    1. Advertisements

  3. yuvalbra

    Steve Foster Guest

    Task Manager can also kill an entire process tree (ie if you can
    identify the parent, you can "End Process Tree" the parent, and the
    children will be splattered too).
    Natively, there's also the command-line "TaskKill.exe" [yes, two k's],
    which has a number of options for killing processes (including a "kill
    children processes too" option like Task Manager).
     
    Steve Foster, Feb 7, 2011
    #3
  4. PowerShell makes this trivial.

    Get-Process "Name" | stop-process

    Or even simply:
    stop-process -name Notepad


    --
    Charlie.
    http://msmvps.com/blogs/Russel


     
    Charlie Russel-MVP, Feb 7, 2011
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.