This article integrates the three operating systems of Windows 98, Windows Workstation and Windows Server About NET commands, I hope that some first say some: (1) net command is a command line command. (2) Manage network environments, services, users, and login. . . . Whenever local information (3) WIN 98, WIN WORKSTATION and WIN NT have a NET command. (4) However, the net command of Win 98 is different from the net command of WorkStation, NT. (5) The net command in WorkStation and Server is basically the same. (6) Get HELP <1> can start - "Help -" Index - "Enter NET <2> Under Command, NET /? Or NET or NET HELP to get some method, Net /? Or NET or NET HELP Help NET Command / HELP or NET HELP COMMAND / HELP or NET HELP COMMAND or NET COMMAND /? Other NET HELPMSG Message # is 4-digit (7) Forced Parameters All NET Command Accept / Yes and / NO (Accommodation as / Y And / N). [Simple saying is to ask questions to the system in advance] (8) There are some commands to generate and permanently saved. When using it, it is necessary to use the function of the NET command to find the corresponding graphics tool. Sample (10) Command Command Command Parameter Options │ Parameters Options │ Parameters Options │. . . . . .瘰疬 罗 瘰疬 说 堆 堆 是 是 是 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事Some parameters in the NET command cannot be used in DOS-WIN, only in the DOS environment.
Below the basic usage of the different parameters of the NET command:
(1) NET View work: Display domain list, computer list, or a list of shared resources for specified computers. Command Format: Net View [/ / computername │ / domain [omainname]] Parameter introduction: <1> Type NET View from the non-parameter display the current domain's computer list. <2> // computername Specifies the computer to view its shared resource. <3> / Domain [omainName] Specifies to view the domain of the domain of its available computer <1> NET View // Yfang View YFANG shared resource list. <2> Net View / Domain: Love View the list of machines in the LOVE field.
(2) NET User work: 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] parameter introduction: <1> Type NET User without parameters to view a list of user accounts on your computer. <2> UserName Add, Remove, Change, or View the User Account Name. <3> Password assigns or change the password for the user account. <4> * prompts to enter a password. <5> / Domain performs operations in the main domain controller of the computer main domain. Simple case: <1> net user yfang View User Yfang Information
(3) NET USE effect: Connect the computer or disconnect the computer and the shared resource connection, or display the connection information of the computer. Command format: NET Use [DeviceName│ *] [// computername / sharename [/ volume]] [Password │ *]] [/ user: [domainname /] username] [[/ delete] │ [/ personistent: {yes │ NO}]] Parameter introduction: Type NET USE that does not have parameters lists network connections. DeviceName Specifies the name of the resource to be connected or the device name to be disconnected. // Computername / ShareName server and shared resource name. Password Access the password for shared resources. * Tip Type password. / User specifies another user that is connected. DomainName Specifies another domain. UserName Specifies the username of the login. / HOME connects the user to its host directory / delete to cancel the specified network connection. / Persistent controls the use of permanent network connection. Simple case: <1> NET USE E: // Yfang / Temp Sets the // Yfang / Temp directory to E-Pan <2> NET USE E: // Yfang / Temp / Delete Disconnect (4) NET TIME Role: Make the computer's clock synchronization with another computer or domain. Command format: Net Time [// computername │ / domain [: name]] [/ set] parameter introduction: <1> // ComputerName To check or synchronize server names. <2> / Domain [: Name] Specifies the domain to synchronize with its time. <3> / SET makes this computer clock synchronize with the clock specified by the specified computer or domain. The following four parameters are related, so introduce together
(5) NET START work: Start service, or display a list of start-up services. Command format: Net Start Service
(6) NET PAUSE: Pause the service running. Command format: Net Pause Service
(7) NET Continue work: Reactivate the hang service. Command format: Net Continue Service
(8) NET STOP work: Stop Windows NT network services. Command format: Net Stop Service parameter introduction: Let's take a look at what these services are <1> Alerter <2> Client Service for NetWare (NetWare Client Service) <3> CLIPBOOK SERVER (Scrapbook Server) <4 > Computer Browser <5> Directory Replicator <6> FTP Publishing Service (FTP) <7> LPDSVC <8> Net Logon (Network Login) <9> Network DDE Network DDE) <10> Network DDE DSDM (Network DDE DSDM) <11> Network Monitor Agent <12> NT LM Security Support Provider (NT LM Security Support) <13> OLE (Object Link and Embedding <14> Remote Access Connection Manager (Remote Access Connection Manager) <15> Remote Access Isnsap Service (Remote Access ISNSAP Service) <16> Remote Access Server <17> Remote Procedure Call (RPC) Locator Remote Process Call Locator) <18> Remote Procedure Call (RPC) Service (Remote Process Call Service) <19> Schedule <20> Server (Server) <21> Simple TCP / IP Services (Simple TCP / IP Service <22> SNMP <23> Spooler <24> TCP / IP NetBIOS Helper (TCP / IP NetBIOS Accessibility) <25> UPS (26) Workstation (Workstation) <27> Messenger (信) <28 > DHCP Client <29> EventLog The following services can only be used on NT Server << 1 >>) File Server for Macintosh << 2 >> Gateway Service for NetWare << 3 >> Microsoft DHCP Server << 4> > Print Server for Macintosh << 5 >> Remoteboot << 6 >> Windows Internet Name Service (9) Net Statistics work: Displays statistical records for local workstations or server services. Command Format: Net Statistics [Workstation │ Server] Parameter Description: <1> Net statistics without parameters lists the running services available for their statistics. <2> WorkStation Displays statistics for local workstation services. <3> Server Displays statistics for local server services. Simple case: <1> NET STATISTICS Server │ More Display Server Services Statistics
(10) NET Share: Create, delete, or display shared resources. Command Format: Net Share ShareName = Drive: Path [/ users: Number │ / undimited] [/ remark: "text"] Parameter introduction: <1> Type NET Share without parameters Displays information on all shared resources on the local computer. <2> ShareName is the network name of shared resources. <3> Drive: Path Specifies the absolute path to the shared directory. <4> / users: Number settings can access the maximum number of users for shared resources at the same time. <5> / UnLimited does not limit the number of users who simultaneously access shared resources. <6> / remark: "text" Add a comment about the resource, and the text is taken by quotation marks. Simple case: <1> net share mylove = c: / temark: "My first Share" Share C: / Temp <2> Net Share MYLOVE / Delete Stop Sharing MYLOVE Directory (11) Net Session in MyLOVE : List or disconnect the local computer and the session of the client connected to it, or Write as NET sessions or net sess. Command Format: Net session [// computername] [/ delete] Parameter introduction: <1> Type NET session without parameters Show all sessions of the local computer. <2> // computername identifies a computer to list or discharging the session. <3> / DELETE ends with // computername computing opportunities and closes all of the computer during this session? Simple case: <1> net session // yfang To display a list of client session information of the computer name Yfang.
(12) NET SEND: Send a message to other users of the network, computer, or communication name. Command format: Net send {name │ * │ / domain [: name] │ / users} Message parameter introduction: <1> Name To receive username, computer name, or communication name of the send message. <2> * Sends 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 the message to all users connected to the server. <5> Message is sent as a message. Simple case: <1> net send / users server will shutdown in 5 minutes. Give all users connected to the server message
(13) Net Print: Display or control the print job and print queue. Command Format: Net Print [// computername] Job # [/ hold │ / release │ / delete] Parameter introduction: <1> Computername Sharing the computer name of the printer queue. <2> ShareName Print Queue Name. <3> JOB # Assign the identification number of the print job in the printer queue. <4> / Hold When using Job #, wait in the printer queue to wait. <5> / release releases the reserved print job. <6> / Delete removes the print job from the printer queue. Simple case: <1> Net print // yfang / seeme lists the directory of the SEEME printer queue on the // yfang computer
(14) NET NAME: Add or delete a message name (sometimes called alias), or display the name list of the computer receive messages. Command format: Net name [name [/ add │ / delete]] Parameter introduction: <1> Type Net Name without parameters lists the names currently used. <2> Name Specifies the name of the received message. <3> / add adds the name to your computer. <4> / delete removes the name from the computer. (15) NET localgroup: Add, display, or change the local group. Command format: Net localgroup groupname {/ add [/ comment: "text"] │ / delete} [/ domain] parameter introduction: <1> Type NET localgroup display server name and computer's local group name. <2> GroupName To add, expand, or delete the local group name. <3> / Comment: "Text" Adds a comment for the new or existing group. <4> / Domain executes actions in the current domain's primary domain controller, otherwise doing only on the local computer? <5> Name [...] lists one to be added to a local group or from a local group Or multiple usernames or group names. <6> / add Add a global group name or username to a local group. <7> / Delete removes a group name or username from the local group. Simple case: <1> Net localgroup love / add Add a local group named LOVE to a local user account database <2> NET localgroup love Show users in the local group
(16) NET Group: Add, display or change global groups in the Windows NT Server domain. Command Format: Net Group GroupName {/ add [/ comment: "text"] │ / delete} [/ domain] parameter introduction: <1> Type NET Group display server name and server group name without parameters. <2> GroupName To add, extend, or delete groups. <3> / Comment: "text" adds a comment for the new group or existing group. <4> / Domain executes this operation in the main domain controller of the current domain, otherwise perform an action on the local computer? <5> UserName [...] list Shows one or more of the group you want to add or remove from the group A user. <6> / add Add group or add your username in the group. <7> / delete delete group or deletes the username from the group. Simple case: <1> net group love yfang1 yfang2 / add Put the existing user account Yfang1 and Yfang2 to local computer LOVE group
(17) NET File: Displays all open shared file names and lock files on a server. Command format: Net file [id [/ close]] Parameter introduction: <1> Type NET File without parameters to open a list of files on the server. <2> ID file identification number. <3> / close Close the open file and release the lock record.
(18) NET Config: Displays the currently running configurable service, or displays and changes the settings of a service. Command Format: Net config [service [option] parameter introduction: <1> Type NET Config display a list of configurable services. <2> Service is configured by the Net Config command (Server or Workstation) <3> Options service specific options. (19) NET Computer work: Add or delete a computer from the domain database. Command format: Net computer // computername {/ add │ / del} Parameter introduction: <1> // computername Specifies the computer to be added to the domain or from the domain. <2> / add will add the specified computer to the domain. <3> / DEL will delete the specified computer from the domain. Simple case: <1> Net computer // CC / Add Add computer CC to login domain
(20) NET Accounts work: Update the user account database, change the login requirements of all accounts, and all accounts. Command format: Net Accounts [/ forcelogf: {minutes │ no}] [/ minpwlen: {day] [/ maxpwage: {days │ unlimited}] [/ minpwageays] [/ uniquepw: Number] [/ domain] parameter introduction: <1 > Type NET Accounts without parameters Display the current password setting, login time limit, and domain information. <2> / forcelogoff: {minutes │ no} Set the number of user account passwords when user account or valid login time expires. <4> / maxpwage: {days │ unlimited} Set the maximum number of days that the user account password is valid. <5> / minpWageAys Settings the user must keep the minimum number of days. <6> / UniquePW: Number requires a user to change the password, and the same password must be repeated after the Number will be repeated. <7> / Domain executes this action on the main domain controller of the current domain. <8> / SYNC When used in the primary domain controller, this command synchronizes all backup domain controllers in the domain. Simple case: <1> NET Accounts / MINPWLEN: 7 Sets the maximum number of characters of the user account password to 7
---------------------- The above introduction is the basic usage of the net command under WinNT
---------------------- Let's take a look at the NET command under Win98's basic usage in Win98 NET commands. There are some parameters. And simple usage methods and the usage of the corresponding parameters under WinNT (1) NET TIME command (2) NET print command (3) NET USE command (4) NET View command In Win98 NET command has some parameters Have some parameters and Win
The name of the corresponding parameters under NT is the same but its usage is different, but there are (1) NET START work: start the corresponding service. (Can't use in DOS-WIN) Command Format: Net Start [Basic │ NWREDIR │ Workstation │ Netbind │ Netbeui │ NWLINK] [/ List] [/ YES] [/ Verbose] (2) NET STOP RETY: Stop the corresponding service (Cannot be used in DOS-WIN) command format: net stop [Basic │ NWREDIR │ Workstation │ Netbeui │ nwlink] [/ yes]