Ctrl-break does not stop ping

Discussion in 'Windows 7 Help and Support' started by Rusky, Sep 13, 2011.

  1. Rusky

    Rusky New Member

    Joined:
    Sep 13, 2011
    Messages:
    14
    Likes Received:
    0
    Ctrl+C does not stop ping

    Very strange and annoying little issue.

    If I have a running ping going I cannot stop it using ctrl+c, it works everywhere else.

    Win7 x64
     
    #1 Rusky, Sep 13, 2011
    Last edited: Sep 13, 2011
  2. Saltgrass

    Saltgrass Excellent Member
    Microsoft Community Contributor

    Joined:
    Oct 16, 2009
    Messages:
    15,157
    Likes Received:
    393
    What you say seems to be correct, so what did you use to start the ping? I assume you are doing this in a command prompt window.
     
  3. Rusky

    Rusky New Member

    Joined:
    Sep 13, 2011
    Messages:
    14
    Likes Received:
    0
    Yes, in cmd and any ping command
    ping 4.2.2.1 -t

    The only way I can stop it is by closing the cmd window
     
  4. kaos

    kaos Senior Member

    Joined:
    May 9, 2011
    Messages:
    1,747
    Likes Received:
    33
    it wont work because its CTRL + C

    ;)
     
  5. Rusky

    Rusky New Member

    Joined:
    Sep 13, 2011
    Messages:
    14
    Likes Received:
    0
    Typo in the subject but in the main post I mentioned that I am using CTRL+C
     
  6. kaos

    kaos Senior Member

    Joined:
    May 9, 2011
    Messages:
    1,747
    Likes Received:
    33
    oh lol , i see , didnt say it at first n i was like eh

    try CTRL + pause/break

    there is abutton that says pause and break... try that :p
     
  7. Rusky

    Rusky New Member

    Joined:
    Sep 13, 2011
    Messages:
    14
    Likes Received:
    0
    All it does is insert the ping statistics but the ping keeps going.
    Just to give you my background, please don't take it as bragging or anything like that but I have been in the IT field for many years, I just can't seem to figure this out lol.
     
  8. kaos

    kaos Senior Member

    Joined:
    May 9, 2011
    Messages:
    1,747
    Likes Received:
    33
    oh its fine, i just dont want to give any informatoin that sounds too complex and confuse people , if you know about IT then excellent... Have you considered making a batch with SET command? then you at least you can define the address and then output the results to a text file ?
     
  9. Rusky

    Rusky New Member

    Joined:
    Sep 13, 2011
    Messages:
    14
    Likes Received:
    0
    That's more complicated that I want to go with getting ctrl+c working, it's nothing critical I just don't want to keep having to close my command prompt when I get a running ping going.

    I'm just wondering what could possibly made it stop working. I know it's not OS related because it works on any other Win 7 x64 Ultimate that I've used it on. If there isn't a setting or registry hack that anyone knows about then it must be software related. I believe I saw it mentioned somewhere that anti-virus could be the cause, I use Vipre myself.
     
  10. Saltgrass

    Saltgrass Excellent Member
    Microsoft Community Contributor

    Joined:
    Oct 16, 2009
    Messages:
    15,157
    Likes Received:
    393
    You have tried that key combination in other circumstances and it does work?

    Do you run anything that might be altering a specific key, possibly under specific circumstances?

    You might try going to Control Panel - Ease of Access - Make keyboard easier to use and turn on Sticky Keys. Perhaps being able to hit the keys one at a time might help, in case there is a timing issue.

    New keyboard driver?

    Edit: Does it make a difference if the system has been asleep or after a cold boot?
     
    #10 Saltgrass, Sep 13, 2011
    Last edited: Sep 13, 2011
  11. kaos

    kaos Senior Member

    Joined:
    May 9, 2011
    Messages:
    1,747
    Likes Received:
    33
    scripts are easy to make , but if thats the goal then fine.

    you can always replace the -t to -n X

    X = the amount you want to ping by

    so
    ping wwww.google.com -n 20
    would ping 20 times then SHOULD STOP
     
  12. Rusky

    Rusky New Member

    Joined:
    Sep 13, 2011
    Messages:
    14
    Likes Received:
    0
    Yes, ctrl+c/v does it's indented copy/paste.
    Nothing altering the keys and I can't image it would just alter the behavior for cmd and nothing else.
    I really don't think it's a driver issue, again it would affect other things.
    I don't every put my PC to sleep/hibernate, it's always after a cold boot or restart.




    Don't get my wrong, I LOVE scripts, I have an entire folder of them.
    Yes, using the -n switch will stop it after a set amount of times but I was hoping to find the root cause of the issue.

    I know it's a very bizarre issue and fully expect not to find a fix for it :p
     
  13. kaos

    kaos Senior Member

    Joined:
    May 9, 2011
    Messages:
    1,747
    Likes Received:
    33
    for me personally the only thing i can think of is if powershell is used?

    other members may have other ideas please wait
     
  14. Rusky

    Rusky New Member

    Joined:
    Sep 13, 2011
    Messages:
    14
    Likes Received:
    0
    Nope, not using powershell.

    Oh I'll wait and keep searching but I haven't found anything yet so I'm not hopefully...keep the suggestions coming though :D
     

Share This Page

Loading...