netstat  and ipconfig at  command prompt  not recognized as an internal or external command

Posted on 2009-06-29
Last Modified: 2012-08-13
Need help.  Working on a Windows Vista Premium system (no choice).  Was using netstat to check ports being used.  worked fine.  All of a sudden  netstat commands are not recognized as internal or external commands.   IPconfig is also not recognized.  Also having problem with MySQL Query Browser not being able to connect to a MySQL instance that is successfully running from the command prompt.  Are al these related?   I think I may have changed something but not sure.. This question is about the NETSTAT.  I think if we can figure this out, the others will fall in place.  Thank you!  Urgent help is needed.  Thank you.

i can get on the internet and surf without any issues.l
Question by:OceanStars
  • 4
  • 3
  • 2
  • +1
LVL 23

Accepted Solution

debuggerau earned 250 total points
ID: 24741972
did the account get locked out?

Are the files still in the windows directory?

Author Comment

ID: 24742009
Do you know which Windows Vista directory it should be in?  I'm logged on as administrator on a home pc.

Author Comment

ID: 24742027
This is really serious.  My daughter is working from home (she has little ones).  She wanted me to install MySQL which successfully installed.   I checked the process PID in task manager and then the port using netstat -a which worked fine at one point.   Then all of a sudden it didn't.  I decided to check ipconfig as well and it also is not recognized.     netstat /? and ipconfig /?  and even help /?  are all not recognized.
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.


Assisted Solution

jfer0x01 earned 250 total points
ID: 24742036
Should be c:\windows\system32

Author Comment

ID: 24742077
netstat is in the c:\windows\system32 directory.  if i type netstat or ipconfig from this directory it runs.
when i typed SET   to see what the temp variables were   it just had  PATH=    and nothing following

Expert Comment

ID: 24742120
thats why

make a new path statement equaled to


1. go to control panel, out system path in top right corner

2. go to environment variables, you should see a familiar GUI Windows at this point

3. Find and edit the path statement


Expert Comment

ID: 24742122
Here's a link I found thats show more than one way

Expert Comment

ID: 24742127
This is actually a simple fix.  All you need to do is change the path.  Follow the directions here:

LVL 23

Expert Comment

ID: 24742263
correct link jfer0x01, unfortunately jmarti80's link is for XP..


Author Closing Comment

ID: 31598618
Thank you.  worked

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Switch ports not working 8 54
Cisco 5508 WLC software upgrade 2 72
Setting up static routes to  sonicwll 4 73
what is mstp 6 37
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question