Server Net Commands

Server Net Commands

Server NET commands are used to create, delete, modify, configure, and manage computer resources as they relate to networking. Server NET commands can also be used to display information about shared or network related resources.

For example the most commonly used command NET USE is often used to map a drive letter to a folder shared on another computer in the network.

Server NET commands are mostly used in scripting, for example login scripts.

The following table provides an overview of server NET commands.

Command Descriptions
net access This command displays or modifies resource permissions on servers. Use this command only for displaying and modifying permissions on pipes and printer queues. Net perms should be used for managing permissions on all other types of resources.
net accounts Displays the role of servers in a domain. It also displays or modifies password and logon user requirements.
net admin Runs an Advanced Server command or starts a command processor on a remote server.
net auditing This command displays and modifies the auditing settings of a resource.
net browser Net browser displays a list of domains that are visible from a local server. It can also be used to view the list of computers that are active in a domain.
net computer Displays or modifies the list of computer accounts in a domain.
net config Displays the controllable services that are running.
net config server Displays or changes settings for the Server service while it is running.
net continue When used at the server prompt, this command reactivates suspended services. If used at a client computer, this command reactivates paused shared printers.
net device Displays list of device names and controls shared printers. When used without options, this command displays the status of all shared printers at the specified server.
net file Displays the names of all open shared files and the number of file locks, if any, on each file. This command also can be used to close shared files. When used without options, this command lists all of the open files at a server. This command also can be typed as net files.
net group(s)This command adds, displays, or modifies global groups.
net help NET HELP provides a list of network commands and topics included in the help. NET HELP can be also used for a specific command or topic.
net helpmsg Provides help for a network error message.
net localgroup Adds, displays, or modifies local groups in domains. This command also can be typed as net localgroups.
net logoff Logs a user name off of the network.
net logon Logs a user name on to the server and sets the user name and password for the user's client.
net password Changes the password for a user account on a server or in a domain.
net pause Suspends services or printers at a server.
net perms Displays or modifies resource permissions and ownership information on servers. The resources on which this command currently operates are shares, directories, and files.
net print NET PRINT displays or controls print jobs and printer queues. This command also sets or modifies options for a printer queue.
net send Sends message to connected client computers.
net session Lists or disconnects sessions between a server and clients. When used without options, this command displays information about all of the sessions with the local server. This command also can be typed as net sessions.
net share NET SHARE creates, deletes, modifies, or displays shared resources. Use this command to make a resource available to clients. This command displays information about all of the resources being shared on the server when used without options.
net sid Performs translations between account names and their corresponding security identifiers (SIDs).
net start Starts a service or, if used without options, displays a list of services that are running. The services that can be started are Alerter, Computer Browser, Directory Replicator, EventLog, Net Logon, Server, Spooler, and Time Source.
net statistics Displays or clears the statistics log.
net status Displays a server's computer name, configuration settings, and a list of shared resources.
net stop This command stops a network service.
net time Synchronizes the client's clock with that of a server or domain, or displays the time for a server or domain.
net trust Establishes and breaks trust relationships between domains, and lists trust information for a specified domain.
net useThe NET USE command is used to associate a local drive letter or device name with a shared network drive or device. Most often, the NET USE command is used for network drive mapping.
net userAdds, modifies, or deletes user accounts or displays user account information.
net version Displays version of network software currently running on the computer at which the command is issued.
net view Displays list of servers or displays resources being shared by a server


Discuss this article or this topic in our discussion forum:
(The table bellow shows a list of 8 most recent topics posted in our discussion forum. Visit our discussion forum to see more. It is possible the links below are not related to this page, but you can be certain you will find related posts in the discussion forum. You can post one yourself too.)
Email this article to a friend:
2 + 6 - 3 = 
How can I link to this web page?

It is easy, just include the code provided below into your HTML code.

<a href="" title=" Server Net Commands" target="_blank">Server Net Commands</a>