Sep 4, 2025
This lecture covers essential Windows networking commands for troubleshooting, including IP address discovery, connectivity testing, route tracing, and network shares management.
ipconfig
command to display adapter, IP, subnet mask, DNS, and DHCP server information for IPv4 and IPv6.ipconfig /all
provides more detailed network configuration, including host name and proxy settings.ping
command checks communication with another network device and measures round trip times.netstat
displays active connections and listening ports.netstat -a
lists all connections and listening ports on the device.netstat -b
shows the executable responsible for each connection (requires administrator rights).netstat -n
displays connections using only IP addresses without name resolution.nslookup
to resolve domain names to IP addresses and view DNS server responses.net
commands manage resources like user accounts and shared files.net view \\servername
lists available shares on a remote server.net use [drive:] \\servername\sharename
maps a shared drive to a drive letter.net user
views and manages user accounts on a device.tracert
traces the route packets take to reach a destination, listing each router (hop) along the way.pathping
combines ping
and tracert
, first mapping the route and then measuring round trip times and packet loss at each hop.pathping
takes longer but gives detailed hop-by-hop network performance statistics.net use
.ipconfig /all
for your device's configuration.