IPAddr

NET HELP command -or- NET command /HELP

Commands available are:
NET ACCOUNTSNET HELPNET SHARE
NET COMPUTERNET HELPMSGNET START
NET CONFIGNET LOCALGROUPNET STATISTICS
NET CONFIG SERVERNET NAMENET STOP
NET CONFIG WORKSTATIONNET PAUSENET TIME
NET CONTINUENET PRINTNET USE
NET FILENET SENDNET USER
NET GROUPNET SESSIONNET VIEW
Other Commands available are:
NET HELP SERVICES lists some of the services you can start.
NET HELP SYNTAX explains how to read NET HELP syntax lines.
NET HELP command | MORE displays Help one screen at a time.

SYNTAX

The following conventions are used to indicate command syntax:

NET START can be used to start services, including:

When typed at the command prompt, service names of two words or more must be enclosed in quotation marks. For example, NET START "NET LOGON" starts the net logon service.

NET ACCOUNTS [/FORCELOGOFF:{minutes | NO}] [/MINPWLEN:length] [/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days] [/UNIQUEPW:number] [/DOMAIN]

NET ACCOUNTS updates the user accounts database and modifies password and logon requirements for all accounts. When used without options, NET ACCOUNTS displays the current settings for password, logon limitations, and domain information.

Two conditions are required in order for options used with NET ACCOUNTS to take effect:

  1. The password and logon requirements are only effective if user accounts have been set up (use User Manager or the NET USER command).
  2. The Net Logon service must be running on all servers in the domain that verify logon. Net Logon is started automatically when Windows starts.

NET COMPUTER \\computername {/ADD | /DEL}

NET COMPUTER adds or deletes computers from a domain database. This command is available only on Windows NT Servers.

\\computername Specifies the computer to add or delete from the domain.
/ADD Adds the specified computer to the domain.
/DEL Removes the specified computer from the domain.

NET CONFIG [SERVER | WORKSTATION]

NET CONFIG displays configuration information of the Workstation or
Server service. When used without the SERVER or WORKSTATION switch,
it displays a list of configurable services. To get help with
configuring a service, type NET HELP CONFIG service. SERVER Displays information about the configuration of
the Server service.
WORKSTATION Displays information about the configuration of
the Workstation service.

NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:"text"] [/HIDDEN:{YES | NO}]

NET CONFIG SERVER displays or changes settings for the Server service. /AUTODISCONNECT:time Sets the maximum number of minutes a user's
session can be inactive before it is disconnected.
You can specify -1 to never disconnect. The range
is -1-65535 minutes; the default is 15.
/SRVCOMMENT:"text" Adds a comment for the server that is displayed in
Windows Screens and with the NET VIEW command.
The comment can have as many as 48 characters.
Enclose the text in quotation marks.
/HIDDEN:{YES | NO} Specifies whether the server's computername
appears on display listings of servers. Note that
hiding a server does not alter the permissions
on that server. The default is NO. To display the current configuration for the Server service,
type NET CONFIG SERVER without parameters. NET HELP command | MORE displays Help one screen at a time.

NET CONFIG [SERVER | WORKSTATION]

NET CONFIG displays configuration information of the Workstation or
Server service. When used without the SERVER or WORKSTATION switch,
it displays a list of configurable services. To get help with
configuring a service, type NET HELP CONFIG service. SERVER Displays information about the configuration of
the Server service.
WORKSTATION Displays information about the configuration of
the Workstation service.

NET CONTINUE service

NET CONTINUE reactivates a Windows service that has been suspended by NET PAUSE. service Is the paused service.
For example, one of the following:
NET LOGON
NT LM SECURITY SUPPORT PROVIDER
SCHEDULE
SERVER
WORKSTATION

NET FILE [id [/CLOSE]]

