Basic Law of the NET Command

zhaozj2021-02-08  214

Incorrect Windows 98, Windows Workstation, and Windows Server three operating systems about the interpretation of the NET command, I hope to be comprehensive. Let some say some: (1) The 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 be graphically using the way in NT - "Help -" Index - "Enter NET (2) Under Command, NET /? Or NET or NET HELP get some method Help NETCOMMAND / 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 (Acbever Y / Y) / 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 Parameter Options | Parameter Options | Parameter Options |. . . . . .瘰疬 罗 瘰疬 说 堆 堆 是 是 是 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事 事Some parameters in the NET command cannot be used in the DOS-WIN. You can only use the basic usage of the different parameters of the NET command in the DOS environment: (1) NET View: Display domain list, A list of shared resources for a computer list or a specified computer. Command Format: Net View [/ / computername | / domain [: domainname]]] Parameter introduction: (1) Type NET View to display the computer list of the current domain. (2) // computername Specifies the computer to view its shared resource. (3) / domain [: domainname] Specifies to view the domain of its available computer. Simple case: (1) Net View // Yfang View Yfang shared resource list. (2) NET View / Domain: Love View the list of machines in the LOVE domain. (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, delete, change, or view the user account name. (3) Password assigns or change the password for the user account. (4) * Tip Enter the password. (5) / Domain executes the operation in the main domain controller of the computer main domain. Simple case: (1) NET user yfang View User Yfang Information (3) NET USE: Connect your computer or disconnect the computer and shared resources, or display your computer's connection information. 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 resources 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 Cancels the specified network connection. / Persistent controls the use of permanent network connection. Simple case: (1) NET USE E: // Yfang / TEMP Set the // yfang / temp directory to E disk (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 Synchronize the computer clock with the clock specified by the specified computer or domain. The following four parameters are related, so introduce (5) NET START: Start service, or display the list of start-up services. Command format: Net Start Service (6) NET PAUSE: Pause the running service. Command format: NET PAUSE Service (7) Net Continue Schedule: Reactivate the hang service. Command Format: Net Continue Service (8) NET STOP: 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 (3) Clipbook Server (4) (4) (4) (4) (4) CLIPBOOK Server (4) Clipbook Server (4) Computer Browser (5) Directory Replicator (Directory Replicator) (6) FTP Publishing Service (FTP) (FTP Release Services) (7) LPDSVC (8) NET LOGON (Network Login) (9) Network DDE (Network DDE) (10) Network DDE DSDM (11) Network Monitor Agent (12) NT LM Security Support Provider (NT LM Security Support) (13) OLE (Object Link Embedded) (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 (Sand) (20) Server (Server) (21) SIMPLE TCP / IP SERVICES (Simple TCP / IP Service) (22) SNMP (23) Spooler (24) TCP / IP NetBIOS Helper (TCP / IP NetBIOS Aid) (25) UPS (26) Workstation (Workstation) (27) Messenger (letter) 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 Run: Displays statistical records for local workstations or server services. Command Format: Net Statistics [Workstation | Server] Parameter Description: (1) Type NET Statistics on the non-parameter 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 Ruple: Create, delete, or display shared resources. Command format: NET Share ShareName = Drive: path [/ users: Number | / undimited] [/ remark: "text"] Parameter introduction: (1) Type NET Share with non-parameters to display 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 the shared resource.

(6) / Remark: "text" Add a comment on the resource, and the text is taken by quotation marks. Simple case: (1) NET Share myLove = C: / Temp / Remark: "My First Share" Share C: / Temp (2) Net Share MYLOVE / DELETE Stop Sharing MYLOVE Directory (11) NET Session : 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 Description: (1) Type NET session without parameters Show all sessions of the local computer. (2) // COMPUTERNAME identifies the computer to list or discontinue the session. (3) / delete ends and // computername computing opportunities and closes all the computers 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) * Send messages to all names in the group. (3) / Domain [: Name] sends the 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. Send messages to users (13) Net Print: Display or control print jobs and print queues. 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 Use 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 machine: Add or delete the message name (sometimes called alias), or display the computer receive message Name list. Command format: Net name [name [/ add | / delete]] Parameter introduction: (1) Type NET Name that does not have parameters lists the currently used name. (2) Name Specifies the name of the received message. (3) / add Add 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 local group names.

(3) / Comment: "text" Add a comment for the new or existing group. (4) / Domain executes the operation in the current domain's primary domain controller, otherwise 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 the global group name or username to the 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 Displays users in the local group (16) NET GROUP: in the Windows NT Server domain Add, display, or change global groups. 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 current domain's primary domain controller, otherwise perform actions on the local computer?? (5) UserName [...] list Show to add one or from the group or from the group or Multiple users. (6) / add group or add the username in the group. (7) / delete delete group or deletes the username from the group. Simple case: (1) Net group love yfang1 yfang2 / add Adds existing user accounts YFANG1 and YFANG2 to local Computers LOVE group (17) NET File Scheme: 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) The service is configured by the NET config command (Server or Workstation) (3) Options service for 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 Tim 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 the login domain (20) NET Accounts action: Update the user account database, change the login requirements for all accounts, and all accounts. Command format: Net Accounts [/ forcelogoff: {minutes | no}] [/ minpwlen: length] [/ maxpwage: {days | unlimited}] [/ minpwage: days] [/ uniquepw: Number] [/ domain] parameter introduction: (1) Type NET Accounts without parameters Display the current password setting, login time limit, and domain information.

转载请注明原文地址:https://www.9cbs.com/read-2805.html

New Post(0)