Where It All Started.

Where It All Started.

Software Engineering and Finance.

Tag: windows

Windows Network Discovery Using Built-in Tools

Success is neither magical nor mysterious. Success is the natural consequence of consistently applying basic fundamentals.

โ€” E. James Rohn.

Hi guys, last week Iโ€™ve worked on a vanilla Windows 10 client computer without internet but is connected to a LAN with many computer.

Iโ€™ve asked myself on how to get all alive computers in the network using only built in tools from Windows.

Here are the things Iโ€™ve did in order to accomplish this feat.

First thing I did was ping all broadcast IP using ping <broadcast ip> -t -i 4. This will ping the broadcast IP, this action will spread and send all message to all active computers in the network. After that we would wait for around 5-10 seconds, and execute the follow up command which is arp -a. The arp command will check the address resolution protocol and list it down.

The -i 4 on the ping command instructs to ping only on IPv4 (Internet Protocol Version 4) network. Thatโ€™s all there is to it. Kindly check the manual page of the commands for different flag combinations.

โŒ Originally posted on August 18, 2019