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.

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
Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.


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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cisco Access point 6 62
Getting locked out and can't access Cisco via the web 18 40
Is WiFi half-duplex or Full -duplex 4 34
How DHCP Works in Wired/Wireless network 21 91
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now