Cmd List All Devices on Network: How to Find Connected IP Addresses
In this article
The command cmd list all devices on network does not exist in Windows. To find connected devices, you must use the ARP cache or a network scanner tool.
These methods reveal the local hardware addresses and IP addresses of devices currently communicating with your computer.
ARP Cache Shows Recently Communicated Devices
The most direct way to see what your computer knows about the network is the Address Resolution Protocol (ARP) table. This table maps IP addresses to physical MAC addresses. It only lists devices your computer has recently talked to, not every device on the subnet.
- Open the Start menu and type
cmd. - Right-click Command Prompt and select Run as administrator.
- Type
arp -aand press Enter.
The output shows a list of IPv4 and IPv6 addresses. Look at the Physical Address column for the unique identifier of each device. If a device is offline or silent, it will not appear here.
Filtering the Output for Clarity
The full ARP table can be messy. You can filter it to show only active entries. Use the following command to save the list to a text file for easier reading:
arp -a > C:\network_devices.txt
This creates a file named network_devices.txt on your desktop. Open it with Notepad to review the list without scrolling through terminal output.
Nmap Scans the Entire Subnet
If you need a complete list of all devices, including those that have not communicated with your PC, use Nmap. This is a third-party tool, not a built-in Windows command. It sends packets to every possible IP address on your local network segment.
- Download Nmap from the official source.
- Install the software and run it as administrator.
- Type
nmap -sn 192.168.1.0/24(replace with your subnet).
The -sn flag performs a ping scan without port scanning. It identifies live hosts quickly. The output lists IP addresses and associated hostnames if DNS resolution is available.
Interpreting Nmap Results
Nmap may miss devices that block ICMP ping requests. Some IoT devices and printers disable ping responses for security. In these cases, Nmap might report the IP as down even if the device is online. Check your router’s DHCP client list for confirmation.
Router DHCP Client List Is Most Accurate
Your router maintains the definitive list of connected devices. This method requires accessing the router’s web interface rather than using a command line.
- Find your gateway IP by typing
ipconfigin CMD. - Look for the Default Gateway address.
- Enter this address into a web browser.
- Login with your router credentials.
- Navigate to the DHCP or Client List section.
This list shows every device assigned an IP address by the router. It includes device names and MAC addresses. It is the most reliable source for identifying unknown devices on your network.
Common Router Interface Locations
Different router brands place the client list in different menus. Look for sections labeled Attached Devices, LAN Status, or DHCP Clients. Enterprise routers may require navigating to Wireless > Station Association Table.
Powershell Provides Advanced Filtering
For users comfortable with scripting, PowerShell offers more detailed network information than CMD. It can query active TCP connections and display remote endpoints.
- Open PowerShell as administrator.
- Type
Get-NetTCPConnectionto see active connections. - Use
Get-NetAdapterto view local network interface details.
This approach helps identify which specific services are running on connected devices. It does not list passive devices like smart plugs or cameras that do not initiate connections.
Exporting Powershell Data
You can export the connection data to a CSV file for analysis. Use the command Get-NetTCPConnection | Export-Csv C:\connections.csv. This allows you to sort and filter results in Excel or another spreadsheet program.
Understanding MAC vs IP Addresses
When listing devices, you will encounter two types of addresses. An IP address is logical and changes based on network configuration. A MAC address is physical and burned into the network card.
| Address Type | Format | Changes When? | Scope |
|---|---|---|---|
| IP Address | 192.168.1.5 | Network Change | Global |
| MAC Address | 00-1A-2B-3C-4D-5E | Never | Local |
Use MAC addresses for permanent identification. Use IP addresses for current location tracking. Many modern networks use DHCP leases, meaning IP addresses change over time. MAC addresses remain constant unless spoofed.
Security Implications of Unknown Devices
Finding an unrecognized device on your network requires immediate action. Unauthorized devices can indicate a security breach or a guest device left connected.
- Identify the device using its MAC address prefix (OUI).
- Check the vendor name associated with the OUI.
- If unknown, block the MAC address in router settings.
- Change your Wi-Fi password to force re-authentication.
Most routers allow MAC filtering. Enable this feature to restrict access to known devices only. This adds a layer of security beyond the Wi-Fi password alone.
Troubleshooting Missing Devices
If a known device does not appear in any list, check the following causes. The device may be on a separate VLAN or guest network. Guest networks often isolate clients from the main LAN. They may also hide devices from ARP scans.
Another cause is AP Isolation. This setting prevents wireless clients from communicating with each other. It is common in public hotspots but should be disabled in home networks. Check your router’s wireless settings for this option.
Firewall Blocking Discovery
Windows Firewall or third-party antivirus software may block discovery protocols. Ensure File and Printer Sharing is enabled in Network and Sharing Center. This allows your PC to respond to network queries.
Verifying Device Identity
Once you identify an unknown device, verify its identity before blocking it. Search the MAC address on a site like macvendors.com. This reveals the manufacturer. A Sony MAC address likely belongs to a PlayStation or TV. A Google MAC address indicates a Nest device.
If the manufacturer matches a device you own, note the IP address. Compare it with your router’s lease table. This confirms the device is legitimate. Repeat this process for all unknown entries.