Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - 'ipconfig' is not recognized as an internal or external command, . . .

 
12-28-2010   #1


W7 Ult x64
 
 

'ipconfig' is not recognized as an internal or external command, . . .

I am getting a message as above if I attempt to execute ipconfig. I tried another machine but the same message returns. What could be wrong?

My System SpecsSystem Spec
12-28-2010   #2


WCP ONLY
 
 


Quote   Quote: Originally Posted by churin View Post
I am getting a message as above if I attempt to execute ipconfig. I tried another machine but the same message returns. What could be wrong?
where are you typing it and what switches are you using?
My System SpecsSystem Spec
12-28-2010   #3


W7 Ult x64
 
 


I am not sure if I understand your question. What I am doing is going from start, run, typing in cmd and typing in ipconfig.
My System SpecsSystem Spec
.


12-28-2010   #4


Windows 7 Professional 64 bit
 
 


If you mean you're typing ipconfig from a command prompt, and you get the error you mentioned above, I'd look for malware. Check to see if "ipconfig.exe" is in c:\windows\system32\ also. It may have been tampered with in some fashion.
My System SpecsSystem Spec
12-28-2010   #5


W7 Ult x64
 
 


The ipconfig.exe is in that path(c:\windows\system32).
I will check to see if the system is infested with virus.
My System SpecsSystem Spec
12-28-2010   #6


Windows 7 Ultimate x64, XP Mode(VPC and VMLite), VM Player 4.02, W8 CPreview
 
 


In order to run the ipconfig tool you need to open an elevated command prompt not type commands in at the Start>Run command line.

First go to Start>All Programs>Accessories and right click on the command prompt icon to select "run as admin". Then type the "ipconfig /all" command to list all commands such as ipconfig /release or ipconfif /renew.

You will want to read the guide on this. Elevated Command Prompt
My System SpecsSystem Spec
12-28-2010   #7


W7 Ult x64
 
 


I ran a full virus scan but none found.

Elevated command prompt did not help.
My System SpecsSystem Spec
12-28-2010   #8


Windows 7 Ultimate x86
 
 


Quote   Quote: Originally Posted by Night Hawk View Post
In order to run the ipconfig tool you need to open an elevated command promptl
Sorry..there seems to be some confusion here:
you don't need an elevated command prompt....a regular one works just fine
'ipconfig' is not recognized as an internal or external command, . . .-capture.jpg


Besides to get all possible switches you should put in

ipconfig /?

ipconfig /all gives you just the verbose version of your actual configuration

-DG

It could be some Virus or a defective/incomplete path variable
against the first I would try some online scanners

http://www.eset.com/online-scanner

to find out about #2 open cmd, cd to C:\windows\system32 (or where ever ipconfig is supposed to be on your system and run it from there

Last edited by SledgeDG; 12-29-2010 at 10:03 AM..
My System SpecsSystem Spec
12-29-2010   #9


W7 Ult x64
 
 


The paths returned when "PATH" is executed on command prompt does not include "c:\windows\system32".

"ipconfig" command works if path is included as "c:\windows\system32\ipconfig".

How can I make "ipconfig" work without specifying the specific path for it?

Edit:
A solution has been found.
In the system properties, Value for Path is edited to include c:\windows\system32.
More specifically, navigate from system properties to Advanced System Settings, Advanced, Environment Variables, and Path in System Variables. Then Edit the Value to include c:\windows\system32.

Last edited by churin; 12-29-2010 at 10:15 AM..
My System SpecsSystem Spec
12-29-2010   #10


Windows 7 Ultimate x86
 
 


I wonder why system32 isn't in the path...it should be.
So here is how to get it back in there
'ipconfig' is not recognized as an internal or external command, . . .-capture.jpg
After you highlited Path and clicked the edit button go to the end of that edit line and add the following :
a trailing ; (in case there is none)

%SystemRoot%\system32;


If you want it to work without modifying the path variable, you have to be in the directory "\system32"
to use any of those commands.
-DG
My System SpecsSystem Spec
Reply

 'ipconfig' is not recognized as an internal or external command, . . . problems?



Thread Tools



Similar Threads for: 'ipconfig' is not recognized as an internal or external command, . . .
Thread Forum
c:\mon.bat not recognized as an internal Crashes and Debugging
Internal hard drive not recognized Hardware & Devices
ipconfig/all not recognized as command - HELP! Network & Sharing
Command Prompt command <ipconfig> not working Network & Sharing
Internal Hard drive Not Recognized General Discussion


All times are GMT -5. The time now is 06:13 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30