Skip to main content

'ping' is not recognized as an internal or external command, operable program or batch file - Windows

I know, I am writing about the thing that is a lot over the internet but today in my Good Morning to my Desk, I tried to ping of host in my network and I just got this message and I faced this issue on Windows XP, Windows 7 and now on Windows 8 and on Servers Windows 2003 and Windows Server 2008/R2 as well and the solution also work for me on these Operating Systems. Well the message was;

C:\Users\rizwan.ahmad>ping 192.168.10.10
'ping' is not recognized as an internal or external command, operable program or batch file.




Solution 1 (Easy):
  1.   Start > RUN Type control sysdm.cpl,,3 or
  2. Open Control Panel » System » Advanced » Environment Variables
  3. Right Click on My computer
  4. Go to Properties
  5. Go to Advanced system settings (on Windows 7 / 8)
  6. Environment Variables
  7. Select 'PATH' from the list of system variables and edit
  8. set PATH to c:\windows\system32 ;
Solution 2 (Advance)
  1. Open CMD and enter SET command and check the output, there you can check if c:\windows\system32 is included in the PATH entry.
  2. set PATH=%PATH%; c:\windows\system32;
  3. Hope this will solve your problem, I mostly fix the issue on GUI but I tried one or two time command line as well. If it help you, please comes up with comments.




Comments

  1. yes, the first solution worked for me, don't include ";" at the end of the path and make sure it is saved.

    ReplyDelete
  2. It's work ! Thanks a lot ..

    ReplyDelete

Post a Comment

Popular posts from this blog

Setting up per connection Limit Bandwidth on MikroTik Router

Generally, I do not prefer to add any unwanted restriction on the network user until its required due to some Administration reason. I know, there are more ways to tackle this setting up per connection Limit Bandwidth on MikroTik Router question comes into one’s mind but I resolve my concern while using MikroTik PCQs feature in MikroTik Queue Type and then calling this Queue Type to Simple Queue. There are more options for setting up per connection Limit Bandwidth on MikroTik Router but please share your concern to add anything else in this article. Let’s start to add our configurations; I am using WinBox for this Article but you can use anything you are convenient to use. Let’s start Step by Step procedure for Setting up per connection Limit Bandwidth on MikroTik Router, any version.  Setup Queue Types After Successful Login, click on Queues menu. Navigate to Queue Types and Press Add + (Plus Sign) to add a new Queue Type. Type a Name like in my scenario,...

DsReplicaGetInfo failed with status 8453 0x2105 on Windows Server 2008

I have two Domain Controller in my envorinment, Primary Domain Controller is Windows Server 2003 based and Additional domain controller is Windows Server 2008 based. When I Installed New 2008 ADC and after some time, when I check with repadmin /showreps found the error.... DsReplicaGetInfo() failed with status 8453 (0x2105):Replication access was denied. I really worried about Solutions: [ DsReplicaGetInfo failed with status 8453 ]

Event ID: 14158 Source: Microsoft Forefront TMG Firewall - How to change intra-array address in TMG 2010

In my organization, we are privious using Microsoft ISA Server 2006 ENT for proxy and gateway purpose. There are two website published on ISA 2006 Server and I install Microsoft TMG 2010, this morning. When I was making installations and configurations of my New Microsoft TMG 2010 Firewall Server with 192.168.10.17 but when I replace server with my existing Microsoft ISA Server 2006 and change Internal IP to my privous gateway IP, Microsoft TMG 2010 start showing events with ID 14158  and Configurations Error with "Description : The IP address specified for communication between this Forefront TMG computer (192.168.10.17) and other array members is not bound to a network adapter installed on this computer. The IP address specified for intra-array communication must be bound to a network adapter installed on the computer." Event ID 14158 Solution - 1: (Easy One)  Management Console : Start > All Programs > Microsoft Forefront TMG > Micr...