Ipconfig and ping do not work

G

Guest

I've gone into the command window and whenever I try to run ipconfig and
ping, but I get an error saying that they are not valid internal or external
commands or batch files,
 
J

Jim

BuzzMcTroit said:
I've gone into the command window and whenever I try to run ipconfig and
ping, but I get an error saying that they are not valid internal or
external
commands or batch files,
This is what happens when you do not run cmd first.
Jim
 
C

Claymore

This is what happens when you do not run cmd first.
Jim

This could be malware. When you open the command window, do you go to
Start => Run and type in just 'cmd'? Try 'cmd.exe'.
When you open the Command windows, instead of just typing 'ping', type
'ping.exe'.
Look for files in C:\Windows\System32 such as cmd.com, ping.com,
regedit.com

If you do have these symptoms try this:

Download KillBox here:
http://www.bleepingcomputer.com/files/killbox.php
Run KillBox and check the box that says 'End Explorer Shell While
Killing File'. Next click on 'Delete on Reboot'. Copy the files
listed below and go back to KillBox. Go to File => Paste from
Clipboard and then hit the button with a red circle and white X.
Confirm to delete and when asked if you want to reboot, say no:

C:\Program Files\MsConfigs\MsConfigs.exe
C:\WINDOWS\system32\p2pnetwork.exe
C:\WINDOWS\system32\CMD.COM
C:\WINDOWS\system32\netstat.com
C:\WINDOWS\system32\ping.com
C:\WINDOWS\system32\ipconfig.com
C:\WINDOWS\system32\regedit.com
C:\WINDOWS\system32\tasklist.com
C:\WINDOWS\system32\taskkill.com
C:\WINDOWS\system32\taskmgr.com
C:\WINDOWS\system32\tracert.com

Restart
 
P

Patrick Keenan

BuzzMcTroit said:
I've gone into the command window and whenever I try to run ipconfig and
ping, but I get an error saying that they are not valid internal or
external
commands or batch files,

That usually means that the PATH environment variable does not include this
section:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;

or at very least this section:
%SystemRoot%\system32;

RIght click on My computer, Properties, Advanced, Environment Variables,
find the Path in the lower section, click on Edit and add that.

HTH
-pk
 
K

Ken Blake, MVP

This is what happens when you do not run cmd first.



No, not true. What happens if you try to run such a command from the
start | run line, rather than from a command window, is that the
results flash briefly on the screen and then disappear before you can
read them.

His problem is almost certainly an error in the path statement, so
that the ipconfig and ping commands can't be found. See Patrick
Keenan's reply in this thread.
 

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