NET FILE closes a shared file and removes file locks. When used without
options, it lists the open files on a server. The listing includes the
identification number assigned to an open file, the pathname of the file,
the username, and the number of locks on the file. This command works only on computers running the Server service. id Is the identification number of the file.
/CLOSE Closes an open file and removes file locks. Type this command
from the server where the file is shared.

NET GROUP [groupname [/COMMENT:"text"]] [/DOMAIN] groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN] groupname username [...] {/ADD | /DELETE} [/DOMAIN]

NET GROUP adds, displays, or modifies global groups on servers. Used without parameters, it displays the groupnames on the server. groupname Is the name of the group to add, expand, or delete.
Supply only a groupname to view a list of users
in a group.
/COMMENT:"text" Adds a comment for a new or existing group.
The comment can have as many as 48 characters. Enclose
the text in quotation marks.
/DOMAIN Performs the operation on a domain controller
of the current domain. Otherwise, the operation is
performed on the local computer.
username[ ...] Lists one or more usernames to add to or remove from
a group. Separate multiple username entries with a space.
/ADD Adds a group, or adds a username to a group.
/DELETE Removes a group, or removes a username from a group.

NET HELPMSG message#

NET HELPMSG displays information about Windows network messages
(such as error, warning, and alert messages). When you type NET HELPMSG and
the 4-digit number of the Windows error (for example, NET2182),
Windows tells you about the message and suggests action you can take
to solve a problem. message# Is the 4-digit number of the Windows message you need help
with. You don't need to type NET as part of the message number.

NET LOCALGROUP [groupname [/COMMENT:"text"]] [/DOMAIN] groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN] groupname name [...] {/ADD | /DELETE} [/DOMAIN]

NET LOCALGROUP modifies local groups on computers. When used without options, it displays the local groups on the computer. groupname Is the name of the local group to add, expand, or
delete. Supply only a groupname to view a list of
users or global groups in a local group.
/COMMENT:"text" Adds a comment for a new or existing group.
Enclose the text in quotation marks.
/DOMAIN Performs the operation on the domain controller
of the current domain. Otherwise, the operation is
performed on the local workstation.
name [ ...] Lists one or more usernames or groupnames to add or to
remove from a local group. Separate multiple entries with
a space. Names may be users or global groups, but not
other local groups. If a user is from another domain,
preface the username with the domain name (for
example, SALES\RALPHR).
/ADD Adds a groupname or username to a local group. An account
must be established for users or global groups added to a
local group with this command.
/DELETE Removes a groupname or username from a local group.

NET NAME [name [/ADD | /DELETE]]

NET NAME adds or deletes a messaging name (alias) at a computer. A messaging name is a name to which messages are sent. When used without options, NET NAME displays the names accepting messages at the computer. A computer's list of names comes from three places: Message names, which are added with NET NAME A computername, which is added as a name when the Workstation
service is started. This name cannot be deleted. A username, which is added as a name when you log on, if it
is not being used at another computer. This name can be deleted. name Specifies the name to receive messages. The name can have as
many as 15 characters.
/ADD Adds a name to a computer. Typing /ADD is optional; typing
NET NAME name works the same way as typing NET NAME name /ADD.
/DELETE Removes a name from a computer.

NET PAUSE service

NET PAUSE suspends a Windows service or resource. Pausing a service
puts it on hold. service Is the service to be paused.
For example, one of the following:
NET LOGON
NT LM SECURITY SUPPORT PROVIDER
SCHEDULE
SERVER
WORKSTATION NET HELP command | MORE displays Help one screen at a time.

NET PRINT
\\computername\sharename
[\\computername] job# [/HOLD | /RELEASE | /DELETE]
NET PRINT displays print jobs and shared queues.
For each queue, the display lists jobs, showing the size
and status of each job, and the status of the queue. \\computername Is the name of the computer sharing the printer
queue(s).
sharename Is the name of the shared printer queue.
job# Is the identification number assigned to a print
job. A computer with one or more printer queues
assigns each print job a unique number.
/HOLD Prevents a job in a queue from printing.
The job stays in the printer queue, and other
jobs bypass it until it is released.
/RELEASE Reactivates a job that is held.
/DELETE Removes a job from a queue. NET HELP command | MORE displays Help one screen at a time.

