netshnetsh interface show interface: View Adapter Status
Learn how to use netsh interface show interface to view network adapter status, admin state, and interface names for troubleshooting and automation.
The netsh interface show interface command displays a concise list of network adapters, including their admin state, connection state, and interface name. It is one of the fastest ways to confirm which interfaces are enabled, connected, or disabled before running network troubleshooting or configuration commands.
Whether you are an IT professional verifying adapter status, a system administrator scripting network changes, or a support engineer diagnosing connectivity issues, this command provides a reliable snapshot of network interface state without opening GUI tools.
This guide covers syntax, output columns, examples, troubleshooting, related commands, FAQs, and a quick reference card. By the end, you will confidently use netsh interface show interface for network diagnostics and automation.
What Is netsh interface show interface?
netsh interface show interface lists network interfaces on the system and shows their Admin State, State, Type, and Interface Name. This is critical when you need the exact adapter name for other netsh commands such as enabling or disabling an adapter, setting IP addresses, or changing DNS settings.
The output is easy to parse and works in both Command Prompt and PowerShell. It is available in all modern Windows versions.
Syntax
netsh interface show interface
Output Columns
| Column | Meaning | Typical Values |
|---|---|---|
| Admin State | Whether the adapter is enabled or disabled | Enabled, Disabled |
| State | Link status | Connected, Disconnected |
| Type | Interface type | Dedicated, Loopback, Tunnel |
| Interface Name | Adapter name used in commands | Ethernet, Wi-Fi |
Examples (HowTo)
1. Show all network interfaces
Scenario: You need the exact adapter names for configuration commands.
netsh interface show interface
Expected output (example):
Admin State State Type Interface Name
-------------------------------------------------------------------------
Enabled Connected Dedicated Ethernet
Enabled Disconnected Dedicated Wi-Fi
Disabled Disconnected Dedicated Ethernet 2
Explanation: The Interface Name column is the value you must use in other netsh commands.
2. Identify which adapter is disconnected
Scenario: You are troubleshooting why a machine has no network access.
netsh interface show interface
Explanation: If the Wi-Fi adapter shows Disconnected, check wireless connectivity or enable it.
3. Use the interface name to enable an adapter
Scenario: You want to enable a disabled adapter.
netsh interface set interface "Wi-Fi" enabled
Explanation: You must use the exact interface name from the listing.
4. Use the interface name to set a static IP
Scenario: You need to configure a static IP on a specific adapter.
netsh interface ip set address name="Ethernet" static 192.168.1.50 255.255.255.0 192.168.1.1
Explanation: Ethernet is the interface name from the output.
5. Capture interface status for documentation
Scenario: You want a record of adapter states.
netsh interface show interface > C:\Logs\interface-status.txt
Explanation: Saves the interface list for audit or troubleshooting.
6. Verify interface state before running scripts
Scenario: Your script depends on Wi-Fi being enabled.
netsh interface show interface
Explanation: Confirm Admin State is Enabled and State is Connected before running network tasks.
Common Use Cases
-
Find exact adapter names – Required for any netsh configuration command.
-
Check whether Wi-Fi is connected – Quick troubleshooting step.
-
Verify Ethernet link status – Confirm cable or switch connectivity.
-
Enable or disable adapters – Use with
netsh interface set interface. -
Document network state – Export output for tickets and audits.
-
Script pre-checks – Validate network state before automation runs.
-
Diagnose VPN adapters – Identify tunnel interfaces and their state.
-
Confirm disabled adapters – Identify unused or misconfigured adapters.
-
Compare system baselines – Ensure interface configurations match standards.
-
Remote support – Ask users to run the command for quick diagnostics.
Tips and Best Practices
-
Always use exact interface names – Names are case-sensitive in some contexts.
-
Quote names with spaces – e.g.,
"Ethernet 2". -
Run as Administrator when modifying adapters – Some actions require elevation.
-
Use export for documentation – Save snapshots for troubleshooting history.
-
Check both Admin State and State – Enabled but disconnected means link issues.
-
Identify tunnel interfaces – Useful for VPN troubleshooting.
-
Verify after changes – Rerun the command after enabling or disabling adapters.
-
Combine with ipconfig – Validate configuration details.
-
Standardize adapter naming – Use consistent naming in images and scripts.
-
Use with netsh wlan commands – Ensure Wi-Fi interface exists before running wlan commands.
Troubleshooting Common Issues
Adapter not listed
Problem: A network adapter does not appear in the output.
Cause: The adapter is disabled at the hardware level or driver is missing.
Solution: Check Device Manager and verify drivers are installed.
Prevention: Keep drivers updated and ensure hardware is enabled.
Names don't match expected
Problem: Script fails because the adapter name is different.
Cause: Adapter names vary by hardware and OEM installs.
Solution: Use netsh interface show interface and update scripts.
Prevention: Standardize adapter naming via imaging or configuration management.
Output shows Enabled but Disconnected
Problem: Adapter is enabled but no connectivity.
Cause: Cable unplugged, Wi-Fi not connected, or switch issues.
Solution: Verify physical connections or connect to a wireless network.
Prevention: Use additional diagnostics like ping and ipconfig.
Access denied for interface changes
Problem: You cannot enable or disable adapters.
Cause: Insufficient privileges.
Solution: Run an elevated prompt.
Prevention: Use admin rights for changes.
Related Commands
netsh interface set interface
Enables or disables a specified network interface.
netsh interface ip show config
Shows detailed IP configuration for adapters.
ipconfig
Displays IP address and DNS configuration quickly.
ping
Tests connectivity after verifying interface state.
netsh wlan show interfaces
Shows detailed Wi-Fi interface status.
Frequently Asked Questions
What does netsh interface show interface do?
It lists network adapters with their admin state, link state, type, and name.
Why is Admin State different from State?
Admin State indicates whether the adapter is enabled; State indicates connection status.
How do I enable an interface?
Use netsh interface set interface "Name" enabled.
Can I use this in PowerShell?
Yes, netsh commands work in PowerShell.
Is this read-only?
Yes, the command itself is read-only and safe to run.
Why do I need exact interface names?
Other netsh commands require the exact name for configuration tasks.
Does it show VPN adapters?
Yes, tunnel and VPN adapters often appear with Type Tunnel.
Where is this data stored?
The output is generated from Windows networking configuration and does not require separate files.
Quick Reference Card
| Command | Purpose | Example |
|---|---|---|
netsh interface show interface | List adapter status | netsh interface show interface |
netsh interface set interface "Wi-Fi" enabled | Enable adapter | netsh interface set interface "Wi-Fi" enabled |
netsh interface set interface "Ethernet" disabled | Disable adapter | netsh interface set interface "Ethernet" disabled |
netsh interface ip show config | Show IP config | netsh interface ip show config |
CTA: Practice and Explore
Practice network commands in the Windows Command Simulator and explore more tools in the Commands Reference. For deeper networking tasks, see netsh, ipconfig, and ping. Learn more about this project on the About page.
Summary
netsh interface show interface provides a fast, reliable view of network adapter status, including admin state and connection state. Use it to confirm adapter names, diagnose connectivity issues, and prepare for configuration changes.
For automation and troubleshooting, this command is often the first step. Combine it with netsh interface set interface, ipconfig, and ping to complete your network workflow with confidence.