XP KILLED IPCONFIG!!!!!! ...Please Help....Re: ipconfig doesn't execute

  • Thread starter I'm Ted Jones Dammit!!!
  • Start date
I

I'm Ted Jones Dammit!!!

On two separate Windows XP Professional Systems I have come come across
a problem where the "ipconfig" command will no longer execute from the
command line. Here is the exact wording:

"C:\>ipconfig

Windows IP Configuration

An internal error occurred: The system cannot find the file specified.

Please contact Microsoft Product Support Services for further help.

Additional information: Unknown media status code.

C:\>Dangit! Give me my IP Address Information!!!
'Dangit!' is not recognized as an internal or external command,
operable program or batch file."
C:\>"


I've never seen this happen on other Microsoft Operating system and I
find it very puzzling, and frustrating as well.

Can someone please explain why this happened and possibly offer some
advice on how to fix it?!

Thanks.

TJ
 
M

Mike Hall \(MS-MVP\)

Go to the 'Command Prompt'.. type in the command.. watch what follows


--
Mike Hall
MVP - Windows Shell/user
 
T

tj

Mike said:
Go to the 'Command Prompt'.. type in the command.. watch what follows

Is that a joke?

OK. This is "what follows" if you missed it the first time...


C:\>ipconfig

Windows IP Configuration

An internal error occurred: The system cannot find the file
specified.

Please contact Microsoft Product Support Services for further help.

Additional information: Unknown media status code.

C:\>

Put that MS Certification to work and help out a fellow network
administrator...

Thanks!

TJ
 
J

Jerry

You need to use WNTIPCFG.EXE for XP. Look for WNTIPCFG_SETUP.EXE as a
download from Microsoft.
 
M

Mike Hall \(MS-MVP\)

Nope.. clerical error on my part.. apologies for that..

Have you tried recovering using the 'sfc /scannow' facility?.. the file
'ipconfig.exe' should appear in C:\Windows\System32 and
C:\Windows\ServicePackFiles\i386 if SP2 is present..

--
Mike Hall
MVP - Windows Shell/user
 
M

Malke

Mike said:
Nope.. clerical error on my part.. apologies for that..

Have you tried recovering using the 'sfc /scannow' facility?.. the
file 'ipconfig.exe' should appear in C:\Windows\System32 and
C:\Windows\ServicePackFiles\i386 if SP2 is present..
And maybe it's a path issue since he was saying "C:\ipconfig" instead of
C:\Windows\System32\ipconfig.

Malke
 
J

Jupiter Jones [MVP]

In that case the actual problem needs to be resolved instead of stopping
with a workaround.
 
M

Mike Hall \(MS-MVP\)

IPCONFIG is one of those programs that doesn't require the entire path to be
entered.. I would suggest that a search on the system would find it mia or
corrupted.. of course, it wouldn't do any harm to try the path..

--
Mike Hall
MVP - Windows Shell/user
 
J

Jerry

When I installed XP Pro there was no such thing as IPCONFIG - the workaround
was to download and install WNTIPCFG per instructions in one of these
newsgroups. Yes, there is an IPCONFIG on my system now which was installed
with SP2 and until 5 minutes ago I had no idea was there.
 
J

Jerry

Also, IPCONFIG is a DOS box program and WNTIPCFG can be run from withing XP
without resorting to a DOS box.
 
T

tj

Malke said:
Mike Hall (MS-MVP) wrote:
And maybe it's a path issue since he was saying "C:\ipconfig" instead of
C:\Windows\System32\ipconfig.

It isn't a path issue. The system path is correct and the same thing
happens if I execute the command directly from the system32 directory.
The funny thing is that I type the command with an incorrect option
like "ipconfig /mrt" then I do get the help info, but if I attempt
to execute it with a legit command it fails. So it is aware of the
command enough to realize when you execute it incorrectly, but when you
execute it correctly it barfs. Check out the output I copied below.
Make sure to take note of the misspelled word in the first line of the
error message. Looks like Microsoft needs a spell checker for their
error messages!





C:\WINDOWS\system32>ipconfig /mrt



Error: unrecongnized or incomplete command line.



USAGE:

ipconfig [/? | /all | /renew [adapter] | /release [adapter] |

/flushdns | /displaydns | /registerdns |

/showclassid adapter |

/setclassid adapter [classid] ]



where

adapter Connection name

(wildcard characters * and ? allowed, see examples)



Options:

/? Display this help message

/all Display full configuration information.

/release Release the IP address for the specified adapter.

/renew Renew the IP address for the specified adapter.

/flushdns Purges the DNS Resolver cache.

/registerdns Refreshes all DHCP leases and re-registers DNS
names

/displaydns Display the contents of the DNS Resolver Cache.

/showclassid Displays all the dhcp class IDs allowed for
adapter.

/setclassid Modifies the dhcp class id.



The default is to display only the IP address, subnet mask and

default gateway for each adapter bound to TCP/IP.



For Release and Renew, if no adapter name is specified, then the IP
address

leases for all adapters bound to TCP/IP will be released or renewed.



For Setclassid, if no ClassId is specified, then the ClassId is
removed.



Examples:
ipconfig ... Show information.
ipconfig /all ... Show detailed information
ipconfig /renew ... renew all adapters
ipconfig /renew EL* ... renew any connection that has its

name starting with EL
ipconfig /release *Con* ... release all matching connections,

eg. "Local Area Connection 1" or

"Local Area Connection 2"



C:\WINDOWS\system32>ipconfig /all



Windows IP Configuration



An internal error occurred: The system cannot find the file specified.



Please contact Microsoft Product Support Services for further help.



Additional information: Unknown media status code.



C:\WINDOWS\system32>ipconfig



Windows IP Configuration



An internal error occurred: The system cannot find the file specified.



Please contact Microsoft Product Support Services for further help.



Additional information: Unknown media status code.



C:\WINDOWS\system32>
 
B

Bruce Chambers

I'm Ted Jones Dammit!!! said:
On two separate Windows XP Professional Systems I have come come across
a problem where the "ipconfig" command will no longer execute from the
command line. Here is the exact wording:


How to Reset Internet Protocol (TCP-IP) in Win XP
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q299357

--

Bruce Chambers

Help us help you:



You can have peace. Or you can have freedom. Don't ever count on having
both at once. - RAH
 
N

Not Me

You should show a file named "ipconfig.exe" [less quotes] at
WINDOWS/system32 [WINDOWS is the system root folder]. These files are
hidden so if you search for it you have expose them. If you do not know
how to do that, come back and ask. In the meantime, go to: Start/All
Programs/Accessories/Command Prompt/type "ipconfig.exe" [leave out the
quote markers] and press the the keyboard "Enter" key. It should run; if
not, you need to run the System File Checker [from the Command Prompt
again, this time type "sfc /scannow" [again, less quote markers].
 
M

Mr B

My ipconfig.exe works after a new install (w/sp2) Did anyone ask what
version of XP Ted was running? has Ted run the updates? Is this a OEM or an
upgrade?

To piggyback off this thread though, Can one reset (release & renew) like
win98? If so, how? I sometimes (rare) have to reset my connection as I will
turn my lan modem off if I see unwarranted traffic. But would be nice to
know just in case.
 
J

Joshua Smith [MSFT]

.....and just for fun if you want to do it in one string you can do

"ipconfig /release & ipconfig /renew"

Joshua Smith
OpenGL Test Lab
Microsoft
-----

Get Secure! www.microsoft.com/security

This posting is provided "AS IS" with no warranties, and confers no rights
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top