Monday 9 July 2012

how to end a process with cmd.

Posted at  Monday, July 09, 2012  |  in  windows


how to end a process with cmd.
open cmd  then cheak tasks in process.
C:\Users\sonu>tasklist

Image Name                     PID Session Name        Session#    Mem Usage
========================= ======== ================ =========== ============
System Idle Process              0 Services                   0         24 K
System                           4 Services                   0        976 K
smss.exe                       312 Services                   0        752 K
csrss.exe                      464 Services                   0      3,036 K
wininit.exe                    544 Services                   0      4,016 K
csrss.exe                      560 Console                    1     25,808 K
services.exe                   596 Services                   0      7,928 K
winlogon.exe                   636 Console                    1      4,904 K
lsass.exe                      648 Services                   0      7,592 K
lsm.exe                        656 Services                   0      3,412 K
svchost.exe                    780 Services                   0      6,860 K
svchost.exe                    888 Services                   0      6,464 K
Ati2evxx.exe                   936 Services                   0      4,048 K
svchost.exe                   1008 Services                   0     14,936 K
svchost.exe                   1056 Services                   0     52,580 K
svchost.exe                   1088 Services                   0     25,968 K
audiodg.exe                   1176 Services                   0     22,600 K
svchost.exe                   1240 Services                   0     11,108 K
svchost.exe                   1408 Services                   0     12,040 K
Ati2evxx.exe                  1452 Console                    1      6,428 K
svchost.exe                   1628 Services                   0     12,616 K
AvastSvc.exe                  1656 Services                   0     16,000 K
spoolsv.exe                   1788 Services                   0      8,656 K
armsvc.exe                    1992 Services                   0      3,240 K
HWDeviceService.exe           2036 Services                   0      4,676 K
taskhost.exe                  1388 Console                    1      7,536 K
dwm.exe                       1952 Console                    1     75,092 K
explorer.exe                  2140 Console                    1     71,904 K
ouc.exe                       2152 Services                   0      4,484 K
DCSHelper.exe                 2208 Console                    1      5,320 K
UAService.exe                 2252 Services                   0      1,956 K
WUDFHost.exe                  2460 Services                   0      5,212 K
AvastUI.exe                   2684 Console                    1      9,276 K
DCSHelper.exe                 2916 Console                    1      5,616 K
RtHDVCpl.exe                  2940 Console                    1     10,960 K
MOM.exe                       2952 Console                    1      4,196 K
idman.exe                     3012 Console                    1     13,600 K
Idea Net Setter.exe           3052 Console                    1     42,524 K
CCC.exe                       3352 Console                    1      5,584 K
WmiPrvSE.exe                  3496 Services                   0      7,380 K
SearchIndexer.exe             3768 Services                   0     10,572 K
svchost.exe                   2896 Services                   0      8,644 K
vlc.exe                       4060 Console                    1     29,444 K
chrome.exe                    3388 Console                    1    116,680 K
chrome.exe                    2184 Console                    1     48,320 K
chrome.exe                    2532 Console                    1     48,224 K
chrome.exe                     908 Console                    1    114,632 K
chrome.exe                    2960 Console                    1     65,336 K
sppsvc.exe                     200 Services                   0      4,452 K
svchost.exe                   2468 Services                   0     15,316 K
wmpnetwk.exe                  1428 Services                   0      5,424 K
chrome.exe                    4368 Console                    1     55,524 K
chrome.exe                    5672 Console                    1     84,780 K
chrome.exe                    4324 Console                    1     76,420 K
chrome.exe                    4596 Console                    1     78,188 K
chrome.exe                    2544 Console                    1     73,384 K
cmd.exe                       3740 Console                    1      2,824 K
conhost.exe                   4936 Console                    1      5,552 K
chrome.exe                    5524 Console                    1     69,708 K
notepad.exe                   5116 Console                    1      7,092 K
tasklist.exe                  5876 Console                    1      4,508 K

C:\Users\sonu>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\sonu>taskkill /im vlc.exe
SUCCESS: Sent termination signal to the process "vlc.exe" with PID 4060.

C:\Users\sonu>taskkill /im notepad.exe
SUCCESS: Sent termination signal to the process "notepad.exe" with PID 5116.

C:\Users\sonu>

Share this post

About Naveed Iqbal

Nulla sagittis convallis arcu. Sed sed nunc. Curabitur consequat. Quisque metus enim venenatis fermentum mollis. Duis vulputate elit in elit. Follow him on Google+.