NET SEND
{name | * | /DOMAIN[:name] | /USERS} message
Sends messages to other users, computers, or messaging names
on the network. The Messenger service must be running to receive messages. You can send a message only to a name that is active on the network.
If the message is sent to a username, that user must be logged on
and running the Messenger service to receive the message. name Is the username, computername, or messaging name
to send the message to. If the name is a
computername that contains blank characters,
enclose the alias in quotation marks (" ").
* Sends the message to all the names in your group.
/DOMAIN[:name] Sends the message to all the names in the
workstation domain. If name is specified, the
message is sent to all the names in the specified
domain or workgroup.
/USERS Sends the message to all users connected to
the server.
message Is text to be sent as a message. NET HELP command | MORE displays Help one screen at a time.

NET SESSION
[\\computername] [/DELETE] NET SESSION lists or disconnects sessions between the computer and other
computers on the network. When used without options, it displays information
about all sessions with the computer of current focus. This command works only on servers. \\computername Lists the session information for the named computer.
/DELETE Ends the session between the local computer and
computername, and closes all open files on the computer
for the session. If computername is omitted,
all sessions are ended. NET HELP command | MORE displays Help one screen at a time.

NET SHARE sharename sharename=drive:path [/USERS:number | /UNLIMITED] [/REMARK:"text"] [/CACHE:Manual | Documents| Programs | None ]
sharename [/USERS:number | /UNLIMITED]
[/REMARK:"text"]
[/CACHE:Manual | Documents | Programs | None]
{sharename | devicename | drive:path} /DELETE


NET SHARE makes a server's resources available to network users. When used without options, it lists information about all resources being shared on the computer. For each resource, Windows reports the devicename(s) or pathname(s) and a descriptive comment associated with it. sharename Is the network name of the shared resource. Type
NET SHARE with a sharename only to display information
about that share.
drive:path Specifies the absolute path of the directory to
be shared.
/USERS:number Sets the maximum number of users who can
simultaneously access the shared resource.
/UNLIMITED Specifies an unlimited number of users can
simultaneously access the shared resource
/REMARK:"text" Adds a descriptive comment about the resource.
Enclose the text in quotation marks.
devicename Is one or more printers (LPT1: through LPT9:)
shared by sharename.
/DELETE Stops sharing the resource.
/CACHE:Manual Enables manual client caching of programs and documents
from this share
/CACHE:Documents Enables automatic caching of documents from this share
/CACHE:Programs Enables automatic caching of documents and programs
from this share
/CACHE:None Disables caching from this share

NET START [service]

NET START lists running services. service May include one of the following services:
ALERTER
BROWSER
CLIENT SERVICE FOR NETWARE
CLIPBOOK
DHCP CLIENT
EVENTLOG
FILE REPLICATION
MESSENGER
NET LOGON
NT LM SECURITY SUPPORT PROVIDER
PLUG AND PLAY
REMOTE ACCESS CONNECTION MANAGER
ROUTING AND REMOTE ACCESS
RPCLOCATOR
RPCSS
SCHEDULE
SERVER
SPOOLER
TCP/IP NETBIOS HELPER SERVICE
UPS
WORKSTATION When typed at the command prompt, service names of two words or more must
be enclosed in quotation marks. For example, NET START "NET LOGON"
starts the net logon service. NET START can also start services not provided with Windows.

NET STATISTICS [WORKSTATION | SERVER]

NET STATISTICS displays the statistics log for the local Workstation or Server service. Used without parameters, NET STATISTICS displays the services for which statistics are available. SERVER Displays the Server service statistics. WORKSTATION Displays the Workstation service statistics.

NET STOP service

