Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NETSTAT -a -b not working in windows 7?

Tags:

windows-7

In cmd.exe I enter:

NETSTAT -a -b

=> result not working and show The requested operation requires elevation

How to check port software running in windows 7

like image 789
Hai Truong IT Avatar asked Aug 20 '12 08:08

Hai Truong IT


People also ask

Why netstat command is not working?

This simply means that the relevant package net-tools which includes netstat executable is not installed, thus missing. The package net-tools may not be installed on your system by default so you need to install it manually.

Does netstat work on Windows?

netstat provides statistics about all active connections so you can find out which computers or networks a PC is connected to. You can use the network tool for Windows, Linux, and macOS conveniently via the command line.

Is netstat still used?

While in recent years netstat has been deprecated in favor of the ss command, you may still find it in your networking toolbox. For a more modern take, I will explore ss in a future article, so be sure to keep an eye out for that! [ Getting started with networking?


2 Answers

You should have administrator rights to do this action

Run cmd.exe from administrator

like image 111
DuXeN0N Avatar answered Oct 13 '22 07:10

DuXeN0N


found following answer from Microsoft :

Open the command prompt by right clicking on the command prompt icon and select "Run as Administrator"

like image 32
Anil Bharadia Avatar answered Oct 13 '22 06:10

Anil Bharadia