NT 19 secret weapons internet surfing

Source: Internet
Author: User
Tags net command net time sessions net send

NET command is a powerful tool in Windows NT. Although it must be done on a command-line basis, its functionality does cover most of the important management features of Windows NT. For example, it can manage the network environment, the operation and configuration of various service programs, user and login management, and so on. It can also view many of the server's local information. The WINDOWS98 also contains the net command, but its functionality is much less than in NT.
You can obtain help for the net command in the following two ways: Copyright Institute

(1) In the NT can be graphically in the way, through the Start menu > Help > Index, and then enter net.

(2) You can also enter the command list by entering net/? or net help in the command-line mode, and then through the net Command/help or net HELP command or NET command/? command to get help on the appropriate functionality.

What you need to be aware of when using the Net command is that some of its commands are immediately available and permanently preserved and used with caution.

The following basic usage of the different parameters of the net command makes some preliminary introduction:

1. NET VIEW

Role: Displays a list of domains, lists of computers, or shared resources for a specified computer.

Command format: NET view [\\computername |/domain[:d Omainname]]

Parameter introduction:

(1) Type a net view with no parameters to display a list of computers in the current domain.

(2) \\computername Specifies the computer for which you want to view shared resources.

(3)/domain[:d Omainname] Specifies the domain for which you want to view the available computers.

An example is provided:

(1) NET view \\XIAOHU the list of shared resources for Xiaohu.

(2) Net View/domain:mydomain view the list of machines in the mydomain domain.

2. NET USER

Role: Add or change user accounts or display user account information. This command can also be written as net users.

Command format: NET user [username [password | *] [options]] [/domain]

Parameters: (1) Type net user without parameters to view a list of user accounts on the computer.

(2) Username Add, delete, change, or view the user account name.

(3) Password assigns or changes the password to the user account number.

(4) * Prompt to enter the password.

(5)/domain performs operations on the primary domain controller of the computer's primary domain.

For example: (1) NET User Xiaohu View the information of the users Xiaohu.

3. NET Use

Role: Connect the computer or disconnect the computer from the shared resource, or display the connection information for the computer.

Command format: NET USE [devicename | *] [\\computername\sharename[\volume]] [password | *]] [/user:[domainname\]username] [/ Delete] | [/persistent:{yes | no}]]

Description of the parameters: (1) Type net use with no parameters to list network connections.

(2) devicename Specifies the name of the resource to which you want to connect or the name of the device to disconnect.

(3) \\Computername\Sharename The name of the server and the shared resource.

(4) Password access to the shared resource's password.

(5) * Prompts to type the password.

(6)/user Specifies a different user to connect to.

(7) domainname specifies another domain.

(8) Username Specifies the user name for the login.

(9)/home connects users to their host directory.

(/delete) To cancel the designation of a network connection.

(one)/persistent controls the use of permanent network connections.

An example is provided:

(1) net use e: \\XIAOHU\TEMP sets the \\XIAOHU\TEMP directory to E disk.

(2) net use e: \\xiaohu\temp/delete disconnect.

4. NET Time

Function: Synchronize the computer's clock with the time of another computer or domain.

Command format: NET time [\\computername |/domain[:name]] [/set]

Parameter introduction:

(1) \\computername The name of the server to be checked or synchronized.

(2)/domain[:name] Specifies the domain to be synchronized with its time.

(3)/set makes this computer clock synchronized with the specified computer or domain clock.

The following 4 parameters are related, so let's introduce them together:

5. Net Start

Function: Start the service, or display a list of started services.

Command format: NET start service

6. Net Pause

Role: Suspend a running service.

Command format: NET Pause service

7. Net Continue

Role: Reactivate the suspended service.

Command format: NET Continue Service

8. NET STOP

Function: Stop Windows NT Network Service.

Command format: net stop service

Parameter introduction:

(1) Alerter (alarm)

(2) Client Service for NetWare (NetWare Client Services)

(3) ClipBook server (ClipBook servers)

(4) Computer Browser (Computer browser)

(5) Directory Replicator (Directory replicator)

(6) FTP Publishing Service (FTP) (FTP distribution services)

(7) Lpdsvc

(8) Net Logon (network logon)

(9) Network DDE (Network dde) copyright

(Ten) Network dde dsdm (Network dde DSDM)

(one) Network Monitor Agent (Network monitoring agent)

() NT LM security Support provider (NT LM secure support provided)