NET STOP stops Windows services. Stopping a service cancels any network connections the service is
using. Also, some services are dependent on others. Stopping one
service can stop others. Some services cannot be stopped. service May be one of the following services:
ALERTER
BROWSER
CLIENT SERVICE FOR NETWARE
CLIPBOOK
DHCP CLIENT
FILE REPLICATION
MESSENGER
NET LOGON
NT LM SECURITY SUPPORT PROVIDER
REMOTE ACCESS CONNECTION MANAGER
ROUTING AND REMOTE ACCESS
RPCLOCATOR
SCHEDULE
SERVER
SPOOLER
TCP/IP NETBIOS HELPER SERVICE
UPS
WORKSTATION NET STOP can also stop services not provided with Windows.

NET TIME
[\\computername | /DOMAIN[:domainname] | /RTSDOMAIN[:domainname]] [/SET]
[\\computername] /QUERYSNTP
[\\computername] /SETSNTP[:ntp server list]

NET TIME synchronises the computer's clock with that of another computer or domain, or displays the time for a computer or domain. When used without options on a Windows Server domain, it displays the current date and time at the computer designated as the time server for the domain. This command allows setting the NTP timeserver for computername. \\computername Is the name of the computer you want to check or synchronise with. /DOMAIN[:domainname] Specifies to synchronise the time from the Primary Domain Controller of domainname. /RTSDOMAIN[:domainname] Specifies to synchronise with a Reliable Time Server from domainname. /SET Synchronises the computer's time with the time on the specified computer or domain.
/QUERYSNTP Displays the currently configured NTP server for this computer
/SETSNTP[:ntp server list]
Sets the NTP time servers to be used by this computer. This may be a list of IP addresses or DNS names separated by spaces. If multiple timeservers are listed, the list must be surrounded by quotes.

NET USE

[devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]] NET USE {devicename | *} [password | *] /HOME NET USE [/PERSISTENT:{YES | NO}]
NET USE connects a computer to a shared resource or disconnects a computer from a shared resource. When used without options, it lists the computer's connections. devicename Assigns a name to connect to the resource or specifies
the device to be disconnected. There are two kinds of
devicenames: disk drives (D: through Z:) and printers
(LPT1: through LPT3:). Type an asterisk instead of a
specific devicename to assign the next available
devicename.
\\computername Is the name of the computer controlling the shared
resource. If the computername contains blank characters,
enclose the double backslash (\\) and the computername
in quotation marks (" "). The computername may be from
1 to 15 characters long.
\sharename Is the network name of the shared resource.
\volume Specifies a NetWare volume on the server. You must have
Client Services for Netware (Windows Workstations)
or Gateway Service for Netware (Windows Server)
installed and running to connect to NetWare servers.
password Is the password needed to access the shared resource.
* Produces a prompt for the password. The password is
not displayed when you type it at the password prompt.
/USER Specifies a different username with which the connection
is made.
domainname Specifies another domain. If domain is omitted,
the current logged on domain is used.
username Specifies the username with which to logon.
/SMARTCARD Specifies that the connection is to use credentials on
a smart card.
/SAVECRED Specifies that the username and password are to be saved.
This switch is ignored unless the command prompts for username
and password. This option is not available on Windows XP
Home Edition and will be ignored.
/HOME Connects a user to their home directory.
/DELETE Cancels a network connection and removes the connection
from the list of persistent connections.
/PERSISTENT Controls the use of persistent network connections.
The default is the setting used last.
YES Saves connections as they are made, and restores
them at next logon.
NO Does not save the connection being made or subsequent
connections; existing connections will be restored at
next logon. Use the /DELETE switch to remove
persistent connections.

NET USER

