List all Computers on Network in Command Prompt

In this article, I am going to explain about the Command Prompt‘s command NET VIEW to List available Computers on Network..

Find and List all Computers on Network or current domain:

NET VIEW
List all Computers on Network command prompt NET VIEW Command

Note: The Net View command requires the Computer Browser service. In Win10 v1709 and later versions, the SMBv1 server/client components (which include the Computer Browser service) are not installed by default. You can refer to this post for more details: SMBv1 is not installed by default in Windows.

The net view command will return the following error message if the Computer Browser service is not available or not running.

PS C:\> net view
System error 6118 has occurred.
The list of servers for this workgroup is not currently available

To install the Computer Browser service (SMBv1 server/client components), open the Control Panel -> Programs -> Turn Windows Features On or Off -> scroll down and select SMB 1.0/CIFS File Sharing Support and click OK. Finally, restart the machine and check the service.

Find all Computers in a specific Domain Network using Command Prompt:

NET VIEW /DOMAIN:domainname

where “domainname” is the name of a domain whose computers you want to view.

Find shared resources in a specific Computer:

NET VIEW <computername> 

where “computername” is the name of a specific computer whose resources you want to view.

Get shared resources in a specific work group computers:

NET VIEW /workgroup:<workgroupname> 

where “workgroupname” is the name of the workgroup whose shared resources you want to view.

Thanks,
Morgan
Software Developer

Advertisement

4 thoughts on “List all Computers on Network in Command Prompt”

    • The Net View command requires the Computer Browser service.

      In Win10 v1709 and later versions, the SMBv1 server/client components (which include the Computer Browser service) are not installed by default, and the SMBv1 ‘Client’ components will be automatically removed after 15 days if the OS detects they are not being used. You can refer to this post for more details: SMBv1 is not installed by default in Windows.

      To install the Computer Browser service (SMBv1 server/client components), open the Control Panel -> Programs -> Turn Windows Features On or Off -> scroll down and select SMB 1.0/CIFS File Sharing Support and click OK. Finally, restart the machine and check the service.

      Reply

Leave a Comment