NET command is a powerful way to execute the command line tool. It contains managed network environment, service, user, landing in the most important Windows 98/NT/2000 management. Use it to easily manage local or remote computer's network environment, and a variety of services to the running and configuration. Or the user management and login management.
directory
About one, net accounts Second, net computer Third, net config IV, net config server five, net config workstation six, Net File VII, Net Group Eight, Net Help nine, Net Helpmsg ten, Net Localgroup XI, Net Name twelve, net pause service thirteen, Net Print fourteen,
nike air force one high, Net Send fifteen, Net Session sixteen, Net Share seventh, Net Start-eighth, Net Statistics nineteenth, Net Stop twentieth, Net Time twenty-first: Net Use twenty-two, Net User twenty-three, Net View Profile NET command points worth noting: 1, although Windows 98, Windows NT/2000 NET commands are built, but Windows98 the NET commands The NET command and Windows NT/2000 are different. NET and Windows 98, there are some commands in DOS-WIN parameters can not be used,
air force one low nike, only in a pure DOS environment (ie: press the F8 boot options command line, or via the Start Menu> shutdown> restart the computer and switch to the MS-DOS mode) in use. . 2, Windows98 NET commands do not provide the help in graphics mode, only the command line, type NET /? | More or NET HELP | more by its function (COMMAND) list, and then through the NET COMMAND / HELP | more or NET HELP COMMAND | more or NET COMMAND /? command to get help for the corresponding function. 3, there are some commands have an effect immediately and permanently saved, when used carefully. And all net commands accept option / yes and / no (can be abbreviated / y and / n). / Y option to the command prompt automatically generated any interactive answer For example, net stop server usually indicates you sure you want to stop based on the NET with examples below the command of the different parameters of the basic application to do some preliminary introduction. Hope it'll learn to use net command help. A, net accounts feature: the user account database to upgrade and modify all the account's password and login requests. Format: net accounts [/ forcelogoff: no] [/ minpwlen: length] [/ maxpwage: days] [/ minpwage: days] [/ uniquepw: number] [/ sync] [/ domain] parameters: (1) No: the type without parameters net accounts, the command displays the password, login information, the current limit and the domain configuration. (2) / forcelogoff: minutes set when the user account or valid logon time expires at the end of the session user and the server the number of minutes to wait before. no option to prevent the forced cancellation. The default setting is no. Specify the / forcelogoff: minutes option, the system forces the user to leave the network to send a warning minutes minutes ago. If any file is opened, the system will warn the user. If less than 2 minutes, the system will warn the user log off from the network immediately. (3) / minpwlen: length set the user account password in the minimum number of characters. Range is 0-127 characters, the default is 6 characters. Example: set not less than 10 characters the user password net accounts / minpwlen: 10 (4) / maxpwage: unlimited set the user account the maximum number of days password is valid. / Maxpwage: unlimited set the account password is always effective. / Maxpwage option must be greater than / minpwage, (that is, if previously set / minpwlen: 30, then the value must be greater than 30 days) range is 1-49,710 days (unlimited), default is 90 days. (5) / minpwage: days set a new password before the user can change the minimum number of days. Value 0 to set unlimited short time. Range is 0-49,710 days, the default value is 0 days. (6) / uniquepw: number requires the user not to repeat the same number times the password for the password change. Range is 0-24 times the password change, the default value is 5 times the password change. Example: prevent users to change every time the password is less than 3 days, forcing users to change their passwords every 15 days, and the login time expires with a 2-minute warning to force users to log off. net accounts / forcelogoff: 2 / minpwage: 3 / maxpwage: 15 (7) / sync service server to update all members of the user account database. When you use the primary domain controller, so that all the backup domain controllers in the domain synchronization. When a backup domain controller in use, so the backup domain controllers only with the primary domain controller synchronization. This command applies only to Windows NT/2000 Server domain member computers. (8) / domain on the current domain primary domain controller to perform actions. Otherwise, the operation performed on the local computer. This parameter applies only to Windows NT/2000 Server domain is a member of the Windows 2000 Workstation / Professional computer. By default, Windows NT/2000 Server computers perform operations on the primary domain controller. Second, net computer functions: from the domain database, add or remove computers, add and delete all the computers will be forwarded to the primary domain controller. Format: net computer computername / add parameters: (1) computername Specifies to add or delete from the domain name of the computer. (2) / add will be added to the domain specific computer. Example: the computer to log on the domain bb. net computer bb / add (3) / del to delete the specified computer from the domain. Example: the computer field bb from the registry to delete. net computer bb / del c, net config function: displays the current operation can be configured to service or a service display and change the settings. Changes take effect immediately and is permanent format: net config [service [options] Parameters: (1) No type net config without parameters command displays a list of configurable services. (2) service through the net config command to configure the service (server or workstation) (3) options service-specific options. Fourth, net config server functions: Change can be configured to Changes take effect immediately and permanently maintained. But not all of the The server's computer name, description notes, and software version. 2. Network description. 3. Hidden server settings. 4. You can use the server's shared resources, the maximum number of users. 5. Can open the maximum number of files in the server. 6. Idle session time setting. Format: net config server [/ autodisconnect: time] [/ srvcomment: the current configuration (2) / autodisconnect: time set before the user session can be disconnected maximum number of minutes of inactivity. You can specify -1 to continue to develop connections. Range from -1 to 65535 minutes, the default value is 15 minutes. Example: In the 10 minutes of inactivity after disconnecting a user. net config server / autodisconnect: 10 (3) / srvcomment: Comments can contain up to 48 characters (24 characters). To the text in quotation marks. (4) / hidden: yes Specifies the server's computer name is displayed on the display list on the server. Note that the server will not change the hidden permissions on the server. The default setting is no. Example: From the list of available servers to hide the server's computer name. net config server / hidden: yes five, net config workstation features: Displays the workstation can be configured to change service parameters. Changes take effect immediately and permanently maintained. Not all of the Workstation service parameters can be used to change the net config workstation command. Other parameters can be configured to modify the registry. Format: net config workstation [/ charcount: bytes] [/ chartime: msec] [/ charwait: sec] parameters: (1) No type net config workstation command displays the local computer's current configuration. (2) / charcount: bytes specified in the communication device sends data to the amount of data collected prior to Windows. If you have set the / chartime: msec, Windows will execute the first meeting of the options. Range from 0 to -65 535 bytes, the default value is 16 bytes. (3) / chartime: msec set to Windows in the communication device sends data to the number of milliseconds before the data collection. If you have set the / charcount: bytes, Windows 2000 will perform the first meeting of the options. Range from 0 to 65,535,000 milliseconds, the default is 250 milliseconds. (4) / charwait: sec the number of seconds Windows waits set of communication equipment available. Range from 0 to 65535 seconds, default value is 3600 seconds. Example: To set in 1000 to send data to the largest telecommunications equipment milliseconds to wait before the Windows. net config workstation / chartime: 1000 VI, Net Continue functions: re-activate the suspended service format: net continue service parameters of service to continue running the service, including: file server for macintosh (This service is limited to Windows NT Se rver), ftp publishing service,
air force 1 shoes, lpdsvc, net logon, network dde, network dde dsdm, nt lm security support provider, remoteboot (the service is limited to Windows NT Server), remote access server, schedule, server, simple tcp / ip services and workstation six, Net File Function: Displays all open a share on the server file name and the number of locked files. This command can also turn off individual files and remove the file lock. Format: net file [id [/ close]] parameter (1) no type of net file with no parameters available to the list of open files on the server. id file identification number. (2) / close close open files and release the lock record. From the shared file server, type the command. VII, Net Group Function: Windows NT Server domain to add, display, or change the global group. This command is only available in Windows NT Server domain. Format: net group [groupname [/ comment: ,],[groupname to add, expand or delete the group. Name only a group of users can view a list of the group. (2) / comment: Comments can be up to 48 characters, and enclose the comment text cited to live. (3) / domain in the current domain of the primary domain controller to perform the operation, or perform operations on the local computer. This parameter is only used as a Windows NT Server domain member of the Windows NT Workstation computers. Windo ws NT Server computer, the default is the primary domain controller operations. username [...] list of shows to be added to the group or removed from the group of one or more users. Use spaces to separate the user name entry. (4) / add to add group or add users in the group name. Must use this command to add to a group of users to establish accounts. (5) / delete delete the group or user names removed from the group. VIII, Net Help function: provide network command list and help topics, or provide the specified command or topic for help. Command N available networks are listed in the following Format: net help [command] net command / help Parameter (1) No Type net help without parameters shows a list of commands to get help and help topics. command needs the help of the command, not part of the net as a command. (2) / help Display help text mode selection provided. (3) /? Displays the correct command syntax. September, Net Helpmsg functions: to provide Windows NT error message for help. Format: net helpmsg message # message # parameters need their help the message of the four Windows NT code. Ten, Net Localgroup functions: Add, display, or change the local group. Format: net localgroup [groupname [/ comment: ,],[groupname to add, expand or delete the name of the local group. Only groupname to view a list of users or local groups in the global group. (2) / comment: Note The maximum length of text is 48 characters, and use quotes to live. (3) / domain in the current domain of the primary domain controller to perform actions, or only perform operations on the local computer. This parameter applies only to Windows NT Server domain, Windows NT Workstation computers. Windows NT Server computer, the default is the primary domain controller operations. name [...] list to be added to the local group or local group removed from one or more user or group name, more than one user or group name separated by spaces. Can be a local user, the other domain user or global group, but not other local groups. If other users of the domain, user name in front of domain name (eg SALESRALPHR). (4) / add the global group or user name added to the local group. Use this command in user or global group to local group, you must create an account for. (5) / delete delete the group from a local group name or user name. XI, Net Name function: add or delete the message (sometimes also called an alias), or display the name of the computer receiving the message list. To use the net name command, the computer must be running the Messenger service. Format: net name [name [/ add | / delete]] Parameters: None Type the net name with no parameters will list the names currently in use. name the name designated to receive the message. Names up to 15 characters. / Add the name to the computer. / Add is optional, type net name name and type the net name name / add the same. / Delete removed from the computer name. Net Pause to pause a running service. Second, net pause service parameters of service refers to the following services: file server for macintosh (only Windows NT Server), ftp publishing service, lpdsvc, net logon, network dde, network dde dsdm, nt lm security support provider, remoteboot (only Windows NT Server), remote access server, schedule, server, simple tcp / ip services or workstation. Thirteen, Net Print functions: to indicate or control the print job and print queue. Format: net print computername sharename net print [ computername] job # [/ hold | / release | / delete] Parameters: computername name of the computer sharing the printer queue. sharename print queue name. When included computername and sharename, use a backslash () to separate them. job # in the printer queue assigned to the print job identification number. One or more of the printer queue print jobs for each computer is assigned a unique identification number. If a job number for the shared printer queue, you can not assigned to another job, the printer can not be assigned to other jobs in the queue. / Hold when using the job # in the printer queue, print jobs waiting for manipulation. Print job stuck in the printer queue and wait until the release of other print jobs can only be entered after the operation. / Release Release reservations print job. / Delete from the printer queue, delete a print job. Fourth, Net Send function: to network with other users, computers or communications were sent message. To receive the message must be running the Messenger service. Format: net send name message Parameters: name send a message to receive the user name, computer name or the communication name. If the computer name contains space characters, they should be in quotation marks (* Sends a message to group all the names. / Domain [: name] sends a message to all the computers in the domain name. If you specify a name, then the message will be sent to the specified field or group all the names. / Users to send messages to all users connected to the server. message as the message text. Fifth, Net Session features: list or disconnect the computer and the adjoining local client session. Format: net session [ computername] [/ delete] Parameters: None type net session without parameters to display all the information session on the local computer. Computername identifies the session to list or disconnect the computer. / Delete end with computername computer session during this session and close all open files the computer. If you omit computername parameter, will cancel all sessions with the local computer. Sixteen, Net Share functions: create, delete, or display the shared resources. Format: net share sharename net share sharename = drive: path [/ users: number | / unlimited] [/ remark: net share drive: path / delete parameters: None, type net share without parameters will display all shared resources on the local computer information. sharename is the name of the shared resource network. Type the net share command with a sharename to show only the sharing of information. drive: path Specifies the absolute path to shared directory. / Users: number set can simultaneously access the maximum number of users to share resources. / Unlimited simultaneous access to shared resources does not limit the number of users. / Remark: / Delete to stop sharing resources. Seventeen, Net Start function: to start the service, or display a list of the service are activated. If the service name is two or more words, such as Net Logon or Computer Browser, you must use quotation marks (. Format: net start [service] parameters: None, type net start without parameters shows a list of running services. service includes the following services: alerter, client service for netware, clipbook server, computer browser, dhcp client, directory replicator, eventlog, ftp publishing service, lpdsvc, messenger, net logon, network dde, network dde dsdm, network monitoring agent, nt lm security support provider, ole, remote access connection manager, remote access isnsap service, remote access server, remote procedure call (rpc) locator, remote procedure call (rpc) service, schedule, server, simple tcp / ip services, snmp,
nike air force one low, spooler, tcp / ip netbios helper, ups and workstation. The following services only available under Windows NT Server: file server for macintosh, gateway service for netware, microsoft dhcp server, print server for macintosh, remoteboot, windows internet name service. Eighth, Net Statistics functions: display the local workstation or server service statistics records. Format: net statistics [workstation | server]: None,
air force one low, type net statistics without parameters will list the available statistical information to run its services. workstation in the local workstation service statistics. server displays the local server service statistics. Nineteenth, Net Stop function: stop the Windows NT network services. Format: net stop service parameters: service includes the following services: alerter (alarm), client service for netware (Netware client services), clipbook server (clipboard server), computer browser (Computer Browser), directory replicator (Directory Replicator ), ftp publishing service (ftp) (ftp publishing service), lpdsvc, messenger (messenger), net logon (network logon), network dde (network dde), network dde dsdm (network dde dsdm), network monitor agent (network monitoring agent), nt lm security support provider (NT LM Security Support Provider), ole (object linking and embedding), remote access connection manager (Remote Access Connection Manager), remote access isnsap service (remote access isnsap Service), remote access server (remote access server), remote procedure call (rpc) locator (Remote Procedure Call Locator), remote procedure call (rpc) service (Remote Procedure Call service), schedule (scheduling), server (server), simple tcp / ip services (Simple TCP / IP services), snmp, spooler (spooler), tcp / ip netbios helper (TCP / IP NETBIOS aids), ups and workstation (workstation). The following services only available in Windows NT Server: file server for macintosh, gateway service for netware, microsoft dhcp server, print server for macintosh, remoteboot, windows internet name service. Twenty, Net Time function: the computer's clock with another computer or domain time synchronization. Without the / set parameter use, will be displayed on another computer or domain. Format: net time [ computername | / domain [: name]] [/ set] Parameters: computername to check or synchronize the server name. / Domain [: name] Specifies the domain with time synchronization. / Set so that the computer clock with the specified computer or domain clock. The twenty-first: Net Use function: connect a computer or disconnect the computer from connecting and sharing resources, or display the computer's connection information. The command also controls persistent network connection. Format: net use [devicename | *] [ computernamesharename [volume]] [password | *]] [/ user: [domainname] username] [[/ delete] | [/ persistent: no]] net use devicename [/ home [password | *]] [/ delete: yes] net use [/ persistent: yes] Parameters: None type net use without parameters will list the network connection. devicename specifies the name to connect to the resource or to disconnect the device name. There are two device names: disk drives (D: to Z:) and printers (LPT1: to LPT3). If you type an asterisk instead of the specified device name will assign the next available device name. Computernamesharename server and share name of the resource. If the computer name contains space characters, use quotation marks (Computer name can be 1-15 characters in length. volume on the specified NetWare server volumes. To connect to a NetWare server, you must install and run the NetWare client services (Windows NT Workstation) or Gateway Services for NetWare (Windows NT Server). password password to access shared resources. * Prompt, type the password. In the password prompt, type the password, the password will not be displayed. / User Specify the connection of another user. domainname Specifies another domain. For example, net use d: servershare / user: adminmariel connected user mariel, the same as the connection from the admin domain. If you omit the domain, will use the current logon domain. username Specifies the login user name. / Home users to connect to the host directory. / Delete Cancels a specified network connection. If the user specified connection with an asterisk, then cancel all network connections. / Persistent control of the use of a permanent network connection. The default is the last used settings. No device connection is not permanent. yes save all connections established and restored next login. no established connection is not saved and secondary connections, and next time you log in to restore the existing connection. Using the / delete switch key to cancel the permanent connection. Twenty-two, Net User functions: to add or change user accounts or displays user account information. Format: net user [username [password | *] [options]] [/ domain] net user username * / add [options] [/ domain] net user username [/ delete] [/ domain] Parameters: None Type net user with no parameters will look at the list of user accounts on the computer. username to add, delete, change or view the user account name. User account names can have up to 20 characters. assigned password for the user account or change the password. Password must meet the net accounts command / minpwlen option to set the minimum parameters. Up to 14 characters. * Prompted for a password. In the password prompt, type the password, the password will not be displayed. / Domain in the computer's primary domain controller, primary domain to perform operations. This parameter only in the Windows NT Server domain member of the Windows NT Workstation computer is available. By default, Windows NT Server computers perform operations on the primary domain controller. Note: in the computer's primary domain controller, primary domain of the action occurs. It may not log on domain. / Add the user account to the user account database. / Delete to delete from the user account database user account. Options are as follows: / active: no enable or disable user accounts. If you do not activate the user account, the user can not access the computer's resources. The default is yes (enabled). Example: net user guest / active: yes enable the guest user account net user guest / active: no ban guest user account / comment: The comment can have up to 48 characters, words to live by quotes. / Countrycode: nnn use the operating system for the country code and error message for the user help file provides the specified language file. 0 value indicates the default country code. / Expires: never If you set the date, will result in user accounts expire, never does not set time limit user account. Expiration date based on / countrycode value can be the following format: mm / dd / yy, dd / mm / yy, or mmm, dd, yy. Note that when the account expires in the specified date. January can be a number, full name or three letter Jianpin. Can be two or four-digit years, use a comma or a slash (do not use spaces) distinguish between the various parts of the date. If you omit yy, then use the date the arrival of the next year (according to the computer's clock). For example, if the January 10, 1994 to January 8, 1995, type the following between the date of entry, and that they are the same: jan, 91/9/95 january, 9,19951 / 9 / fullname: full name rather than user name. Quotes cited by the name of living. / Homedir: path set user home directory path. The path must exist. / Homedirreq: no Set whether the host directory. / Passwordchg: yes Specifies whether users can change their own password. The default is yes. / Passwordreq: yes Specifies whether the user account password, the default value is yes. / Profilepath: [path] set user login configuration file path. The path name pointing to the registry configuration file. / Scriptpath: path for the user logon script to set path. Path can not be an absolute path; path is relative to the% systemroot% SYSTEM32REPLIMPORTSCRIPTS relative path:. / Times: times specified to allow users to use the computer. times the value is expressed as day [-day] [, day [-day]], time [-time] [, time [-time]], limited to one hour increments. Days can be a full name or abbreviation (M, T, W, Th, F,
air force one shoes, Sa, Su). Hours can be 12 hour or 24 hour clock. Value for 12 hours, the use of AM, PM or AM, PM. all that the user can always log on. Null value means that the user can never log on. The date and time, separated by commas to separate the units time and date with a semicolon (for example, M, 4AM-5PM; T, 1PM-3PM). Specify / times when you do not use spaces. / Usercomment: Quotes to live with the text. / Workstations: computername [,...] list up to eight users can log on to the network of workstations. Comma-separated list of multiple items. If / workstations without a list, or if the list is the asterisk Twenty-three, Net View function: display the field list, computer list or the specified list of computers to share resources. Format: net view [ computername | / domain [: domainname]] net view / network: nw [ computername] Parameters: None, type net view without parameters will display the current list of domain computers. Computername Specifies the computer to see its shared resources. / Domain [: domainname] Specifies the computer to view the available domain. If you omit the domainname, the network is displayed in all domains. / Network: nw Show all available NetWare network server. If the specified computer name is displayed in the NetWare network resources available to the computer. Can also be added to the system specified in this switch to the other network. More Atlas Atlas entry Open Category: Internet, computers, windows