[username [password | *] [options]] [/DOMAIN]
username {password | *} /ADD [options] [/DOMAIN]
username [/DELETE] [/DOMAIN] NET USER creates and modifies user accounts on computers. When used
without switches, it lists the user accounts for the computer. The
user account information is stored in the user accounts database. This command works only on servers.
username Is the name of the user account to add, delete, modify, or
view. The name of the user account can have as many as
20 characters.
password Assigns or changes a password for the user's account.
A password must satisfy the minimum length set with the
/MINPWLEN option of the NET ACCOUNTS command. It can have as
many as 14 characters.
* Produces a prompt for the password. The password is not
displayed when you type it at a password prompt.
/DOMAIN Performs the operation on a domain controller of
the current domain.
/ADD Adds a user account to the user accounts database.
/DELETE Removes a user account from the user accounts database. Options Are as follows: Options Description
--------------------------------------------------------------------
/ACTIVE:{YES | NO} Activates or deactivates the account. If
the account is not active, the user cannot
access the server. The default is YES.
/COMMENT:"text" Provides a descriptive comment about the
user's account (maximum of 48 characters).
Enclose the text in quotation marks.
/COUNTRYCODE:nnn Uses the operating system country code to
implement the specified language files for a
user's help and error messages. A value of
0 signifies the default country code.
/EXPIRES:{date | NEVER} Causes the account to expire if date is
set. NEVER sets no time limit on the
account. An expiration date is in the
form mm/dd/yy or dd/mm/yy, depending on the
country code. Months can be a number,
spelled out, or abbreviated with three
letters. Year can be two or four numbers.
Use slashes(/) (no spaces) to separate
parts of the date.
/FULLNAME:"name" Is a user's full name (rather than a
username). Enclose the name in quotation
marks.
/HOMEDIR:pathname Sets the path for the user's home directory.
The path must exist.
/PASSWORDCHG:{YES | NO} Specifies whether users can change their
own password. The default is YES.
/PASSWORDREQ:{YES | NO} Specifies whether a user account must have
a password. The default is YES.
/PROFILEPATH[:path] Sets a path for the user's logon profile.
/SCRIPTPATH:pathname Is the location of the user's logon
script.
/TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
day[-day][,day[-day]],time[-time][,time
[-time]], limited to 1-hour increments.
Days can be spelled out or abbreviated.
Hours can be 12- or 24-hour notation. For
12-hour notation, use am, pm, a.m., or
p.m. ALL means a user can always log on,
and a blank value means a user can never
log on. Separate day and time entries with
a comma, and separate multiple day and time
entries with a semicolon.
/USERCOMMENT:"text" Lets an administrator add or change the User
Comment for the account.
/WORKSTATIONS:{computername[,...] | *}
Lists as many as eight computers from
which a user can log on to the network. If
/WORKSTATIONS has no list or if the list is *,
the user can log on from any computer.

NET VIEW [\\computername [/CACHE] | /DOMAIN[:domainname]]

NET VIEW /NETWORK:NW [\\computername] NET VIEW displays a list of resources being shared on a computer. When used without options, it displays a list of computers in the current domain or network. \\computername Is a computer whose shared resources you want to view.
/DOMAIN:domainname Specifies the domain for which you want to view the available computers. If domainname is omitted, displays all domains in the local area network.
/NETWORK:NW Displays all available servers on a NetWare
network. If a computername is specified, the
resources available on that computer in
the NetWare network will be displayed.
/CACHE Displays the offline client caching settings for
the resources on the specified computer

NET HELP command -or- NET command /HELP

Commands available are: NET ACCOUNTS NET HELP NET SHARE
NET COMPUTER NET HELPMSG NET START
NET CONFIG NET LOCALGROUP NET STATISTICS
NET CONFIG SERVER NET NAME NET STOP
NET CONFIG WORKSTATION NET PAUSE NET TIME
NET CONTINUE NET PRINT NET USE
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW NET HELP SERVICES lists some of the services you can start.
NET HELP SYNTAX explains how to read NET HELP syntax lines.
NET HELP command | MORE displays Help one screen at a time.