net config

NET.exe

The NET Command is used to manage network resources as follows:

Managing Network configuration

To add a computer to the domain

NET COMPUTER \\ComputerName /ADD

This command is only available from the Server and is best run from the Primary Domain Controller (PDC)

To remove a computer from the domain

NET COMPUTER \\ComputerName /DEL

This command is only available from the Server and is best run from the Primary Domain Controller (PDC)

Change the idle session timeout (default = 15 minutes)

NET CONFIG SERVER /Autodisconnect:mm

To disable idle timeouts altogether

NET CONFIG SERVER /Autodisconnect:-1

Note this may reduce overall performance - see related KBase articles below.

To hide a machine from Network Neighbourhood (by not sending announcements to domain browsers you may reduce network traffic.)

NET CONFIG SERVER /hidden:yes

Before using the /hidden option see Q128167

Change the comment displayed in My Computer (detail view)

NET CONFIG SERVER /Srvcomment:"YourText"

Before using the /Srvcomment option see Q128167

Display or change the Workstation Service communication device settings

NET CONFIG WORKSTATION /?

Display statistics

NET STATISTICS WORKSTATION

NET STATISTICS SERVER

Related:

MODE - Configure a system device

SC - Service Control

Q138365 - Autodisconnect (Red cross)

Q305355 - Drive disconnected, and a red "X" appears

Equivalent bash command (Linux): uname - Print system information