Share via

'ipconfig' is not recognized as an internal or external command, operable program or batch file

Anonymous
2010-07-21T23:54:42+00:00

I get this error for everything that is entered. I even tried show ip and got the error that 'show' was not recognized. I am not able to get connected to the modem and my internet provider is refusing to help with my connection until this is resolved. Can anyone help?

I am using Microsoft Windows XP.

Windows for home | Previous Windows versions | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2010-07-22T18:50:11+00:00

    I had the same problem on my Sony VAIO running Windows XP Professional SP3.

    My problem is that the "PATH" environment variable did NOT include "C:\WINDOWS\system32"

    Any executable in that folder could only be run from a cmd prompt if the command included the entire path.

    Solution for me: add "C:\WINDOWS\system32;" to the start of my PATH environment variable, like this:

    Log in with Administrator priviledges.

    Right-click "My Computer" & select "Properties."

    Click "Advanced" tab.

    Click "Environment Variables" button.

    In the "System variables" box, scroll down to "PATH" and highlight it.

    Click the "Edit" button.

    In the "Variable value:" box, add to the very beginning of the text "C:\WINDOWS\system32;" without my quotation marks.

    Make sure you include the semicolon.

    Click OK three times.

    No reboot required. If this was your problem, then ipconfig should work right away.

    300+ people found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Anonymous
    2010-07-22T14:16:42+00:00

    In an effort to narrow down the issue try the following:

    • open command prompt
    • make sure you are on the C:> directory
    • type this: windows\system32\ipconfig /all

    that will point to the default location for the command...you can also follow the path out to see if the ipconfig.exe is there in the first place. If that doesn't work or the file is not there, it could be corrupt or you could possibly have a virus designed to disable these commands. Let me know what happens for further troubleshooting. I also suggest updating your virus definitions and running a full scan.

    100+ people found this answer helpful.
    0 comments No comments

36 additional answers

Sort by: Most helpful
  1. Anonymous
    2013-05-23T22:01:04+00:00

    on command prompt:

    the path showing is C:\user\user so we need to change the path.

    Type

    cd C:\Windows\System32>

    the result would be another path  - C:\Windows\System32>

    the system32 path will show, after that you can put now the ipconfig command.

    C:\Windows\System32>ipconfig

    Wish this would be helpful.

    10+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2013-06-11T08:47:07+00:00

    Easier is open cmd 

    go to c:\ by typing cd .. until you didnot see c:\

    now type cd widows\system32

    and now you can run your command

    6 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2011-01-19T20:14:35+00:00

    absolutely right ... this is the solution of problem if u getting this error of command not recognized ...

    windows\system32\ipconfig /all

    6 people found this answer helpful.
    0 comments No comments