Skip to content
⌘ NSIS Forum Archive

List of all computers on the network

2 posts

cam2009#

List of all computers on the network

Hello,

How can I get a list of all computer names on the network(LAN)?

Thank you
jpderuiter#
You can get it via an ExecDos call to 'Net View':
Looking to quick view how many computers running in your local area network(LAN)? without using any software.? NT OS shipped with handy net command that is used to update, fix, or view the network or network settings. NET VIEW command displays a list of computers in a specified workgroup or the shared resources available on


Or using the Windows API WNetEnumResource with the System plugin:
The WNetEnumResource function continues an enumeration of network resources that was started by a call to the WNetOpenEnum function. (ANSI)