net |
Allows command-line administration of certain aspects of network connectivity and security.
net [ option ]
net.exe must be used with one of the following services to give it a specific focus:
Manages password and logon requirements for user accounts
Adds or removes computer accounts from the domain
Displays whether Server and Workstation Services are running and configures these services
Continues paused services
Displays a list of shared files that are open and closes them
Creates global groups or modifies their membership
Provides quick help for a net command from the command line
Provides information on net command error messages
Creates local groups or modifies their membership
Adds or removes an alias for the computer
Pauses a service
Manages printer queues and print jobs
Sends a message to users or computers on the network
Manages sessions between a server and connected clients
Manages shared folders
Manages services
Displays statistics for the Workstation or Server service
Stops a service
Synchronizes the clock on the local machine with a time server
Manages connections with shared resources
Manages user accounts
Lists domains, computers, and shared resources
Because these options are independent of one another and can't be combined in a single command, you can think of them as a family of net commands instead of a single command with distinct options. The individual members of this family are considered in detail in the following entries.
To see the syntax of a net command from the command line, type net help followed by the option that defines the command. For example, to see the syntax for net accounts , type net help accounts .
All net commands also accept the following options:
Automatically answers yes to any prompt generated by the command (useful in batch files)
Automatically answers no to prompts
net accounts , net computer , net config , net continue , net file , net group , net help , net helpmsg , net localgroup , net name , net pause , net print , net send , net session , net share , net start , net statistics , net stop , net time , net use , net user , net view