(() OLE (Object linking and Embedding)

(km) remote access Connection Manager (Remote Access Connection Manager)

(ISNSAP) Remote Access Service (ISNSAP services)

Remote access server (remotely accessible)

(a) Remote procedure call (RPC) locator (remote procedure invoke locator)

(a) Remote procedure call (RPC) service (Remote Procedure invocation Services)

(a) schedule (dispatch)

(server)

Easy TCP/IP services (Simple TCP/IP service)

() SNMP

(spooler) (print spooler)

(a) TCP/IP NetBIOS Helper (TCP/IP NetBIOS AIDS)

() Ups

(num) Workstation (workstation)

(a) Messenger (Messenger)

(a) DHCP client

(eventlog)

9. Net Statistics

Function: Displays statistics for the local workstation or Server service.

Command format: NET statistics [workstation | server]

Description of the parameters: (1) Type a net statistics with no parameters to list the running services whose statistics are available.

(2) Workstation displays statistics about the local Workstation service.

(3) Server displays statistics about the local server service.

Example: NET statistics Server | More displays statistics about the Server service.

Ten. Net Share

Function: Create, delete, or display shared resources.

Command format: NET share share Name=drive:path [/users:number |/unlimited] [/remark: "Text"]

Parameters: (1) Type a net share with no parameters to display information about all the shared resources on the local computer.

(2) ShareName is the network name of the shared resource.

(3) Drive:path Specifies the absolute path of the shared directory.

(4)/users:number sets the maximum number of users who can access a shared resource at the same time.

(5)/unlimited does not limit the number of users who concurrently access shared resources.

(6)/remark: "Text" adds a comment about the resource, and the comment text is quoted in quotation marks.

For example: (1) net share mymydomain=c:\temp/remark: "My A-share" mymydomain share C:\temp for share names.

(2) net share Mymydomain/delete stop sharing the Mymydomain directory.

One. Net session

Action: Lists or disconnects the session of the local computer and the client to which it is connected, or it can be written as net sessions or net Sess.

Command format: NET session [\\computername] [/delete]

Description of the parameters: (1) Type the net session without parameters to display all information about the sessions with the local computer.

(2) \\computername identifies the computer on which you want to list or disconnect the session.

For example: NET session \\XIAOHU to display a list of client sessions information named Xiaohu.

The. Net Send

Role: Send messages to other users, computers, or communication names on the network.

Command format: NET send {name | * |/domain[:name] |/users} message

Parameter description: (1) name to receive the user name, computer name, or communication name to which the message is sent.

(2) * Send the message to all the names in the group.

(3)/domain[:name] sends a message to all the names in the computer domain.

(4)/users sends messages to all users who are connected to the server.

(5) The text sent as a message.

For example: (1) NET Send/users server would shutdown in 5 minutes send shutdown messages to all users connected to the server.

Net Print

Functions: Displays or controls print jobs and print queues.

Command format: NET print [\\computername] job# [/hold |/release |/delete]

Parameter description: (1) ComputerName The computer name of the shared printer queue.

(2) ShareName the print queue name.

(3) job# the identification number assigned to the print job in the printer queue.

(4) When/hold uses job#, the print job waits in the printer queue.

(5)/release releases the reserved print job.

(6)/delete Deletes a print job from the printer queue.

For example: (1) NET print \\XIAOHU\SEEME lists directories of SeeMe printer queues on \\XIAOHU computers.

. Net Name

Role: Add or remove a message name (sometimes called an alias), or display a list of names that the computer receives messages from.

Command format: NET name [name [/add |/delete]]

Description of the parameters: (1) Type the name that is currently in use, with the net name without parameters.

(2) name specifies the name of the receiving message.

(3)/add adds the name to the computer.

(4)/delete removes the name from the computer.

Net localgroup

Role: Add, show, or change local groups.

Command format: net localgroup groupname {/add [/comment: "Text"] | /delete} [/domain]

Description of the parameters: (1) Type a net localgroup with no parameters to display the server name and the local group name of the computer.

(2) GroupName the name of the local group to add, expand, or delete.

(3)/comment: "Text" adds a comment to a new or existing group.

(4) Does the/domain perform operations on the primary domain controller of the current domain, otherwise only on the local computer?

(5) name [...] Lists one or more user or group names to be added to the local group or removed from the local group.

(6)/add adds a global group name or user name to the local group.

(7)/delete deletes the group name or user name from the local group.

For example: (1) net localgroup Mydomain/add adds a local group named MyDomain to the local user account database.

(2) net localgroup mydomain displays the users in the MyDomain local group.

Net Group

Role: Add, display, or change global groups in a Windows NT Server domain.

Command format: NET group groupname {/add [/comment: "Text"] | /delete} [/domain]

Description of the parameters: (1) Type a net group with no parameters to display the server name and the server's group name.

(2) GroupName the group that you want to add, expand, or delete.

(3)/comment: "Text" adds a comment to a new or existing group.

(4)/domain do this on the primary domain controller in the current domain, or do the operation on the local computer?

(5) username[...] The list displays one or more users to be added to or removed from the group.

(6)/add Add a group or add a user name to the group.

(7)/delete Delete the group or remove the user name from the group.

For example, net group MyDomain xiaohu1 Xiaohu2/add adds existing user accounts xiaohu1 and XIAOHU2 to the local computer's MyDomain group.

. Net Config

Role: Displays the currently running configurable service, or displays and changes the settings for a service.

Command format: NET config [service [options]]

Description of the parameters: (1) Type a net config with no parameters to display a list of configurable services.

(2) Services configured through the Net CONFIG command (server or workstation).

(3) Specific options for the options service.

The. Net Computer

Function: Add or remove computers from the domain database.

Command format: Net computer \\computername {/add |/del}

Parameter description: (1) \\computername Specifies the computer to be added to or removed from the domain.

(2)/add adds the specified computer to the domain.

(3)/del removes the specified computer from the domain.

For example, net computer \\cc/add adds the computer cc to the logon domain.

The. Net Accounts

Role: Update user account Database, change password and login requirements for all accounts.

Command format: NET accounts [/forcelogoff:{minutes | no}] [/minpwlen:length] [/maxpwage:{days | unlimited}] [/minpwage:days] [/ Uniquepw:number] [/domain]

Parameters: (1) Type net accounts with no parameters displays current password settings, logon time limits, and domain information.

(2)/forcelogoff:{minutes | no} set when the user account or valid logon time expires.

(3)/minpwlen:length set the minimum number of characters for the user account password.

(4)/maxpwage:{days | unlimited} set the maximum number of days a user account password is valid.

(5)/minpwage:days set the minimum number of days the user must keep the original password.

(6)/uniquepw:number requires the user to change the password, must be after the number of times to re-use

The same password as the. Copyright Institute

(7)/domain performs the operation on the primary domain controller of the current domain.

(8)/sync when used with the primary domain controller, this command synchronizes all the backup domain controllers in the domain.

For example: NET Accounts/minpwlen:7 sets the minimum number of characters for a user account password to 7.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.