Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide 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, . . .

28 Dec 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
.

28 Dec 2010   #2

Win 8 Release candidate 8400
 
 

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
28 Dec 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
.


28 Dec 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
28 Dec 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
28 Dec 2010   #6

Windows 7 Ultimate x64, XP Mode, W8.1 Preview VM - 7 Pro x64 second remote tower
 
 

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
28 Dec 2010   #7

W7 Ult x64
 
 

I ran a full virus scan but none found.

Elevated command prompt did not help.
My System SpecsSystem Spec
28 Dec 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
Name:  Capture.JPG
Views: 234
Size:  57.4 KB


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


My System SpecsSystem Spec
29 Dec 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.
My System SpecsSystem Spec
29 Dec 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, . . .




Thread Tools



Similar help and support threads for2: 'ipconfig' is not recognized as an internal or external command, . . .
Thread Forum
ipconfig/all not recognized as command - HELP! Network & Sharing
internal Houdini Drives not being recognized (disappearing act) Hardware & Devices
c:\mon.bat not recognized as an internal BSOD Help and Support
Internal hard drive not recognized Hardware & Devices
Internal HDD usb connection not recognized for some reason Hardware & Devices
Command Prompt command <ipconfig> not working Network & Sharing
Internal Hard drive Not Recognized General Discussion

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 02:06 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 31 32 33