3 comments:

  1. Online gaming are enjoyed by a variety of people. People enjoy video games for a variety of purposes including losing weight and relaxation. Figure out how you can have the best time gaming by using the article that follows.

    Any game you give your child should be age-appropriate. You can do this easily by checking the game's front packaging or cover for the age rating. Some video gaming focus on violence, which you should avoid.

    It is important to understand the game rating system. Understanding this system allows you to better control what your child is exposed to. Before investing money into any game for a young person, check the ratings for appropriate age groups.

    If you have a kid and they get too aggressive when they play too many online gaming, you may need to put them into some sort of a time out. Give him a 10-minute warming, and then call an end to the game. Suggested activities include exercise or playing outside. This will focus his mind on something less stressful.

    If you have children, be sure to limit the time that your child spends on video games. More than two hours a day can strain their eyes and interfere with other activities.

    Look for sales if you want to obtain inexpensive games that your kids will enjoy. Many video stores aren't doing well. If you look, you might find a video store that is going to close soon and find some fantastic deals on games and accessories. While the discs should be in working condition, a quick clean works wonders.

    Post ads online in order to sell your older video gaming. Use auction sites like eBay as the last place to sell. Shipment and payment issues can make sites like those a real hassle. Try ads with Facebook and Craigslist first.

    You don't have to play computer games on a wii - if you are reading this, you obviously have an Internet-enabled device, and you can play games on that, too! Lots of xbox games also offer versions for computers, allowing you to play your favorite titles on any system.

    Always familiarize yourself on the novice levels before going on to the more demanding levels. These games are pretty difficult, and trying on rookie can help you build skills. After you have mastered the control, buttons and functions of the game, then move on and challenge yourself.

    Try playing online games as a way to bond with your children. Gaming together is a fun and inexpensive way to get in some family time. It can also allow you to ensure that your kids aren't playing inappropriate games.

    Figure out how to operate the safety and parental controls of any gaming system that comes into your home. You can likely make adjustments that keep kids from viewing mature content. Some allow each gaming profile to be customized separately, allowing adults to enjoy games not meant for younger audiences.

    There are so many entertaining elements to video games, they cannot be covered in a single article. You should have found what you needed to understand right here. After a long hard day at the office or school, put your feet up, turn on the gaming system and enjoy!

    ReplyDelete
  2. More and more people in today's world have a memory of playing video gaming as children. With every new generation, games have been advancing and continue to be popular. This doesn't seem to stop, and so the trend will continue.

    If you buy pre-owned games, make certain to purchase a quality disc cleaner. It is almost impossible to tell ahead of time what condition used games will be in. Even though you may have let the discs get very dirty, the cleaning kit can help to get them working again. Research all the options that are available, though. There are a lot of cleaning kits out there.

    IF you want to find discount games for kids, look at sales in your area. Some video rental businesses are hurting now. Keep your eyes open, and you may see stores that are going out of business and offering merchandise at steep discounts. Usually the discs are still good but may need a cleaning.

    One question modern gamers must ask themselves is whether they want to be a computer gamer or a console gamer. Most games, these days, are available for either format so you need to find out which one is best for the type of games you want to play. Also, some games, such as flight simulators and real-time strategy games, are better suited to a specific type of hardware, so if you like a specific genre, plan your hardware purchases accordingly.

    If you have children, be sure to limit the time that your child spends on video gaming. More than two hours a day can strain their eyes and interfere with other activities.

    It can be helpful to play a trial version of a game you are unsure about purchasing. These gaming trials are extremely helpful in helping you determine if you want to spend your hard earned cash on a game. If you the trial of a certain game, try buying the full version.

    Keep your children safe in terms of online gaming. Pay attention to the people they play with. Some people use online gaming in order to manipulate young children. It is important to protect kids when they are gaming online by being aware of whom they are playing with.

    The Nintendo Wii system is a useful tool to help you get into shape. There are a large number of fitness games available for the Wii system.

    Some of the most reveled games ever made are classics. Play them! You will also save tons of money this way. Some are available online for quite a deal.

    All games have ratings thanks to the ESRB. Games are appropriate for ages 3 and older if they receive an EC or Early Childhood rating. If your children are six and older, a rating of E is appropriate. A rating of E+10 is for people older than 10 years old. If your game is rated T, it is suggested that you be 13 or older to play it. "M" (mature) rated games are for people who are at least 17 years old. AO indicates the game is just for adults and RP signifies "Rating Pending."

    Figure out how to operate the safety and parental controls of any gaming system that comes into your home. You can likely make adjustments that keep kids from viewing mature content. Some allow each gaming profile to be customized separately, allowing adults to enjoy games not meant for younger audiences.

    There are so many entertaining elements to online gaming, they cannot be covered in a single article. You should have found what you needed to know right here. After a long hard day at the office or school, put your feet up, turn on the gaming system and enjoy!

    ReplyDelete
  3. Yes! Finally something about collections.

    My weblog :: debt collection, https://www.pinpointdis.com,

    ReplyDelete

About-Privacy Policy-Contact us
Copyright © 2013 infinityCEH. Blogger Template by Bloggertheme9
Proudly Powered by Blogger.
back to top