none
ping is not recognized as internal or external command,operable.... "

    Question

  • hi friends , how are you ?

    some guy said me that in their network may be the administrator has done something so that when users run "ping" command , they see something like this :  " ping is not recognized as internal or external command,operable..... "

    i wanted to know is it really do somethig so that users face with such phrase when the run ping ?

    thank in advance

    Thursday, February 23, 2012 8:59 PM

Answers

  • You can find ping.exe in windows/system32

    move it to another folder but first you have to be the owner,then give your self full access then move ping.exe

    Click on “Properties” on the right click menu. 
    Click on “Security” tab. 
    Click on “Advanced” button at the bottom. 
    In Advanced Security Dialog window, click on “Owner” tab. 
    Here you will be able to see current owner (i.e. Trusted Installer). 
    To take ownership of the object, click on the Edit button. Give permission to : Then highlight the user name in the “Change owner to” box that you want to assign as the owner for the object. Click “OK” to finish the process.
    Click “OK” button to exit this window. 
    Click “OK” again to exit completely from the Properties window.

    Back in Advanced Security Settings window, you will see the current owner has changed to the user you just selected.


    Renato Kurti CCNA,CCNP Security,CCAI,MCP,MCTS,MCITP:EA

    • Marked as answer by john.s2011 Saturday, February 25, 2012 5:59 AM
    Friday, February 24, 2012 3:32 PM

All replies

  • john.s2011 wrote:

    hi friends , how are you ?

    some guy said me that in their network may be the administrator has
    done something so that when users run "ping" command , they see
    something like this :  " ping is not recognized as internal or
    external command,operable..... "

    i wanted to know is it really do somethig so that users face with
    such phrase when the run ping ?

    thank in advance

    I think if you remove ping.exe or set it's security in a way, that
    users can't access it, you will see that message.


    Wolfgang
    Thursday, February 23, 2012 9:39 PM
  • john.s2011 wrote:

    hi friends , how are you ?

    some guy said me that in their network may be the administrator has
    done something so that when users run "ping" command , they see
    something like this :  " ping is not recognized as internal or
    external command,operable..... "

    i wanted to know is it really do somethig so that users face with
    such phrase when the run ping ?

    thank in advance

    I think if you remove ping.exe or set it's security in a way, that
    users can't access it, you will see that message.


    Wolfgang

    hi wolfgang. thank you for answer

    i tried that but the system doesn't allow you to either remove or cut  ping.exe  .  also doesn't allow you Change its ACLs ( are grayed out )

    Thursday, February 23, 2012 9:52 PM
  • John,

    Can you find ping.exe, or 'ping' if your view options are hiding extension types, in C:\Windows\System32?

    If you do, let's check the path. Run echo %PATH% and post it. Then check your system path under envrionment variables to compare. Also look at a server that it is working on. You can find the environment variables by right-clicking computer, properties, Advanced System Settings, Environment Variables, System, scroll down until you see Path. Here's what my Windows 7 path looks like, and should be similar:

    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;c:\dig

    .

    If ping exists, and the system environment path is correct, then run a malware scan using www.malwarebytes.com's free scanner. Remove all of  the bad guys it finds.

    Curious, can you run regedit from Start/Run or Start/Search? If not, then the problem may be deeper and possibly malware or a virus. Do you use this machine to surf the web, even for technical reasons? If so, you could have got a virus, malware, or root kit from a drive-by.

    Ace

    .


    Ace Fekay
    MVP, MCT, MCITP Enterprise Administrator, MCTS Windows 2008 & Exchange 2007 & Exchange 2010, Exchange 2010 Enterprise Administrator, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php

    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    FaceBook Twitter LinkedIn

    Friday, February 24, 2012 2:43 AM
  • You can find ping.exe in windows/system32

    move it to another folder but first you have to be the owner,then give your self full access then move ping.exe

    Click on “Properties” on the right click menu. 
    Click on “Security” tab. 
    Click on “Advanced” button at the bottom. 
    In Advanced Security Dialog window, click on “Owner” tab. 
    Here you will be able to see current owner (i.e. Trusted Installer). 
    To take ownership of the object, click on the Edit button. Give permission to : Then highlight the user name in the “Change owner to” box that you want to assign as the owner for the object. Click “OK” to finish the process.
    Click “OK” button to exit this window. 
    Click “OK” again to exit completely from the Properties window.

    Back in Advanced Security Settings window, you will see the current owner has changed to the user you just selected.


    Renato Kurti CCNA,CCNP Security,CCAI,MCP,MCTS,MCITP:EA

    • Marked as answer by john.s2011 Saturday, February 25, 2012 5:59 AM
    Friday, February 24, 2012 3:32 PM
  • You can find ping.exe in windows/system32

    move it to another folder but first you have to be the owner,then give your self full access then move ping.exe

    Click on “Properties” on the right click menu. 
    Click on “Security” tab. 
    Click on “Advanced” button at the bottom. 
    In Advanced Security Dialog window, click on “Owner” tab. 
    Here you will be able to see current owner (i.e. Trusted Installer). 
    To take ownership of the object, click on the Edit button. Give permission to : Then highlight the user name in the “Change owner to” box that you want to assign as the owner for the object. Click “OK” to finish the process.
    Click “OK” button to exit this window. 
    Click “OK” again to exit completely from the Properties window.

    Back in Advanced Security Settings window, you will see the current owner has changed to the user you just selected.


    Renato Kurti CCNA,CCNP Security,CCAI,MCP,MCTS,MCITP:EA

    hi Dear Renato, how are you ?

    thank you very very much for your Great answer. your answer worked great.

    you have got many valuable certificates and i respect your certificates, because i know that anyone who has obtained this certificates has done huge efforts and has labored a great deal

    Saturday, February 25, 2012 6:05 AM
  • John,

    Can you find ping.exe, or 'ping' if your view options are hiding extension types, in C:\Windows\System32?

    If you do, let's check the path. Run echo %PATH% and post it. Then check your system path under envrionment variables to compare. Also look at a server that it is working on. You can find the environment variables by right-clicking computer, properties, Advanced System Settings, Environment Variables, System, scroll down until you see Path. Here's what my Windows 7 path looks like, and should be similar:

    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;c:\dig

    .

    If ping exists, and the system environment path is correct, then run a malware scan using www.malwarebytes.com's free scanner. Remove all of  the bad guys it finds.

    Curious, can you run regedit from Start/Run or Start/Search? If not, then the problem may be deeper and possibly malware or a virus. Do you use this machine to surf the web, even for technical reasons? If so, you could have got a virus, malware, or root kit from a drive-by.

    Ace

    .


    Ace Fekay
    MVP, MCT, MCITP Enterprise Administrator, MCTS Windows 2008 & Exchange 2007 & Exchange 2010, Exchange 2010 Enterprise Administrator, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php

    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    FaceBookTwitterLinkedIn

    thank you Ace 
    Saturday, February 25, 2012 6:05 AM
  • In Windows 8, the command shell will only 'see' the full system paths if you do a 'Run As Administrator' on it.  I believe that behavior is by design for security reasons.  If you create a shortcut to 'Cmd' on your desktop, start menu, or taskbar, you can edit it's properties (look under 'Shortcut [tab]' > 'Advanced' and there will be an option you can set so that it always runs with elevated privileges.  You should then find that all the folder in your path, including system32, are processed and it works as expected.


    Monday, April 08, 2013 2:56 PM
  • John,

    Thanks a lot, it work. Actually, I have edited the Enviroment Variables to set the path for Java and so encountered the 'ping' error. Well thank you so much.

    Friday, May 03, 2013 5:50 PM