net commands

Definition of net commands in The Network Encyclopedia.

What are Net Commands?

A group of commands that can be used at the command prompt for managing certain aspects of networking on Microsoft Windows platforms. These commands are summarized in the following tables. For more information about a specific command (such as net accounts), type net accounts /? or net help accounts at the command prompt. For additional information on the net commands for Windows NT and Windows 2000, refer to Windows Help.

Net Commands for Windows NT and Windows 2000

Command Description
Net Accounts
Update the accounts database, modify account and password settings, or display account information.
Net Computer
Add or remove computers from the domain.
Net Config
Display or change the setting for the Server or Workstation service.
Net Continue
Restart a paused Windows service.
Net File
Display a list of open shared files and file locks; this command can be used to close a shared file and remove a file lock.
Net Group
Add, modify, delete, or display global group account information in the domain directory database.
Net Help
Obtain a list of net commands or get help for a specific net command.
Net Helpmsg
Obtain further information about Windows network messages.
Net Localgroup
Add, modify, delete, or display local group account information in the local or domain directory database.
Net Name
Add, delete, or display the names or aliases that the Messenger service recognizes as representing your computer.
Net Pause
Pause a Windows service to allow users to disconnect before stopping it.
Net Print
Display and manage jobs in a print queue.
Net Send
Send a message to a user or computer over the network.
Net Session
Display the list of currently connected sessions on the local computer.
Net Share
Create, delete, or display shared resources.
Net Start
Display a list of running services or start a specific stopped service.
Net Statistics
Display statistics about the Server and Workstation services.
Net Stop
Stop a specified Windows service that is currently running.
Net Time
Synchronize the computer’s clock with that of another computer or domain, or display the time for a computer or domain.
Net Use
Connect or disconnect to shared resources or display information about connections.
Net User
Add, modify, delete, or display user account information in the local or domain directory database.
Net View
Display a list of computers in the domain or display the shared resources available on a specific computer.

Net Commands for Windows 95 and Windows 98

Command Description
Net Config
Display current computer settings.
Net Diag
Run the Microsoft Network Diagnostic program to display diagnostic information about a computer.
Net Help
Obtain a list of net commands or get help for a specific net command or error message.
Net Init
Load protocol and network-adapter drivers without binding them to Protocol Manager.
Net Logoff
Break connections to network resources.
Net Logon
Log on to a domain.
Net Password
Change logon password.
Net Print
Display and manage jobs in a print queue.
Net Start
Start services.
Net Stop
Stop services.
Net Time
Synchronize the computer’s clock with that of another computer or workgroup, or display the time for a computer or workgroup.
Net Use
Connect or disconnect to shared resources or display information about connections.
Net Ver
Display information about workgroup redirector.
Net View
Display a list of computers in the workgroup or display the shared resources available on a specific computer.

TIP

Some of the commands produce more than one screen of output at the command prompt. To prevent information from scrolling off the screen, pipe the output through More (for net help accounts | more).